Comments (4)
The related crash might be fixed with the shared build.
Sadly, this option was added in 1.38.3 according to:
https://github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.38.3
And the XML Reader API changed in that version, I believe as such it requires USD 22.08 and MaterialX >1.38.3.
from aswf-docker.
It seems that the MaterialX library is being built as a static library, which means that the library files are not being placed in the /usr/local/lib directory. Instead, the library files are being left in the pxrTargets.cmake file, which causes subsequent builds that use the CMake configuration to try to link against them.
One solution to this issue could be to move to using shader libraries, which are typically shared libraries that can be easily shared between multiple projects. This would make it easier to manage the library files and would eliminate the need to include them in the pxrTargets.cmake file.
Another solution could be to provide the static libraries in a separate location, such as /usr/local/lib, so that they can be easily found and linked to by other projects. This would require updating the CMake configuration to specify the correct library path and linking against the correct libraries.
It's also possible to provide both options, static and shared libraries, and let the users choose which one to use.
Ultimately, the best solution will depend on the specific requirements of the project and the needs of the users. It's important to consider the trade-offs between different options and to communicate any changes clearly to the community.
from aswf-docker.
MaterialX is indeed built as a static lib, as I left it as the default. I'd be happy to change this, but note that I just fixed an issue where materialx files where completely missing from ci-vfxall
images.
Here's what you get in the newly released image:
docker run -it --rm aswf/ci-vfxall:2022-clang14.3
[root@e23d9733a6b7 aswf]# cd /usr/local
[root@e23d9733a6b7 local]# find .|grep libMat
./lib/libMaterialXRenderOsl.a
./lib/libMaterialXGenOsl.a
./lib/libMaterialXRender.a
./lib/libMaterialXGenMdl.a
./lib/libMaterialXGenGlsl.a
./lib/libMaterialXCore.a
./lib/libMaterialXGenShader.a
./lib/libMaterialXRenderGlsl.a
./lib/libMaterialXFormat.a
./lib/libMaterialXRenderHw.a
from aswf-docker.
Related Issues (20)
- For CY2022, the corresponding ocio-ci images must now have OSL installed HOT 3
- Installation of aswf-docker - yaml issue HOT 3
- Creating image for OSL 2022 using aswf-docker - pugixml & pybind11 are missing HOT 5
- New LLVM/clang versions soon? HOT 25
- Add GTest to OpenVDB images HOT 1
- Add LLVM_SYMBOLIZER to base images HOT 5
- Update to OpenVDB 9.0.0 for VFX Platform 2022
- Add Vulkan SDK eg. to build Qt Vulkan support
- Rename master to main
- Update CY2022 to OpenEXR 3.1.4
- install packages to a different root directory HOT 2
- OpenVDB blosc version update HOT 6
- Broken library symlinks in ci-vfxall:2022 HOT 3
- /usr/local/bin/pip3 has invalid shebang
- Cannot locate MaterialX when referencing `pxrConfig.cmake`
- VFX 2023 Images HOT 2
- Follow up on PR #166
- Add OIIO build container
- Evaluate Red Hat's UBI image for the base image HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aswf-docker.