How to fix the following mingw32-make error. [closed]
System information (version)
OpenCV => 3.4.1
Operating System / Platform => Windows 10 64 Bit
Compiler => MinGW 15.4(contains GCC 7.3.0) download link
Detailed description
After using cmake to generate the build files using MinGW makefiles. when i run mingw32-make i get the following error
Scanning dependencies of target opencv_imgcodecs_pch_dephelp
[ 42%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs_pch_dephelp.dir/opencv_imgcodecs_pch_dephelp.cxx.obj
[ 42%] Linking CXX static library ..\..\lib\libopencv_imgcodecs_pch_dephelp.a
[ 42%] Built target opencv_imgcodecs_pch_dephelp
Scanning dependencies of target pch_Generate_opencv_imgcodecs
[ 42%] Generating precomp.hpp
[ 42%] Generating precomp.hpp.gch/opencv_imgcodecs_Release.gch
[ 42%] Built target pch_Generate_opencv_imgcodecs
Scanning dependencies of target opencv_imgcodecs
[ 42%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.obj
mingw32-make[2]: *** [modules\imgcodecs\CMakeFiles\opencv_imgcodecs.dir\build.make:63: modules/imgcodecs/CMakeFiles/opencv_imgc
odecs.dir/src/loadsave.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:4418: modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Error 2
mingw32-make: *** [Makefile:162: all] Error 2
and windows gives this error messagge cc1plus.exe has stopped working.
How to fix this error??
you don't show the acual error(s), which must be a few lines above from there.
please look it up, and edit your question again, thank you !
hi, i added the lines above.
sorry, but you'll have to try again. (still no error visible)
what do you mean by no error visible? are you implying that the error has nothing to do with the opencv files, and that the problem lies with the mingw files??? because that's what was displayed, and cc1plus.exe crashes.
no, you did not scoll far enough up. there must be something there.
i did scroll far up, there wasn't any errors. i think its probably something to do with the mingw distro that i downloaded from here, anyways i downloaded this version: mingw-x64, and so far no errors. thanks.
in that case, kindly close your issue here , too.