Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » [HELP] how to Configure ARToolkit in eclipse on ubuntu 12.04(configure ARToolkit in eclipse)
icon4.gif  [HELP] how to Configure ARToolkit in eclipse on ubuntu 12.04 [message #1053362] Sat, 04 May 2013 13:24 Go to next message
Mohamad Nour El Din is currently offline Mohamad Nour El Din
Messages: 1
Registered: May 2013
Junior Member
Hello;

I have been trying to run a code that performs basic augmented reality based on ARToolkit, and although the code was compiled on terminal it gives errors

Quote:
Invoking: GCC C Linker
gcc -L/usr/local/lib -o"TryAR" ./main.o -lglut -lGLU
./main.o: In function `main':
/home/user/TryAR/Debug/../main.c:51: undefined reference to `arVideoCapStart'
/home/user/TryAR/Debug/../main.c:52: undefined reference to `argMainLoop'
./main.o: In function `keyEvent':
/home/user/TryAR/Debug/../main.c:60: undefined reference to `arUtilTimer'
./main.o: In function `mainLoop':
/home/user/TryAR/Debug/../main.c:75: undefined reference to `arVideoGetImage'
/home/user/TryAR/Debug/../main.c:76: undefined reference to `arUtilSleep'
/home/user/TryAR/Debug/../main.c:79: undefined reference to `arUtilTimerReset'
/home/user/TryAR/Debug/../main.c:82: undefined reference to `argDrawMode2D'
/home/user/TryAR/Debug/../main.c:83: undefined reference to `argDispImage'
/home/user/TryAR/Debug/../main.c:86: undefined reference to `arDetectMarker'
/home/user/TryAR/Debug/../main.c:91: undefined reference to `arVideoCapNext'
/home/user/TryAR/Debug/../main.c:102: undefined reference to `argSwapBuffers'
/home/user/TryAR/Debug/../main.c:107: undefined reference to `arGetTransMat'
/home/user/TryAR/Debug/../main.c:111: undefined reference to `argSwapBuffers'
./main.o: In function `init':
/home/user/TryAR/Debug/../main.c:119: undefined reference to `arVideoOpen'
/home/user/TryAR/Debug/../main.c:121: undefined reference to `arVideoInqSize'
/home/user/TryAR/Debug/../main.c:125: undefined reference to `arParamLoad'
/home/user/TryAR/Debug/../main.c:129: undefined reference to `arParamChangeSize'
/home/user/TryAR/Debug/../main.c:130: undefined reference to `arInitCparam'
/home/user/TryAR/Debug/../main.c:132: undefined reference to `arParamDisp'
/home/user/TryAR/Debug/../main.c:134: undefined reference to `arLoadPatt'
/home/user/TryAR/Debug/../main.c:140: undefined reference to `argInit'
./main.o: In function `cleanup':
/home/user/TryAR/Debug/../main.c:146: undefined reference to `arVideoCapStop'
/home/user/TryAR/Debug/../main.c:147: undefined reference to `arVideoClose'
/home/user/TryAR/Debug/../main.c:148: undefined reference to `argCleanup'
./main.o: In function `draw':
/home/user/TryAR/Debug/../main.c:161: undefined reference to `argDrawMode3D'
/home/user/TryAR/Debug/../main.c:162: undefined reference to `argDraw3dCamera'
/home/user/TryAR/Debug/../main.c:169: undefined reference to `argConvGlpara'
collect2: ld returned 1 exit status
make: *** [TryAR] Error 1

This code can be found in the simlpeTest.c in the source code.

Re: [HELP] how to Configure ARToolkit in eclipse on ubuntu 12.04 [message #1053653 is a reply to message #1053362] Tue, 07 May 2013 07:33 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2277
Registered: July 2009
Senior Member
This is a forum for Eclipse. You should probably find one specific to the ARToolkit, or compiling with it on Ubuntu, if you're going to indicate issues with compiling against it on the command line. If you are seeing problems working with the C/C++ Development Tools in Eclipse, then you might want to try http://eclipse.org/forums/eclipse.tools.cdt .

---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:ANIL TULSYAN
Next Topic:*SOLVED* Yellow confirmation box on ALL shortcuts
Goto Forum:
  


Current Time: Tue Sep 23 14:31:08 GMT 2014

Powered by FUDForum. Page generated in 0.03280 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software