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.