Ask Your Question

Linker error

asked 2013-01-18 08:51:20 -0500

DSHOW gravatar image

Hi, I'm new about openCV, I'm using DevC++, I download version 2.1 and I followed the steps in the wiki. When I try to compile and execute the samples programs, some of them works very well, but for others i get some errors about "[linker error] undefined reference to cv::.....", i checked the directories and libraries and they seem to be you know anything I could have forgotten?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-01-19 10:49:39 -0500

unxnut gravatar image

It may be better to give some indication of the error. For example, you can copy/paste the first linker error. Since we do not know which function are you using and what libraries have you added, we are unable to help you much.

edit flag offensive delete link more

answered 2013-01-19 02:21:38 -0500

tmanthey gravatar image

OpenCv consists of many libraries. Attached you can see my linker configuration I commonly use. But these are not all libraries available. So depending on what you do, you need to add other opencv libs. image description

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-01-18 08:51:20 -0500

Seen: 266 times

Last updated: Jan 19 '13