Ask Your Question

NewOpenCVuser's profile - activity

2013-04-25 07:32:28 -0600 commented answer Missing libopencv_core242.dll when trying to run project

Do you know what the execution parameters should be?

2013-04-25 05:14:23 -0600 commented answer Missing libopencv_core242.dll when trying to run project

I tried everything but I'm still getting the error. If I run the .exe directly it works though.

2013-04-25 04:43:20 -0600 received badge  Editor (source)
2013-04-25 04:38:46 -0600 asked a question Missing libopencv_core242.dll when trying to run project

Hi, I have just started using Opencv recently and I keep on getting an error when trying to run my project.

The program can't start because libopencv_core242.dll is missing from your computer

I'm using OpenCV 2.4.5 with Code::blocks 12.11 on a Windows 7 64bit PC.

I installed OpenCV to the C: drive.

I have added the "C:\opencv\build\x86\mingw\bin" directory to my system path, added the "C:\opencv\build\include" directory to the search directories in the compiler settings and added all the .a libraries in the "C:\opencv\build\x86\mingw\lib" directory to the linker settings in the compiler settings.

I'm using the GNU GCC compiler. I have checked that the libopencv_core242.dll file is in fact in the "C:\opencv\build\x86\mingw\bin" directory. Am I missing something?

Any help would be greatly appreciated.