Tag Archive for 'PTAM'
When u will compile PTAM, u probably get an error:
In file included from OpenGL.h:20,
from GLWindow2.cc:1:
/usr/local/include/cvd/gl_helpers.h:38:19: error: GL/gl.h: No such file or directory
/usr/local/include/cvd/gl_helpers.h:39:20: error: GL/glu.h: No such file or directory
/usr/local/include/cvd/gl_helpers.h: In function ‘void CVD::glPrintErrors()’:
/usr/local/include/cvd/gl_helpers.h:565: error: ‘gluGetString’ was not declared in this scope
make: *** [GLWindow2.o] Error 1
to fix it, just open /usr/local/include/cvd/gl_helpers.h
and change lines 38 & 39 like this:
38 #include <openGL/gl.h>
39 #include <openGL/glu.h>