Ask Your Question

herecy's profile - activity

2012-11-10 10:02:59 -0600 asked a question Missing dll

Hi I am trying, desperately to setup opencv using codeblocks. I have followed a simple guide posted on the opencv website on how to install it[1], but I am getting the following error "The program can't start because XYZ.dll is missing from your computer"

I believe the cause is because codeblocks cant see the dll (not linked properly) but I am sure I have done everything on my end to specify it:

  • Under search directories Compiler -> C:\opencv\build\include Linker -> C:\opencv\build\x86\mingw\bin
  • Under linker settings Link libraries -> manually added every dll and dll.a file located in the \mingw folder

The guide states no more needs to be added. Am I missing something?

Thanks for the help!

[1] http://opencv.willowgarage.com/wiki/CodeBlocks

2012-11-07 05:33:43 -0600 received badge  Editor (source)
2012-11-07 04:43:23 -0600 asked a question Undefined reference...

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.