CMake linking issues with HoudiniThirdParty

   449   0   0
User Avatar
Member
2 posts
Joined: April 2024
Offline
Hi, I'm following the official instructions for compiling with CMake [www.sidefx.com].

On Windows, when linking HoudiniThirdPartyusing:
target_link_libraries(myExec HoudiniThirdParty)
the compiler can't find certain Qt libraries (e.g., qt5*.lib). After checking the directory custom/houdini/dsolib/, I confirmed that indeed no Qt-related libraries exist.
Could this be related to limitations of the Apprentice (free) version? Should the Qt libraries be explicitly filtered out from _houdini_dep_shared_libsin HoudiniConfig.cmake? Even after reinstalling Houdini, these Qt libraries are still missing—could this issue be specific to my setup?

Additionally, on macOS, the linker fails to find symbols related to hboost::python. It seems HoudiniConfig.cmakedoesn't add the Python framework to HoudiniThirdParty. For example:
target_link_libraries(HoudiniThirdParty INTERFACE "${_houdini_install_root}/Frameworks/Python.framework")
is missing.

Any insights or assistance would be greatly appreciated.

Thank you!
Edited by dashuai009 - March 12, 2025 22:33:44
  • Quick Links