Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compilation (installation) error of opencv at WIndows

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?

Compilation (installation) error of opencv at WIndows

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?

Compilation (installation) error of opencv at WIndows

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 -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?