# VTK 9.0.0RC2: Does not work on Linux with TBB 2019 Update9 or newer

**URL:** https://discourse.vtk.org/t/vtk-9-0-0rc2-does-not-work-on-linux-with-tbb-2019-update9-or-newer/3079
**Category:** Development
**Created:** [April 17, 2020, 11:07am UTC](https://discourse.vtk.org/t/vtk-9-0-0rc2-does-not-work-on-linux-with-tbb-2019-update9-or-newer/3079 "2020-04-17T11:07:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lukas](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@lukas](https://discourse.vtk.org/u/lukas)
#### Post date: [April 17, 2020, 11:07am UTC](https://discourse.vtk.org/t/vtk-9-0-0rc2-does-not-work-on-linux-with-tbb-2019-update9-or-newer/3079/1 "2020-04-17T11:07:16Z")

</div>

Hi all,

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:

```auto
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](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?

Regards,  
Lukas

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [April 17, 2020, 11:11am UTC](https://discourse.vtk.org/t/vtk-9-0-0rc2-does-not-work-on-linux-with-tbb-2019-update9-or-newer/3079/2 "2020-04-17T11:11:48Z")

</div>

@ben.boeckel

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [April 17, 2020, 11:49am UTC](https://discourse.vtk.org/t/vtk-9-0-0rc2-does-not-work-on-linux-with-tbb-2019-update9-or-newer/3079/3 "2020-04-17T11:49:40Z")

</div>

It looks like this as simple as adding to the ABI detection block. Cc: @RobertMaynard

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [April 17, 2020, 11:51am UTC](https://discourse.vtk.org/t/vtk-9-0-0rc2-does-not-work-on-linux-with-tbb-2019-update9-or-newer/3079/4 "2020-04-17T11:51:32Z")

</div>

Does this patch work? [https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/6763](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6763)

---

<div class="post-metadata">

### Author: ![lukas](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@lukas](https://discourse.vtk.org/u/lukas)
#### Post date: [April 20, 2020, 6:57am UTC](https://discourse.vtk.org/t/vtk-9-0-0rc2-does-not-work-on-linux-with-tbb-2019-update9-or-newer/3079/5 "2020-04-20T06:57:47Z")

</div>

@ben.boeckel

Thanks for the quick fix. Now it works (tested with TBB 2020\_U2).
