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>
Nice quick fix! Thanks a ton for sharing!
Did you get it running on Snow Leopard as well?
Compiled it successfully but trying to run I get this:
Parsing calibrator_settings.cfg ….
> X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 1 (X_CreateWindow)
Value in failed request: 0×0
Serial number of failed request: 20
Current serial number in output stream: 23
Any idea?
The size of the imageref returned in VideoSource_OSX is probably 0,0.
I have it compiled and running but the display is crazy. It appears to see the grid and overlays that on the video feed but it looks like its drawing out a random video memory location. I get random chunks of icons, etc in two frames that are constantly swapped back and forth. I have no idea whats going on, especially since the b&w image its supposed to be drawing is in color.
Sorry right now I can not give you any help or hints, because I experimenting with PTAM very long time ago, and forget most of things.
Probably better way is to ask PTAM developers about your problems directly.