Git Product home page Git Product logo

Comments (4)

jstone-lucasfilm avatar jstone-lucasfilm commented on May 14, 2024

Hello!

Looking at that folder, I believe you need to build the "install" target when you're building the MaterialX project in CMake. Here's an example of how to build the install target, from our cloud-based tests for MaterialX C++/Python:

https://github.com/materialx/MaterialX/blob/master/.github/workflows/main.yml#L126

That should create the full installation of MaterialX Python, which contains both the pure Python wrappers (seen in your folder) and the platform-specific binaries that provide the low-level functionality for MaterialX.

from materialx.

willDTF avatar willDTF commented on May 14, 2024

hello @jstone-lucasfilm, thank you for your help,
sorry I'm not able to make it work (I have a poor build level sadly)
If I compile with MATERIALX_BUILD_PYTHON to ON
then

export PYTHON_INCLUDE_DIR=/usr/local/include/python2.7
export PYTHON_LIBRARY=/usr/lib64/libpython2.7.so

cmake3 CMakeLists.txt
cmake3 --build . --target install

compiling seems to goes fine but I still not have the PyMaterialXCore and PyMaterialXFormat in the python folder

from materialx.

willDTF avatar willDTF commented on May 14, 2024

hello,
just find that it doesn't work on my network drive, but no problem in local for some reasons
sorry for the noise

bests

from materialx.

jstone-lucasfilm avatar jstone-lucasfilm commented on May 14, 2024

No worries, and glad you figured it out!

from materialx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.