I've searched for errors similar to min but I have not found any while searching so no I'm asking for help.
First when running make there is an error
I fixed this by altering the #include in freeglut.h
Then after that I ran into this issue for which I can see no way to fix:
I think I may be missing some sort of opengl library or something but I'm not sure. Any help with this would be appreciated.
First when running make there is an error
Code:
In file included from /home/matilic/Documents/Box2D_v2.1.2/Box2D/freeglut/./GL/freeglut.h:17:0,
from /home/matilic/Documents/Box2D_v2.1.2/Box2D/freeglut/freeglut_callbacks.c:28:
/home/matilic/Documents/Box2D_v2.1.2/Box2D/freeglut/./GL/freeglut_std.h:121:20: fatal error: GL/glu.h: No such file or directory
compilation terminated.
make[2]: *** [freeglut/CMakeFiles/freeglut_static.dir/freeglut_callbacks.o] Error 1
make[1]: *** [freeglut/CMakeFiles/freeglut_static.dir/all] Error 2
make: *** [all] Error 2
from /home/matilic/Documents/Box2D_v2.1.2/Box2D/freeglut/freeglut_callbacks.c:28:
/home/matilic/Documents/Box2D_v2.1.2/Box2D/freeglut/./GL/freeglut_std.h:121:20: fatal error: GL/glu.h: No such file or directory
compilation terminated.
make[2]: *** [freeglut/CMakeFiles/freeglut_static.dir/freeglut_callbacks.o] Error 1
make[1]: *** [freeglut/CMakeFiles/freeglut_static.dir/all] Error 2
make: *** [all] Error 2
I fixed this by altering the #include in freeglut.h
Then after that I ran into this issue for which I can see no way to fix:
Code:
In file included from /home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/glui_add_controls.cpp:35:0:
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h:2441:5: error: ‘GLUquadricObj’ does not name a type
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h:2498:5: error: ‘GLUquadricObj’ does not name a type
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h: In member function ‘void GLUI_Translation::common_init()’:
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h:2556:9: error: ‘quadObj’ was not declared in this scope
make[2]: *** [glui/CMakeFiles/glui.dir/glui_add_controls.o] Error 1
make[1]: *** [glui/CMakeFiles/glui.dir/all] Error 2
make: *** [all] Error 2
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h:2441:5: error: ‘GLUquadricObj’ does not name a type
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h:2498:5: error: ‘GLUquadricObj’ does not name a type
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h: In member function ‘void GLUI_Translation::common_init()’:
/home/matilic/Documents/Box2D_v2.1.2/Box2D/glui/GL/glui.h:2556:9: error: ‘quadObj’ was not declared in this scope
make[2]: *** [glui/CMakeFiles/glui.dir/glui_add_controls.o] Error 1
make[1]: *** [glui/CMakeFiles/glui.dir/all] Error 2
make: *** [all] Error 2
I think I may be missing some sort of opengl library or something but I'm not sure. Any help with this would be appreciated.