Ooblik/Kinect-Mouse — Issue #3: Still having Problems with new version of kinect-mouse
Author: fish77
Created: 2011-12-07 22:31:00+00:00
State: open

Hallo,

even if I use the new Version (01.12.2011) i am still not able to compile the mouse. cmake .. works fine, make gives back this error message

fabian@gertrud:~/kinect_mouse/build$ make
[100%] Building C object CMakeFiles/kmouse.dir/kinect_mouse.c.o
/home/fabian/kinect_mouse/kinect_mouse.c:37:34: error: X11/extensions/XTest.h: Datei oder Verzeichnis nicht gefunden
/home/fabian/kinect_mouse/kinect_mouse.c:41:21: error: GL/glut.h: Datei oder Verzeichnis nicht gefunden
/home/fabian/kinect_mouse/kinect_mouse.c:42:19: error: GL/gl.h: Datei oder Verzeichnis nicht gefunden
/home/fabian/kinect_mouse/kinect_mouse.c:43:20: error: GL/glu.h: Datei oder Verzeichnis nicht gefunden
/home/fabian/kinect_mouse/kinect_mouse.c:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gl_depth_tex’
/home/fabian/kinect_mouse/kinect_mouse.c:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gl_rgb_tex’
/home/fabian/kinect_mouse/kinect_mouse.c: In function ‘DrawGLScene’:
/home/fabian/kinect_mouse/kinect_mouse.c:110: error: ‘GL_COLOR_BUFFER_BIT’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:110: error: (Each undeclared identifier is reported only once
/home/fabian/kinect_mouse/kinect_mouse.c:110: error: for each function it appears in.)
/home/fabian/kinect_mouse/kinect_mouse.c:110: error: ‘GL_DEPTH_BUFFER_BIT’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:113: error: ‘GL_TEXTURE_2D’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:115: error: ‘gl_depth_tex’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:116: error: ‘GL_RGB’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:116: error: ‘GL_UNSIGNED_BYTE’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:121: error: ‘GL_TRIANGLE_FAN’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:129: error: ‘gl_rgb_tex’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c: In function ‘ReSizeGLScene’:
/home/fabian/kinect_mouse/kinect_mouse.c:203: error: ‘GL_PROJECTION’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:206: error: ‘GL_MODELVIEW’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c: In function ‘InitGL’:
/home/fabian/kinect_mouse/kinect_mouse.c:213: error: ‘GL_LESS’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:214: error: ‘GL_DEPTH_TEST’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:215: error: ‘GL_BLEND’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:216: error: ‘GL_SRC_ALPHA’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:216: error: ‘GL_ONE_MINUS_SRC_ALPHA’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:217: error: ‘GL_SMOOTH’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:218: error: ‘gl_depth_tex’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:219: error: ‘GL_TEXTURE_2D’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:220: error: ‘GL_TEXTURE_MIN_FILTER’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:220: error: ‘GL_LINEAR’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:221: error: ‘GL_TEXTURE_MAG_FILTER’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:222: error: ‘gl_rgb_tex’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c: In function ‘gl_threadfunc’:
/home/fabian/kinect_mouse/kinect_mouse.c:235: error: ‘GLUT_RGBA’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:235: error: ‘GLUT_DOUBLE’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:235: error: ‘GLUT_ALPHA’ undeclared (first use in this function)
/home/fabian/kinect_mouse/kinect_mouse.c:235: error: ‘GLUT_DEPTH’ undeclared (first use in this function)
make[2]: *** [CMakeFiles/kmouse.dir/kinect_mouse.c.o] Fehler 1
make[1]: *** [CMakeFiles/kmouse.dir/all] Fehler 2
make: *** [all] Fehler 2
fabian@gertrud:~/kinect_mouse/build$

Any idea what the problem is?