Under linux (debian) the build command fails with the current log:
1 │ -- The C compiler identification is GNU 7.4.0
2 │ -- The CXX compiler identification is GNU 7.4.0
3 │ -- Check for working C compiler: /usr/bin/cc
4 │ -- Check for working C compiler: /usr/bin/cc -- works
5 │ -- Detecting C compiler ABI info
6 │ -- Detecting C compiler ABI info - done
7 │ -- Detecting C compile features
8 │ -- Detecting C compile features - done
9 │ -- Check for working CXX compiler: /usr/bin/c++
10 │ -- Check for working CXX compiler: /usr/bin/c++ -- works
11 │ -- Detecting CXX compiler ABI info
12 │ -- Detecting CXX compiler ABI info - done
13 │ -- Detecting CXX compile features
14 │ -- Detecting CXX compile features - done
15 │ -- Looking for pthread.h
16 │ -- Looking for pthread.h - found
17 │ -- Looking for pthread_create
18 │ -- Looking for pthread_create - not found
19 │ -- Looking for pthread_create in pthreads
20 │ -- Looking for pthread_create in pthreads - not found
21 │ -- Looking for pthread_create in pthread
22 │ -- Looking for pthread_create in pthread - found
23 │ -- Found Threads: TRUE
24 │ -- Found SFML .. in /usr/include
25 │ -- Configuring done
26 │ -- Generating done
27 │ -- Build files have been written to: /home/miguel/design-patterns-explained/strategy/bin/debug
28 │ Scanning dependencies of target fake-paint
29 │ [ 10%] Building CXX object CMakeFiles/fake-paint.dir/src/button.cpp.o
30 │ [ 20%] Building CXX object CMakeFiles/fake-paint.dir/src/canvas.cpp.o
31 │ [ 30%] Building CXX object CMakeFiles/fake-paint.dir/src/main.cpp.o
32 │ [ 40%] Building CXX object CMakeFiles/fake-paint.dir/src/tool_strategy/fill_bucket_tool_strategy.cpp.o
33 │ [ 50%] Building CXX object CMakeFiles/fake-paint.dir/src/tool_strategy/line_tool_strategy.cpp.o
34 │ [ 60%] Building CXX object CMakeFiles/fake-paint.dir/src/tool_strategy/paint_brush_strategy.cpp.o
35 │ [ 70%] Building CXX object CMakeFiles/fake-paint.dir/src/tool_strategy/pencil_tool_strategy.cpp.o
36 │ [ 80%] Building CXX object CMakeFiles/fake-paint.dir/src/tool_strategy/spray_can_strategy.cpp.o
37 │ [ 90%] Building CXX object CMakeFiles/fake-paint.dir/src/tool_strategy/square_tool_strategy.cpp.o
38 │ [100%] Linking CXX executable fake-paint
39 │ CMakeFiles/fake-paint.dir/build.make:307: recipe for target 'fake-paint' failed
40 │ CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/fake-paint.dir/all' failed
41 │ Makefile:83: recipe for target 'all' failed
42 │ Built target in bin/debug/
Would be great if I could get some help in compiling this as I wanted to play around with it.
Not sure what other info I can provide that would be useful.
Under linux (debian) the build command fails with the current log:
Would be great if I could get some help in compiling this as I wanted to play around with it.
Not sure what other info I can provide that would be useful.