Ask Your Question
0

Linker error

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

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 ok....do you know anything I could have forgotten?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

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

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
0

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

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

Question Tools

Stats

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

Seen: 570 times

Last updated: Jan 19 '13