Hey guys.
I’m VERY new to linux and my first project is to get my kinect to run. What I did:
I cloned the git version of ofxKinect to my addon folder. I opened the workspace with codeblocks and tried to compile. Sadly enough this is not working. I got this error:
||=== ofxKinectExample, Debug ===|
../../ofxOpenCv/src/ofxCvHaarFinder.cpp||In member function void ofxCvHaarFinder::draw(float, float):|
../../ofxOpenCv/src/ofxCvHaarFinder.cpp|141|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]|
../src/ofxKinect.cpp||In member function virtual void ofxKinect::update():|
../src/ofxKinect.cpp|225|warning: unused variable n [-Wunused-variable]|
../src/ofxKinect.cpp||In member function void ofxKinect::updateDepthLookupTable():|
../src/ofxKinect.cpp|496|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]|
../src/ofxKinect.cpp|519|warning: variable curMode set but not used [-Wunused-but-set-variable]|
../libs/libfreenect/cameras.c|749|warning: read_register defined but not used [-Wunused-function]|
/usr/bin/ld: ../../../libs/openFrameworksCompiled/lib/linux64/libopenFrameworksDebug.a(ofTexture.o)||undefined reference to symbol 'gluBuild2DMipmaps'|
||note: 'gluBuild2DMipmaps' is defined in DSO /usr/lib64/libGLU.so.1 so try adding it to the linker command line|
||=== Build finished: 1 errors, 5 warnings ===|
So I change my makefile. I added libGLU.so.1 like this:
USER_LDFLAGS =/usr/lib64/libGLU.so.1
Now the program compiles, but I get no image whatsoever.
Can anybody help me?
BTW: Why won’t the program start from the IDE? Why do I always have to start it manually? What if I want to debug?