Skip to content

Install Hydra runtime DLL dependencies#7

Open
KentaroAOKI wants to merge 1 commit into
blender:mainfrom
KentaroAOKI:fix/fix-hydra-runtime-dll-install
Open

Install Hydra runtime DLL dependencies#7
KentaroAOKI wants to merge 1 commit into
blender:mainfrom
KentaroAOKI:fix/fix-hydra-runtime-dll-install

Conversation

@KentaroAOKI

@KentaroAOKI KentaroAOKI commented May 25, 2026

Copy link
Copy Markdown

Background

When using the Hydra render delegate from a standalone Cycles install, usdview could discover hdCycles.dll but still fail to load the plugin with a Windows loader error:

Coding Error: in _Load at line 244 of <path to USD>\pxr\base\plug\plugin.cpp -- Failed to load plugin 'hdCycles': 指定されたモジュールが見つかりません。

The missing module was not hdCycles.dll itself. The installed plugin depended on runtime DLLs that were not copied into the install directory. In particular, bundled openvdb.dll depends on the bundled oneTBB runtime ( bb12.dll), but this DLL was not installed when the build used USD-provided TBB via PXR_ROOT. This meant users had to manually add the precompiled library directory to PATH to make the plugin load.

Summary

  • Install bundled runtime DLLs when building the Hydra render delegate from the standalone repository.
  • Include bundled oneTBB runtime DLLs when bundled OpenVDB is used together with USD-provided TBB.
  • Make the standalone Hydra install self-contained for this runtime dependency case.

Verification

  • Ran cmake --build . --target install --config Release.
  • Confirmed bb12.dll, bbmalloc.dll, and bbmalloc_proxy.dll are installed under <path to cycles>\install.
  • Confirmed the hdCycles plugin loads successfully with the install runtime path.

https://github.com/blender/cycles/blob/main/BUILDING.md

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

Successfully merging this pull request may close these issues.

1 participant