I’ve been trying VTK9.0RC2 with TBB on Ubuntu 19.10 and there seems to be a problem when VTK is build with TBB_2019_Update9 or newer.
When using this combination of VTK and TBB to build a VTK Example (e.g. Diagram), I get the following CMake Error during Configuration:
Required library TBB not found. Call Stack (most recent call first): /home/test/src/vtk/build/VTK-9.0.0.rc2_tbbTest/lib/cmake/vtk-9.0/FindTBB.cmake:346 (findpkg_finish) /home/test/src/vtk/build/VTK-9.0.0.rc2_tbbTest/lib/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:532 (find_package) /home/test/src/vtk/build/VTK-9.0.0.rc2_tbbTest/lib/cmake/vtk-9.0/vtk-config.cmake:129 (include) /home/test/src/vtk/build/VTK-9.0.0.rc2_tbbTest/vtk-config.cmake:1 (include) CMakeLists.txt:10 (find_package)
According to the TBB release notes (https://github.com/oneapi-src/oneTBB/releases/tag/2019_U9), the TBB binary packages for Linux are now only build with GCC4.8.
The FindTBB.cmake in VTK only checks for GCC 4.1, 4.4 and 4.7, can this be the cause of the issue?