tomas@tomas-VirtualBox:~/workspace/FreeGLUT/freeglut/freeglut$ cmake . -- The C compiler identification is GNU 4.8.2 -- The CXX compiler identification is GNU 4.8.2 -- 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 -- 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 -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/i386-linux-gnu/libX11.so -- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so -- Looking for include file /usr/include/X11/extensions/XInput2.h -- Looking for include file /usr/include/X11/extensions/XInput2.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file stdbool.h -- Looking for include file stdbool.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file errno.h -- Looking for include file errno.h - found -- Looking for include file usbhid.h -- Looking for include file usbhid.h - not found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for vfprintf -- Looking for vfprintf - found -- Looking for _doprnt -- Looking for _doprnt - not found -- Looking for XParseGeometry -- Looking for XParseGeometry - not found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Configuring done -- Generating done -- Build files have been written to: /home/tomas/workspace/FreeGLUT/freeglut/freeglut tomas@tomas-VirtualBox:~/workspace/FreeGLUT/freeglut/freeglut$ make Scanning dependencies of target freeglut [ 1%] Building C object CMakeFiles/freeglut.dir/src/fg_callbacks.c.o [ 2%] Building C object CMakeFiles/freeglut.dir/src/fg_cursor.c.o [ 3%] Building C object CMakeFiles/freeglut.dir/src/fg_display.c.o [ 4%] Building C object CMakeFiles/freeglut.dir/src/fg_ext.c.o [ 5%] Building C object CMakeFiles/freeglut.dir/src/fg_font_data.c.o [ 6%] Building C object CMakeFiles/freeglut.dir/src/fg_gamemode.c.o [ 6%] Building C object CMakeFiles/freeglut.dir/src/fg_geometry.c.o [ 7%] Building C object CMakeFiles/freeglut.dir/src/fg_gl2.c.o [ 8%] Building C object CMakeFiles/freeglut.dir/src/fg_init.c.o [ 9%] Building C object CMakeFiles/freeglut.dir/src/fg_input_devices.c.o [ 10%] Building C object CMakeFiles/freeglut.dir/src/fg_joystick.c.o [ 11%] Building C object CMakeFiles/freeglut.dir/src/fg_main.c.o [ 12%] Building C object CMakeFiles/freeglut.dir/src/fg_misc.c.o [ 13%] Building C object CMakeFiles/freeglut.dir/src/fg_overlay.c.o [ 14%] Building C object CMakeFiles/freeglut.dir/src/fg_spaceball.c.o [ 15%] Building C object CMakeFiles/freeglut.dir/src/fg_state.c.o [ 15%] Building C object CMakeFiles/freeglut.dir/src/fg_stroke_mono_roman.c.o [ 16%] Building C object CMakeFiles/freeglut.dir/src/fg_stroke_roman.c.o [ 17%] Building C object CMakeFiles/freeglut.dir/src/fg_structure.c.o [ 18%] Building C object CMakeFiles/freeglut.dir/src/fg_teapot.c.o [ 19%] Building C object CMakeFiles/freeglut.dir/src/fg_videoresize.c.o [ 20%] Building C object CMakeFiles/freeglut.dir/src/fg_window.c.o [ 21%] Building C object CMakeFiles/freeglut.dir/src/fg_font.c.o [ 22%] Building C object CMakeFiles/freeglut.dir/src/fg_menu.c.o [ 23%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_cursor_x11.c.o [ 23%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_ext_x11.c.o [ 24%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_gamemode_x11.c.o [ 25%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_glutfont_definitions_x11.c.o [ 26%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_init_x11.c.o [ 27%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_input_devices_x11.c.o [ 28%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_joystick_x11.c.o [ 29%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_main_x11.c.o [ 30%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_menu_x11.c.o [ 31%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_spaceball_x11.c.o [ 31%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_state_x11.c.o [ 32%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_structure_x11.c.o [ 33%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_window_x11.c.o /home/tomas/workspace/FreeGLUT/freeglut/freeglut/src/x11/fg_window_x11.c: In function ‘fgPlatformOpenWindow’: /home/tomas/workspace/FreeGLUT/freeglut/freeglut/src/x11/fg_window_x11.c:365:9: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%i\n",hints.decorations); ^ [ 34%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_xinput_x11.c.o [ 35%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_display_x11_glx.c.o [ 36%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_state_x11_glx.c.o [ 37%] Building C object CMakeFiles/freeglut.dir/src/x11/fg_window_x11_glx.c.o [ 38%] Building C object CMakeFiles/freeglut.dir/src/util/xparsegeometry_repl.c.o Linking C shared library lib/libglut.so [ 38%] Built target freeglut Scanning dependencies of target CallbackMaker [ 38%] Building C object CMakeFiles/CallbackMaker.dir/progs/demos/CallbackMaker/CallbackMaker.c.o /home/tomas/workspace/FreeGLUT/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c: In function ‘main’: /home/tomas/workspace/FreeGLUT/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c:625:7: warning: variable ‘menuID’ set but not used [-Wunused-but-set-variable] int menuID, subMenuA, subMenuB; ^ Linking C executable bin/CallbackMaker [ 38%] Built target CallbackMaker Scanning dependencies of target freeglut_static [ 39%] Building C object CMakeFiles/freeglut_static.dir/src/fg_callbacks.c.o [ 40%] Building C object CMakeFiles/freeglut_static.dir/src/fg_cursor.c.o [ 40%] Building C object CMakeFiles/freeglut_static.dir/src/fg_display.c.o [ 41%] Building C object CMakeFiles/freeglut_static.dir/src/fg_ext.c.o [ 42%] Building C object CMakeFiles/freeglut_static.dir/src/fg_font_data.c.o [ 43%] Building C object CMakeFiles/freeglut_static.dir/src/fg_gamemode.c.o [ 44%] Building C object CMakeFiles/freeglut_static.dir/src/fg_geometry.c.o [ 45%] Building C object CMakeFiles/freeglut_static.dir/src/fg_gl2.c.o [ 46%] Building C object CMakeFiles/freeglut_static.dir/src/fg_init.c.o [ 47%] Building C object CMakeFiles/freeglut_static.dir/src/fg_input_devices.c.o [ 48%] Building C object CMakeFiles/freeglut_static.dir/src/fg_joystick.c.o [ 48%] Building C object CMakeFiles/freeglut_static.dir/src/fg_main.c.o [ 49%] Building C object CMakeFiles/freeglut_static.dir/src/fg_misc.c.o [ 50%] Building C object CMakeFiles/freeglut_static.dir/src/fg_overlay.c.o [ 51%] Building C object CMakeFiles/freeglut_static.dir/src/fg_spaceball.c.o [ 52%] Building C object CMakeFiles/freeglut_static.dir/src/fg_state.c.o [ 53%] Building C object CMakeFiles/freeglut_static.dir/src/fg_stroke_mono_roman.c.o [ 54%] Building C object CMakeFiles/freeglut_static.dir/src/fg_stroke_roman.c.o [ 55%] Building C object CMakeFiles/freeglut_static.dir/src/fg_structure.c.o [ 56%] Building C object CMakeFiles/freeglut_static.dir/src/fg_teapot.c.o [ 56%] Building C object CMakeFiles/freeglut_static.dir/src/fg_videoresize.c.o [ 57%] Building C object CMakeFiles/freeglut_static.dir/src/fg_window.c.o [ 58%] Building C object CMakeFiles/freeglut_static.dir/src/fg_font.c.o [ 59%] Building C object CMakeFiles/freeglut_static.dir/src/fg_menu.c.o [ 60%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_cursor_x11.c.o [ 61%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_ext_x11.c.o [ 62%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_gamemode_x11.c.o [ 63%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_glutfont_definitions_x11.c.o [ 64%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_init_x11.c.o [ 65%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_input_devices_x11.c.o [ 65%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_joystick_x11.c.o [ 66%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_main_x11.c.o [ 67%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_menu_x11.c.o [ 68%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_spaceball_x11.c.o [ 69%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_state_x11.c.o [ 70%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_structure_x11.c.o [ 71%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_window_x11.c.o /home/tomas/workspace/FreeGLUT/freeglut/freeglut/src/x11/fg_window_x11.c: In function ‘fgPlatformOpenWindow’: /home/tomas/workspace/FreeGLUT/freeglut/freeglut/src/x11/fg_window_x11.c:365:9: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%i\n",hints.decorations); ^ [ 72%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_xinput_x11.c.o [ 73%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_display_x11_glx.c.o [ 73%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_state_x11_glx.c.o [ 74%] Building C object CMakeFiles/freeglut_static.dir/src/x11/fg_window_x11_glx.c.o [ 75%] Building C object CMakeFiles/freeglut_static.dir/src/util/xparsegeometry_repl.c.o Linking C static library lib/libglut.a [ 75%] Built target freeglut_static Scanning dependencies of target CallbackMaker_static [ 76%] Building C object CMakeFiles/CallbackMaker_static.dir/progs/demos/CallbackMaker/CallbackMaker.c.o /home/tomas/workspace/FreeGLUT/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c: In function ‘main’: /home/tomas/workspace/FreeGLUT/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c:625:7: warning: variable ‘menuID’ set but not used [-Wunused-but-set-variable] int menuID, subMenuA, subMenuB; ^ Linking C executable bin/CallbackMaker_static [ 76%] Built target CallbackMaker_static Scanning dependencies of target Fractals [ 77%] Building C object CMakeFiles/Fractals.dir/progs/demos/Fractals/fractals.c.o Linking C executable bin/Fractals [ 77%] Built target Fractals Scanning dependencies of target Fractals_random [ 78%] Building C object CMakeFiles/Fractals_random.dir/progs/demos/Fractals_random/fractals_random.c.o Linking C executable bin/Fractals_random [ 78%] Built target Fractals_random Scanning dependencies of target Fractals_random_static [ 79%] Building C object CMakeFiles/Fractals_random_static.dir/progs/demos/Fractals_random/fractals_random.c.o Linking C executable bin/Fractals_random_static [ 79%] Built target Fractals_random_static Scanning dependencies of target Fractals_static [ 80%] Building C object CMakeFiles/Fractals_static.dir/progs/demos/Fractals/fractals.c.o Linking C executable bin/Fractals_static [ 80%] Built target Fractals_static Scanning dependencies of target Lorenz [ 81%] Building C object CMakeFiles/Lorenz.dir/progs/demos/Lorenz/lorenz.c.o Linking C executable bin/Lorenz [ 81%] Built target Lorenz Scanning dependencies of target Lorenz_static [ 82%] Building C object CMakeFiles/Lorenz_static.dir/progs/demos/Lorenz/lorenz.c.o Linking C executable bin/Lorenz_static [ 82%] Built target Lorenz_static Scanning dependencies of target One [ 83%] Building C object CMakeFiles/One.dir/progs/demos/One/one.c.o Linking C executable bin/One [ 83%] Built target One Scanning dependencies of target One_static [ 83%] Building C object CMakeFiles/One_static.dir/progs/demos/One/one.c.o Linking C executable bin/One_static [ 83%] Built target One_static Scanning dependencies of target Resizer [ 84%] Building CXX object CMakeFiles/Resizer.dir/progs/demos/Resizer/Resizer.cpp.o Linking CXX executable bin/Resizer [ 84%] Built target Resizer Scanning dependencies of target Resizer_static [ 85%] Building CXX object CMakeFiles/Resizer_static.dir/progs/demos/Resizer/Resizer.cpp.o Linking CXX executable bin/Resizer_static [ 85%] Built target Resizer_static Scanning dependencies of target multi-touch [ 86%] Building C object CMakeFiles/multi-touch.dir/progs/demos/multi-touch/multi-touch.c.o Linking C executable bin/multi-touch [ 86%] Built target multi-touch Scanning dependencies of target multi-touch_static [ 87%] Building C object CMakeFiles/multi-touch_static.dir/progs/demos/multi-touch/multi-touch.c.o Linking C executable bin/multi-touch_static [ 87%] Built target multi-touch_static Scanning dependencies of target shapes [ 88%] Building C object CMakeFiles/shapes.dir/progs/demos/shapes/shapes.c.o [ 89%] Building C object CMakeFiles/shapes.dir/progs/demos/shapes/glmatrix.c.o Linking C executable bin/shapes [ 89%] Built target shapes Scanning dependencies of target shapes_static [ 90%] Building C object CMakeFiles/shapes_static.dir/progs/demos/shapes/shapes.c.o [ 91%] Building C object CMakeFiles/shapes_static.dir/progs/demos/shapes/glmatrix.c.o Linking C executable bin/shapes_static [ 91%] Built target shapes_static Scanning dependencies of target smooth_opengl3 [ 91%] Building C object CMakeFiles/smooth_opengl3.dir/progs/demos/smooth_opengl3/smooth_opengl3.c.o Linking C executable bin/smooth_opengl3 [ 91%] Built target smooth_opengl3 Scanning dependencies of target smooth_opengl3_static [ 92%] Building C object CMakeFiles/smooth_opengl3_static.dir/progs/demos/smooth_opengl3/smooth_opengl3.c.o Linking C executable bin/smooth_opengl3_static [ 92%] Built target smooth_opengl3_static Scanning dependencies of target spaceball [ 93%] Building C object CMakeFiles/spaceball.dir/progs/demos/spaceball/spaceball.c.o [ 94%] Building C object CMakeFiles/spaceball.dir/progs/demos/spaceball/vmath.c.o Linking C executable bin/spaceball [ 94%] Built target spaceball Scanning dependencies of target spaceball_static [ 95%] Building C object CMakeFiles/spaceball_static.dir/progs/demos/spaceball/spaceball.c.o [ 96%] Building C object CMakeFiles/spaceball_static.dir/progs/demos/spaceball/vmath.c.o Linking C executable bin/spaceball_static [ 96%] Built target spaceball_static Scanning dependencies of target subwin [ 97%] Building C object CMakeFiles/subwin.dir/progs/demos/subwin/subwin.c.o Linking C executable bin/subwin [ 97%] Built target subwin Scanning dependencies of target subwin_static [ 98%] Building C object CMakeFiles/subwin_static.dir/progs/demos/subwin/subwin.c.o Linking C executable bin/subwin_static [ 98%] Built target subwin_static Scanning dependencies of target timer [ 99%] Building C object CMakeFiles/timer.dir/progs/demos/timer/timer.c.o Linking C executable bin/timer [ 99%] Built target timer Scanning dependencies of target timer_static [100%] Building C object CMakeFiles/timer_static.dir/progs/demos/timer/timer.c.o Linking C executable bin/timer_static [100%] Built target timer_static tomas@tomas-VirtualBox:~/workspace/FreeGLUT/freeglut/freeglut$ sudo make install [sudo] password for tomas: [ 38%] Built target freeglut [ 38%] Built target CallbackMaker [ 75%] Built target freeglut_static [ 76%] Built target CallbackMaker_static [ 77%] Built target Fractals [ 78%] Built target Fractals_random [ 79%] Built target Fractals_random_static [ 80%] Built target Fractals_static [ 81%] Built target Lorenz [ 82%] Built target Lorenz_static [ 83%] Built target One [ 83%] Built target One_static [ 84%] Built target Resizer [ 85%] Built target Resizer_static [ 86%] Built target multi-touch [ 87%] Built target multi-touch_static [ 89%] Built target shapes [ 91%] Built target shapes_static [ 91%] Built target smooth_opengl3 [ 92%] Built target smooth_opengl3_static [ 94%] Built target spaceball [ 96%] Built target spaceball_static [ 97%] Built target subwin [ 98%] Built target subwin_static [ 99%] Built target timer [100%] Built target timer_static Install the project... -- Install configuration: "" -- Installing: /usr/local/lib/libglut.so.3.9.0 -- Up-to-date: /usr/local/lib/libglut.so.3 -- Up-to-date: /usr/local/lib/libglut.so -- Installing: /usr/local/lib/libglut.a -- Installing: /usr/local/include/GL/freeglut.h -- Installing: /usr/local/include/GL/freeglut_ext.h -- Installing: /usr/local/include/GL/freeglut_std.h -- Installing: /usr/local/include/GL/glut.h -- Installing: /usr/local/share/pkgconfig/freeglut.pc tomas@tomas-VirtualBox:~/workspace/FreeGLUT/freeglut/freeglut$