Ask Your Question

Revision history [back]

Compile failed: cannot find -lRunTmChk

Hello, I'm trying to compile OpenCV. I've followed the directions outlined here:

http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation

and I'm getting the following error:

Linking CXX shared library ....\bin\libopencv_core300.dll c:/progra~2/codebl~1/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot find -lRunTmChk collect2: ld returned 1 exit status make[2]: * [bin/libopencv_core300.dll] Error 1 make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: ** [all] Error 2

If anyone can point me in the right direction, I'd be appreciative. And if more information is needed, I will try to provide.