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

Fix hioOpenVDB build on windows #1574

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

hshakula
Copy link
Contributor

Description of Change(s)

Add public interface to hioOpenVDB library.

Fixes Issue(s)

CMake error on trying to link against USD that is built with OpenVDB support:

CMake Error at D:/amd-gpuopen/BlenderUSDHydraAddon/bin/bin-21.08/USD/install/cmake/pxrTargets.cmake:540 (message):
  The imported target "hioOpenVDB" references the file

     "D:/amd-gpuopen/BlenderUSDHydraAddon/bin/bin-21.08/USD/install/lib/hioOpenVDB.lib"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "D:/amd-gpuopen/BlenderUSDHydraAddon/bin/bin-21.08/USD/install/cmake/pxrTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  D:/amd-gpuopen/BlenderUSDHydraAddon/bin/bin-21.08/USD/install/pxrConfig.cmake:19 (include)
  cmake/defaults/Packages.cmake:37 (find_package)
  CMakeLists.txt:11 (include)

Due to the fact that hioOpenVDB had no exported symbols, hioOpenVDB.lib was not generated thus causing such an error.

@jilliene
Copy link

Filed as internal issue #USD-6809

@pixar-oss pixar-oss merged commit 725c57f into PixarAnimationStudios:dev Aug 16, 2021
@hshakula hshakula deleted the hioOpenVDB-win-link branch August 16, 2021 17:59
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.

4 participants