Unable to make OpenCV with TBB
Hello,
I'm following this tutorial to make able to work with more than 1 thread for opencv_traincascade
I tried with the 3.0 BETA and 2.4.10 STABLE but I got the same error.
The log is here: http://pastebin.com/FeZZ0A1K
but the last lines are:
[ 22%] Building CXX object
3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfConvert.cpp.o
Linking CXX static library
../lib/libIlmImf.a [ 22%] Built target
IlmImf [ 22%] Generating
opencv_core_pch_dephelp.cxx Scanning
dependencies of target
opencv_core_pch_dephelp [ 22%]
Building CXX object
modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o
c++: error: “: No such file or
directory c++: fatal error: no input
files compilation terminated. /bin/sh:
1: -fopenmp”: not found make[2]: *
[modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o]
Error 127 make[1]: *
[modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/all]
Error 2 make: * [all] Error 2
do you have any clue? on CMake I have to enable OPENMP like the tutorial says.
Thanks in advance. Regards