-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Description
System information (version)
- OpenCV => 3.1-dev
- Operating System / Platform => Ubuntu 16.04 / Odroid XU4
- Compiler => gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4)
Detailed description
[ 10%] Building CXX object 3rdparty/tbb/CMakeFiles/tbb.dir/arm_linux_stub.cpp.o
/srv/maverick/var/build/opencv/3rdparty/tbb/arm_linux_stub.cpp:6:6: error: prototype for ‘void tbb::internal::affinity_helper::protect_affinity_mask()’ does
not match any in class ‘tbb::internal::affinity_helper’
void affinity_helper::protect_affinity_mask() {}
^
In file included from /srv/maverick/var/build/opencv/3rdparty/tbb/arm_linux_stub.cpp:1:0:
/srv/maverick/var/build/opencv/build/3rdparty/tbb/tbb44_20160128oss/src/tbb/tbb_misc.h:255:14: error: candidate is: void tbb::internal::affinity_helper::pro
tect_affinity_mask(bool)
void protect_affinity_mask( bool restore_process_mask );
^
3rdparty/tbb/CMakeFiles/tbb.dir/build.make:854: recipe for target '3rdparty/tbb/CMakeFiles/tbb.dir/arm_linux_stub.cpp.o' failed
make[2]: *** [3rdparty/tbb/CMakeFiles/tbb.dir/arm_linux_stub.cpp.o] Error 1
CMakeFiles/Makefile2:310: recipe for target '3rdparty/tbb/CMakeFiles/tbb.dir/all' failed
make[1]: *** [3rdparty/tbb/CMakeFiles/tbb.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Steps to reproduce
/usr/bin/cmake -D CMAKE_BUILD_TYPE=RELEASE -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_EIGEN=ON -DWITH_OPENGL=ON -DENABLE_NEON=ON -DWITH_TBB=ON -DBUILD_TBB=ON -DENABLE_VFPV3=ON
Reactions are currently unavailable