Closed lilleyse closed 1 year ago
- The
libusdrt.scenegraph.plugin.so
file that ships with kit is significantly smaller than thelibusdrt.scenegraph.plugin.so
that ships with packman. This is not true for Windows.
I tried linking to the version that ships with kit but it didn't work.
For future reference here's the CMake change:
# cmake-format: off
add_prebuilt_project(
RELEASE_INCLUDE_DIR
"${KIT_SDK_ROOT}/extscore/usdrt.scenegraph/include"
DEBUG_INCLUDE_DIR
"${KIT_SDK_ROOT}/extscore/usdrt.scenegraph/include"
RELEASE_LIBRARY_DIR
"${KIT_SDK_ROOT}/extscore/usdrt.scenegraph/plugins"
DEBUG_LIBRARY_DIR
"${KIT_SDK_ROOT}/extscore/usdrt.scenegraph/plugins"
RELEASE_LIBRARIES
usdrt.scenegraph.plugin
DEBUG_LIBRARIES
usdrt.scenegraph.plugin
TARGET_NAMES
usdrt
)
# cmake-format: on
Same problem in Kit 104.2
This was fixed in https://github.com/CesiumGS/cesium-omniverse/pull/169. I was able to link to carb.flatcache.plugin
directly since we no longer have any dependency on usdrt.
Texture loading is still broken on Linux, but that will be a separate issue.
If you try running
usdrt-test
on Linux you'll see the error:This can be reproduced on
main
as well by just linkingusdrt
insrc/core/CMakeLists.txt
Some observations so far:
libusdrt.scenegraph.plugin.so
file that ships with kit is significantly smaller than thelibusdrt.scenegraph.plugin.so
that ships with packman. This is not true for Windows.