Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » CDT » OpenCV link problem. Eclipse Juno (collect2: ld returned 1 exit status)
OpenCV link problem. Eclipse Juno [message #961907] Sun, 28 October 2012 14:00 Go to previous message
Felipe Garcia is currently offline Felipe Garcia
Messages: 4
Registered: October 2012
Junior Member
Hi,

I can't configure Eclipse properly with OpenCV. Thus I have this problem when linking:

18:57:23 **** Incremental Build of configuration Build (GNU) for project hello01 ****
make all
Making all in src
make[1]: Entering directory `/home/lipiss/workspace/hello01/src'
g++ -g -O2 -o a.out hello01.o
hello01.o: In function `main':
/home/lipiss/workspace/hello01/src/hello01.cpp:55: undefined reference to `cvLoadImage'
make[1]: Leaving directory `/home/lipiss/workspace/hello01/src'
/home/lipiss/workspace/hello01/src/hello01.cpp:65: undefined reference to `cvNamedWindow'
/home/lipiss/workspace/hello01/src/hello01.cpp:68: undefined reference to `cvShowImage'
/home/lipiss/workspace/hello01/src/hello01.cpp:71: undefined reference to `cvWaitKey'
/home/lipiss/workspace/hello01/src/hello01.cpp:74: undefined reference to `cvDestroyWindow'
/home/lipiss/workspace/hello01/src/hello01.cpp:75: undefined reference to `cvReleaseImage'
collect2: ld returned 1 exit status
make[1]: *** [a.out] Error 1
make: *** [all-recursive] Error 1


Can someone tell me the configuration to resolve this linking issue please?

Thank you in advance

Felipe
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Formatter and command line
Next Topic:StringIndexOutOfBoundsException when running project
Goto Forum:
  


Current Time: Sat May 18 05:31:55 EDT 2013

Powered by FUDForum. Page generated in 0.01797 seconds