# Building OpenUSD-25.05 TBB error

**URL:** <https://forum.aousd.org/t/building-openusd-25-05-tbb-error/2464>\
**Category:** Build and Deployment\
**Created:** [May 19, 2025, 7:28pm UTC](https://forum.aousd.org/t/building-openusd-25-05-tbb-error/2464 "2025-05-19T19:28:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![silviapalara](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@silviapalara](https://forum.aousd.org/u/silviapalara)\
**Post date:** [May 19, 2025, 7:28pm UTC](https://forum.aousd.org/t/building-openusd-25-05-tbb-error/2464/1 "2025-05-19T19:28:56Z")

</div>

Hello, I’m trying to build on Windows with Python 3.11 using  
build\_usd.py --imaging --alembic

I let it install and build tbb so I assume it’s the correct version, but I get:

```auto
ts.vcxproj -> Z:\silvia\git\OpenUSD\install\build\OpenUSD-25.05\pxr\base\ts\Release\usd_ts.dll
Z:/silvia/git/OpenUSD/OpenUSD-25.05/pxr/base/work/dispatcher.h(205,19): error C2664: 'tbb::detail::d1::task_group::task_group(const tbb::detail::d1::task_group &)': cannot convert argument 1 from 'tbb::detail::d1::task_group_context' to 'const tbb::detail::d1::task_group &' (compiling source file Z:\silvia\git\OpenUSD\OpenUSD-25.05\pxr\base\work\dispatcher.cpp) [Z:\silvia\git\OpenUSD\install\build\OpenUSD-25.05\pxr\base\work\work.vcxproj]

```

---

<div class="post-metadata">

**Author:** ![sunya](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sunya](https://forum.aousd.org/u/sunya)\
**Post date:** [May 19, 2025, 7:51pm UTC](https://forum.aousd.org/t/building-openusd-25-05-tbb-error/2464/2 "2025-05-19T19:51:14Z")

</div>

Hi @silviapalara,

I wonder if you’re running into [build\_usd.py favours system TBB over local one · Issue #3610 · PixarAnimationStudios/OpenUSD · GitHub](https://github.com/PixarAnimationStudios/OpenUSD/issues/3610), where your build is picking up a different installation of TBB than what the build script installs. You could look at the `CMakeCache.txt` in `Z:\silvia\git\OpenUSD\install\build\OpenUSD-25.05` to see if that’s the case, or post it here for folks to look at.

---

<div class="post-metadata">

**Author:** ![silviapalara](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@silviapalara](https://forum.aousd.org/u/silviapalara)\
**Post date:** [May 19, 2025, 8:26pm UTC](https://forum.aousd.org/t/building-openusd-25-05-tbb-error/2464/3 "2025-05-19T20:26:37Z")

</div>

Thank you Sunya, it seems it’s picking up the one it installed. CMakeCache.txt says

TBB\_SOURCE\_DIR:STATIC=Z:/silvia/git/OpenUSD/install/src/oneTBB-2021.9.0

Since Z:/silvia/git/OpenUSD/install is the install dir I give build\_usd.py, it seems it’s doing the right thing. I tried with both option --onetbb and without, so in that folder I now have an install of tbb and one of one-tbb. Could they be conflicting somehow?

---

<div class="post-metadata">

**Author:** ![sunya](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sunya](https://forum.aousd.org/u/sunya)\
**Post date:** [May 20, 2025, 3:42am UTC](https://forum.aousd.org/t/building-openusd-25-05-tbb-error/2464/4 "2025-05-20T03:42:26Z")

</div>

Ah yeah, that sounds plausible. I think the oneTBB and TBB installations have overlapping files, so running the script with and without `--onetbb` into the same install directory would probably not work well. If blowing everything away and rebuilding from scratch doesn’t work, then we can dig further into whatever error you get from that.
