Shazzner
October 13th, 2009, 06:08 PM
I'm trying to compile some of the examples from the ARToolkit, unfortunately I run across this error when I make it:
~/ARToolKit/examples/simple$ make
cc -o ../../bin/simpleTest simpleTest.o -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -L/usr/X11R6/lib -L/usr/local/lib -L../../lib -lARgsub -lARvideo -lAR -lpthread -lglut -lGLU -lGL -lXi -lX11 -lm
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make: *** [../../bin/simpleTest] Error 1
This is a new installation of ubuntu so I might not have any of the required packages. I do have freeglut3-dev, but it seems I'm missing an X11 package but I can't seem to find any references to that.
Here's the page on compiling it in linux:
http://www.hitl.washington.edu/artoolkit/documentation/usersetup.htm#comp_linux
~/ARToolKit/examples/simple$ make
cc -o ../../bin/simpleTest simpleTest.o -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -L/usr/X11R6/lib -L/usr/local/lib -L../../lib -lARgsub -lARvideo -lAR -lpthread -lglut -lGLU -lGL -lXi -lX11 -lm
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make: *** [../../bin/simpleTest] Error 1
This is a new installation of ubuntu so I might not have any of the required packages. I do have freeglut3-dev, but it seems I'm missing an X11 package but I can't seem to find any references to that.
Here's the page on compiling it in linux:
http://www.hitl.washington.edu/artoolkit/documentation/usersetup.htm#comp_linux