Problem building Opencv3.0 with IPP and TBB using mingwx64(4.8.1)
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.
If anybody have any solution or fix for this error then let me know. Any help would be appreciated.
Thanks,
Tushar Kachhadiya
can you try to give us a text version of your error instead of the unreadable screenshot ?
Ok See this is the error which I got while compiling opencv 3.0 with IPP and TBB.
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
(i'm not sure about x64, but definitely for x32:)
IPP does not work for mingw compiler, you have to disable it:
there is this RunTmChk library, needed for a test, which is only available for VS.
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
"but we need IPP support" - i guess, you'll have to ditch mingw then.
No, We can't do that because we have a application in mingw. We need to find another way to fix it.