Problems with TBB 2021 Versions
noahares opened this issue · 1 comments
noahares commented
The releases of TBB from 2021 no longer contain some headers we use:
tbb_stddef.h
which is read to determine the interface version with CMake. This information was moved to https://github.com/oneapi-src/oneTBB/blob/master/include/oneapi/tbb/version.htask_scheduler_init.h
became deprecated in favor of this (?) https://github.com/oneapi-src/oneTBB/blob/master/include/oneapi/tbb/global_control.h
For now the Ubuntu Repos all provide the 2020 Versions of TBB, but rolling release distros already use the 2021 version, which Ubuntu will eventually use, too.
larsgottesbueren commented
Tim just sent me a link to a script that is supposed to work with the new version. I haven't taken a look yet. CMake is truly awful.
https://github.com/ceres-solver/ceres-solver/blob/master/cmake/FindTBB.cmake