Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem at compiling (libopencv_core300.dll not found)

Hey guys,

I'm just installing OpenCV for a project controling a SMD mounting machine but I'm not abled to comile the Project for usage with Code::Blocks with mingw.

I'm using this tutorial: http://kevinhughes.ca/tutorials/opencv-install-on-windows-with-codeblocks-and-mingw/

Everytime I'm running the command "mingw-make" it stops at 31% with following message:


[ 31%] Linking CXX shared library ....\bin\libopencv_core300.dll

c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lRunTmChk

collect2.exe: error: ld returned 1 exit status

modules\core\CMakeFiles\opencv_core.dir\build.make:1286: recipe for target 'bin/ libopencv_core300.dll' failed

mingw32-make[2]: * [bin/libopencv_core300.dll] Error 1

CMakeFiles\Makefile2:1654: 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:148: recipe for target 'all' failed

mingw32-make: * [all] Error 2


My Systems is WIN7 64bit and the newest versions of cmake, mingw, opencv and Code::Blocks

Hope someone can help me.

NG from Germany Dr. Console

Problem at compiling (libopencv_core300.dll not found)

Hey guys,

I'm just installing OpenCV for a project controling a SMD mounting machine but I'm not abled to comile the Project for usage with Code::Blocks with mingw.

I'm using this tutorial: http://kevinhughes.ca/tutorials/opencv-install-on-windows-with-codeblocks-and-mingw/

Everytime I'm running the command "mingw-make" it stops at 31% with following message:


[ 31%] Linking CXX shared library ....\bin\libopencv_core300.dll

c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lRunTmChk

collect2.exe: error: ld returned 1 exit status

modules\core\CMakeFiles\opencv_core.dir\build.make:1286: recipe for target 'bin/ libopencv_core300.dll' failed

mingw32-make[2]: * [bin/libopencv_core300.dll] Error 1

CMakeFiles\Makefile2:1654: 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:148: recipe for target 'all' failed

mingw32-make: * [all] Error 2


My Systems is WIN7 64bit and the newest versions of cmake, mingw, opencv and Code::Blocks

Hope someone can help me.

NG from Germany Dr. Console

EDIT:

Found a solution, it's a mingw bug... I needed to disable IPP and comment out the line 'add_extra_compiler_option(-Werror=non-virtual-dtor)' in C:opencv\sources\cmake\OpenCVCompilerOptions.cmake So the make command worked.

Problem at compiling (libopencv_core300.dll not found)

Hey guys,

I'm just installing OpenCV for a project controling a SMD mounting machine but I'm not abled to comile the Project for usage with Code::Blocks with mingw.

I'm using this tutorial: http://kevinhughes.ca/tutorials/opencv-install-on-windows-with-codeblocks-and-mingw/

Everytime I'm running the command "mingw-make" it stops at 31% with following message:


[ 31%] Linking CXX shared library ....\bin\libopencv_core300.dll

c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lRunTmChk

collect2.exe: error: ld returned 1 exit status

modules\core\CMakeFiles\opencv_core.dir\build.make:1286: recipe for target 'bin/ libopencv_core300.dll' failed

mingw32-make[2]: * [bin/libopencv_core300.dll] Error 1

CMakeFiles\Makefile2:1654: 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:148: recipe for target 'all' failed

mingw32-make: * [all] Error 2


My Systems is WIN7 64bit and the newest versions of cmake, mingw, opencv and Code::Blocks

Hope someone can help me.

NG from Germany Dr. Console

EDIT:

Found a solution, it's a mingw bug... I needed to disable IPP and comment out the line 'add_extra_compiler_option(-Werror=non-virtual-dtor)' in C:opencv\sources\cmake\OpenCVCompilerOptions.cmake So the make command worked.