Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316310 - Eclipse+Windows+C/CPP+OpenCV+MINGW+GCC compiler problem cannot find -lC:\OpenCV2.0\include\opencv
Summary: Eclipse+Windows+C/CPP+OpenCV+MINGW+GCC compiler problem cannot find -lC:\Open...
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 10:43 EDT by mc CLA
Modified: 2010-06-09 12:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mc CLA 2010-06-09 10:43:13 EDT
Build Identifier: 20100218-1602

Hi,
I am trying to setup Open CV on my Eclipse C/C++ dev environment using MinGW, G++ compiler. I am trying to run a simple program based on the tutorial posted her in the link http://tommy.chheng.com/development/windows_development_setup.html 

The error is saying some thing like below on console.

g++ -omcc.exe mc.o -l C:\OpenCV2.0\include\opencv\cv.h
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lC:\OpenCV2.0\include\opencv

I have tried many linker path setting changes and it says the same for all the include -l files. 
Please help. Thanks in advance.

Reproducible: Always

Steps to Reproduce:
1.Setup C++ project with Opencv libraries and MINGW tool chain
2.Create a program using OpenCv as shown in the given link
3.Build the code
Comment 1 Andrew Gvozdev CLA 2010-06-09 12:51:32 EDT
You have a better chance of troubleshooting asking user forum http://www.eclipse.org/forums/index.php?t=thread&frm_id=80
This place is used to keep track of bugs in CDT tooling.