i have installed ehci 0.6 on my linux ubuntu, 11.04.
I copied the source code of ehci.cpp and ehci.h and placed it in my code
folder. I get the following errors.
/tmp/ccvmS1gO.o: In function `DrawHead(unsigned int)':
SceneDrawer.cpp:(.text+0x15d2): undefined reference to `g_ImageGenerator'
/tmp/ccLok2ua.o: In function `keyframeRelated()':
HeadTracker.cpp:(.text+0x73): undefined reference to `isEhciTextureCreated()'
HeadTracker.cpp:(.text+0x11a): undefined reference to `getEhciGlTexture()'
/tmp/ccLok2ua.o: In function `drawHeadModel(_IplImage*, float, XnVector3D)':
HeadTracker.cpp:(.text+0x47d): undefined reference to
`setGeneratedImage(_IplImage*)'
HeadTracker.cpp:(.text+0x489): undefined reference to `getGeneratedImage()'
HeadTracker.cpp:(.text+0x4ab): undefined reference to `ehciLoop'
HeadTracker.cpp:(.text+0x4c8): undefined reference to `ehciLoop'
HeadTracker.cpp:(.text+0x4f8): undefined reference to `getGlPositMatrix'
collect2: ld returned 1 exit status
The command Im using to compile is
g++ main.cpp -I/usr/include/nite -I/usr/include/ni -I/usr/local/include
-lOpenNI -lGL -lGLU -lglut -lehci `pkg-config --libs --cflags opencv`
`pkg-config --libs --cflags ehci` -lEGL SceneDrawer.cpp HeadTracker.cpp
opengles.cpp -o abc
Do i need to place them in some specific folder? do I need to link any other
library..
Please help me out!! I am new to Linux and Im struggling!!
Original issue reported on code.google.com by charand...@gmail.com on 12 Jul 2011 at 10:39
Original issue reported on code.google.com by
charand...@gmail.com
on 12 Jul 2011 at 10:39