Closed RyanMetcalfeInt8 closed 10 months ago
Hi @RyanMetcalfeInt8
What is the source of this TBB location -- TBB (2020.1) is found at /lib/x86_64-linux-gnu/cmake/TBB
?
System TBB is older and located in /usr
It's a reason of issue.
Hi @ilya-lavrenov, ah interesting. Okay, I'll see about uninstalling the old version. Thanks!
Hi @ilya-lavrenov, I think that the old version of TBB was installed from 'install_build_dependencies.sh'.
The following NEW packages will be installed:
libtbb-dev libtbb2
To fix this issue, I needed to run:
sudo apt remove libtbb-dev libtbb2
and then re-run cmake.
So it seems that install_build_dependencies.sh needs some fix?
Hi @RyanMetcalfeInt8 The older TBB version is installed by install_build_dependencies.sh and it's from standard Debian repositories, located in /usr folder. With this version OpenVINO works correctly. I would recommend to remove TBB from /lib folder, because it's incorrectly installed into system folder.
If you want newer TBB version than provided in standard Debian repositories, you can compile OpenVINO with -DENABLE_SYSTEM_TBB=OFF
and OpenVINO's cmake will download 2021.2 version and will work with it.
Closing this, I hope previous responses were sufficient to help you proceed. Feel free to reopen and ask any questions related to this topic.
OpenVINO Version
master branch (74251ce93269d29ba57bb0d960e5077b809a39f4)
Operating System
Ubuntu 18.04 (LTS)
Hardware Architecture
x86 (64 bits)
Target Platform
No response
Build issue description
I get TBB-related CMake errors:
(and a bunch of similar errors that follow)
Build scrip or step-by-step to reproduce
I'm following these build steps: https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build_linux.md
Relevant log output
Issue submission checklist