Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » cannot find -lopencv_core231(OpenCV problem: cannot find -lopencv_core231)
cannot find -lopencv_core231 [message #773716] Mon, 02 January 2012 11:12
swati padmanabhan is currently offline swati padmanabhanFriend
Messages: 2
Registered: December 2011
Junior Member
Hello,

I am trying to use OpenCV on Eclipse with CDT. Upon building the sample code, this is the error Iget in the console:

****************************

**** Build of configuration Debug for project OpenCV_testing ****

**** Internal Builder is used for build ****
g++ -LC:\OpenCV2.3.1Package\opencv\build\bin -o OpenCV_testing.exe src\opencv_test.o -lopencv_core231 -lopencv_highgui231

c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lopencv_core231

c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lopencv_highgui231

collect2: ld returned 1 exit status

Build error occurred, build is stopped

Time consumed: 218 ms.


******************************
My settings are as follows:

Project> Properties> C/C++ Build> Tool Settings> MinGW C++ Linker> Libraries--- location: C:/OpenCV2.3.1Package/opencv/build/bin
values: opencv_core231
opencv_highgui231


OpenCV2.3.1Package/opencv is the package extracted from the OpenCV website.
OpenCV2.3.1Package/opencv/build is the folder in which Cmake was used to build OpenCV. It contains a folder Debug with several PDD (Program Debug Database) files. However, it seems to be missing something. I honestly cannot figure out what needs to go where.


Any help is much appreciated.

Thank you very much!

[Updated on: Mon, 02 January 2012 11:14]

Report message to a moderator

Previous Topic:Creating a project from existing code
Next Topic:"Cross Settings" Path Referencing Environment Variable
Goto Forum:
  


Current Time: Tue Apr 23 14:00:03 GMT 2024

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

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

Back to the top