Ask Your Question
1

Compilation (installation) error of opencv at WIndows

asked 2014-06-29 04:28:21 -0600

KostyaKulakov gravatar image

updated 2014-06-29 04:34:55 -0600

Sourse in github: https://github.com/itseez/opencv CMake: 2.8.12.2 GCC: gcc (i686-posix-dwarf-rev2, Built by MinGW-W64 project) 4.9.0

I compiled OpenCV. I got an error:

[ 29%] Built target pch_Generate_opencv_core Linking CXX shared library ....\bin\libopencv_core300.dll C:/mingw/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-ming w32/bin/ld.exe: cannot find -lRunTmChk collect2.exe: error: ld returned 1 exit status modules\core\CMakeFiles\opencv_core.dir\build.make:1103: recipe for target 'bin/ libopencv_core300.dll' failed mingw32-make[2]: * [bin/libopencv_core300.dll] Error 1 CMakeFiles\Makefile2:1313: recipe for target 'modules/core/CMakeFiles/opencv_cor e.dir/all' failed mingw32-make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 makefile:135: recipe for target 'all' failed mingw32-make: ** [all] Error 2

How fix it?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-11 10:00:08 -0600

verun.mak gravatar image

updated 2015-06-11 10:06:57 -0600

berak gravatar image

Try to make in Cmake option "-DWITH_IPP=OFF" to solve "cannot find -lRunTmChk"

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-29 04:28:21 -0600

Seen: 833 times

Last updated: Jun 11 '15