Problem building Opencv3.0 with IPP and TBB using mingwx64(4.8.1)

asked Sep 24 '15

updated Sep 25 '15

Hello,

I got following error while building opencv3.0 with IPP(Inbuilt) and TBB(Open-source) using mingw x64 r2 sjlj 4.8.1 compiler in windows. image description

If anybody have any solution or fix for this error then let me know. Any help would be appreciated.

Thanks,

Tushar Kachhadiya

Preview: (hide)

Comments

1

can you try to give us a text version of your error instead of the unreadable screenshot ?

berak gravatar imageberak (Sep 24 '15)edit

Ok See this is the error which I got while compiling opencv 3.0 with IPP and TBB.

Tushar Kachhadiya gravatar imageTushar Kachhadiya (Sep 24 '15)edit

Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.obj [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.obj Linking CXX shared library ....\bin\libopencv_core300.dll c:/mingw/bin/../lib/gcc/mingw64/4.8.1/../../../../mingw64/bin/ld.exe: cannot find -lRunTmChk collect2.exe: error: ld returned 1 exit status modules\core\CMakeFiles\opencv_core.dir\build.make:1260: recipe for target 'bin/libopencv_core300.dll' failed mingw32-make[2]: * [bin/libopencv_core300.dll] Error 1 CMakeFiles\Makefile2:1334: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed mingw32-make[1]: * [modules/core/CMakeFiles/opencv_core.dir/all] Error 2

Tushar Kachhadiya gravatar imageTushar Kachhadiya (Sep 24 '15)edit

(i'm not sure about x64, but definitely for x32:)

IPP does not work for mingw compiler, you have to disable it:

cmake -DWITH_IPP=OFF

there is this RunTmChk library, needed for a test, which is only available for VS.

berak gravatar imageberak (Sep 25 '15)edit

Hi Berak,

Thanks for the information. We tried this option and it was build successfully but we need IPP support to increase face detection and video speed. Is there any method to improve video speed as well as synchronize source code of OpenCV.

Thanks

Tushar Kachhadiya gravatar imageTushar Kachhadiya (Sep 28 '15)edit

"but we need IPP support" - i guess, you'll have to ditch mingw then.

berak gravatar imageberak (Sep 28 '15)edit

No, We can't do that because we have a application in mingw. We need to find another way to fix it.

Tushar Kachhadiya gravatar imageTushar Kachhadiya (Sep 28 '15)edit