Impossible to build against OpenVDB v8.1 due to TBB system version

Bug #1970108 reported by Guillaume Doisy
56
This bug affects 11 people
Affects Status Importance Assigned to Milestone
openvdb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

As described here: https://github.com/SteveMacenski/spatio_temporal_voxel_layer/issues/232
I believe it is impossible to build software using Ubuntu released OpenVDB **v8.1** in `Ubuntu 22.04/jammy` because of the following points:

- OpenVDB was upgraded from **v6.2** in `Ubuntu 20.04/focal` to **v8.1** in `Ubuntu 22.04/jammy`
- TBB was upgraded from **2020.1** in `Ubuntu 20.04/focal` to **2021.5** in `Ubuntu 22.04/jammy`
- OpenVDB 8.1 uses headers from TBB 2020 which were deprecated a while ago and now are completely gone in **TBB 2021.5**. For instance `#include <tbb/task_scheduler_init.h>` https://github.com/AcademySoftwareFoundation/openvdb/blob/ea786c46b7a1b5158789293d9b148b379fc9914c/openvdb/openvdb/tools/VolumeToMesh.h#L21
See https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-threading-building-blocks-release-notes.html and https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/72

OpenVDB seems to already have a version (**v8.2**) compatible with **TBB 2021.5** since november : https://github.com/AcademySoftwareFoundation/openvdb/releases/tag/v8.2.0. My guess is that releasing **v8.2** instead of **v8.1** to `Ubuntu 22.04/jammy` would solve the issue.

Revision history for this message
Guillaume Doisy (doisyg) wrote :

Confirming that compilation failure is resolved by uninstalling `libopenvdb-dev` and building/installing OpenVDB v8.2 (also tried successfully v9.0) from source with these instructions https://github.com/AcademySoftwareFoundation/openvdb#building-openvdb

Guillaume Doisy (doisyg)
description: updated
summary: - Impossible to build against OpenVDB v6.1 due to TBB system version
+ Impossible to build against OpenVDB v8.1 due to TBB system version
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openvdb (Ubuntu):
status: New → Confirmed
Revision history for this message
Anthony Goeckner (agoeckner) wrote :

Any update on this?

Revision history for this message
dongfang chen (chendongfang) wrote :

Please update the lib

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.