Linking error with MinGW and imgcodecs_300

asked 2015-06-30 07:43:23 -0600

Hi, I am trying to install OpenCV on Windows 7 using MinGW. However, when I run

mingw32-make

I get the following error:

[ 36%] Linking CXX shared library ..\..\bin\libopencv_imgcodecs300.dll
Error running link command: The system cannot find the file specified
modules\imgcodecs\CMakeFiles\opencv_imgcodecs.dir\build.make:513: recipe for tar
get 'bin/libopencv_imgcodecs300.dll' failed
mingw32-make[2]: *** [bin/libopencv_imgcodecs300.dll] Error 2
CMakeFiles\Makefile2:3822: recipe for target 'modules/imgcodecs/CMakeFiles/openc
v_imgcodecs.dir/all' failed
mingw32-make[1]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Err
or 2
Makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

I don't know what the problem might be. I have followed all the steps for the installation. Thank you very much for your help.

Charlotte

edit retag flag offensive close merge delete