Undefined reference...

asked 2012-11-07 04:43:23 -0500

herecy gravatar image

updated 2012-11-07 05:33:43 -0500

Hi, I am using openCV 2.4.2 and am trying to run some sample programs using code:blocks as my IDE. I have followed tutorials and strongly believe the linking of the headers is correct ( I used to get errors like "cannot find file..." if I had put an incorrect directory).

Now whenever I try and compile some code it throws out:

"undefined reference to cv::function names here"

I am using the fback.cpp file as a test but all of the codes produce similar errors. Any help would be so appreciated, thanks.

EDIT: I have looked around at sites like here http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(errors)#Q:_My_build_fails_with_multiple_undefined_reference_errors.3F

And now I just get a straight libopencv_core242.dll is missing from your computer.

edit retag flag offensive close merge delete