Opencv does not work with TBB


#1

after I compiled Opencv with TBB support I get the following error message when starting:

/usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.11’ not found (required by /usr/local/lib/libtbb.so)

OS: Debian Stretch

cmake -DCMAKE_BUILD_TYPE=RELEASE
-DCMAKE_INSTALL_PREFIX=/usr/local

-DPYTHON2_EXECUTABLE=$(which python)
-DPYTHON_INCLUDE_DIR=/home/linaro/python/Python-3.6.4/Include
-DPYTHON_INCLUDE_DIR2=/usr/include/aarch64-linux-gnu/$PY_NAME
-DPYTHON_LIBRARY=/usr/lib/aarch64-linux-gnu/lib$PY_NAME.so
-DPYTHON2_NUMPY_INCLUDE_DIRS=/usr/lib/$PY_NAME/dist-packages/numpy/core/include/

-DBUILD_DOCS=OFF
-DENABLE_NEON=ON
-DENABLE_VFPV3=OFF
-DWITH_TBB=ON
-DBUILD_TBB=ON
-DOPENCV_ENABLE_NONFREE=True \
-DBUILD_EXAMPLES=OFF
-DBUILD_TESTS=OFF
-DBUILD_PERF_TESTS=OFF

-DOPENCV_EXTRA_MODULES_PATH=…/…/opencv_contrib-4.0.1/modules


#2

After some googling, I think this is a compiler related issue. Our build and test environment is under the Ubuntu minimal arm64. Can you build on arm64 image?