Ask Your Question
0

OpenCV 3.3 build failed

asked 2017-10-05 05:34:27 -0600

pranan gravatar image

updated 2017-10-05 09:20:15 -0600

berak gravatar image

I am building OpenCV 3.3 for windows 10 platform with MinGW and CodeBlocks. After 32% the build fails. It throws the following error message. Request for help. Thanks in advance

C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lRunTmChk collect2.exe: error: ld returned 1 exit status mingw32-make.exe[2]: * [bin/libopencv_core330.dll] Error 1 mingw32-make.exe[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 mingw32-make.exe: ** [all] Error 2 modules\core\CMakeFiles\opencv_core.dir\build.make:1722: recipe for target 'bin/libopencv_core330.dll' failed mingw32-make.exe[2]: Leaving directory 'C:/opencv33/build' CMakeFiles\Makefile2:2093: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed mingw32-make.exe[1]: Leaving directory 'C:/opencv33/build' C:/opencv33/build/Makefile:145: recipe for target 'all' failed

edit retag flag offensive close merge delete

Comments

with IPP ON and with the above patches I tried now I get another error in I am copying a part of the error below (40 lines of similar error statements are there) Any directions are greatly appreciated. Thanks in advance

Configuring done CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_core" which requires target "RunTmChkAlt" that is not in the export set. CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_flann" which requires target "RunTmChkAlt" that is not in the export set. CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_imgproc" which requires target "RunTmChkAlt" that is not in the export set. CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_ml" which requires target "R

pranan gravatar imagepranan ( 2017-10-13 01:05:56 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-10-05 06:43:36 -0600

berak gravatar image

try the patch from here , or disable IPP :

cmake -DWITH_IPP=OFF

(and, there is no real support for mingw from the opencv devs, there might be more problems)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-10-05 05:34:27 -0600

Seen: 1,680 times

Last updated: Oct 05 '17