cmake:
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- Configuring done
-- Generating done
-- Build files have been written to: /out
make:
Scanning dependencies of target OpenGL
[ 16%] Building CXX object CMakeFiles/OpenGL.dir/main.cpp.o
[ 33%] Building CXX object CMakeFiles/OpenGL.dir/figure.cpp.o
[ 50%] Building CXX object CMakeFiles/OpenGL.dir/ufo.cpp.o
[ 66%] Building CXX object CMakeFiles/OpenGL.dir/rocket.cpp.o
[ 83%] Building CXX object CMakeFiles/OpenGL.dir/car.cpp.o
[100%] Linking CXX executable OpenGL
/usr/bin/x86_64-linux-gnu-ld: cannot find -lopengl32
/usr/bin/x86_64-linux-gnu-ld: cannot find -lfreeglut
/usr/bin/x86_64-linux-gnu-ld: cannot find -lglu32
collect2: error: ld returned 1 exit status
CMakeFiles/OpenGL.dir/build.make:198: recipe for target 'OpenGL' failed
make[2]: *** [OpenGL] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/OpenGL.dir/all' failed
make[1]: *** [CMakeFiles/OpenGL.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2