Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue on Ubuntu 22.04 with TBB 2021.5 due to missing task_group #3514

Open
briansoe66 opened this issue Feb 3, 2025 · 1 comment
Open

Comments

@briansoe66
Copy link

When compiling OpenUSD v25.02 on Ubuntu 22.04, using the apt install version of TBB 2021.5, I get the following error:

In file included from openusd/pxr/base/work/dispatcher.cpp:9:
openusd/pxr/base/work/dispatcher.h: In constructor ‘pxrInternal_v0_25_2__pxrReserved__::WorkDispatcher::_TaskGroup::_TaskGroup(tbb::detail::d1::task_group_context&)’:
openusd/pxr/base/work/dispatcher.h:205:71: error: no matching function for call to ‘tbb::detail::d1::task_group::task_group(tbb::detail::d1::task_group_context&)’
  205 |         _TaskGroup(tbb::task_group_context& ctx) : tbb::task_group(ctx) {}

This is my build command:

cmake .. \
-DPXR_BUILD_EXAMPLES=OFF \
-DPXR_BUILD_HTML_DOCUMENTATION=OFF \
-DPXR_BUILD_IMAGING=OFF \
-DPXR_ENABLE_GL_SUPPORT=OFF \
-DPXR_ENABLE_PYTHON_SUPPORT=OFF

This issue can be solved by adding definition TBB_PREVIEW_TASK_GROUP_EXTENSIONS to the build

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10641

(This is an automated message. See here for more information.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants