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

Build from Source incl. Python Bindings #1708

Open
hubernikus opened this issue May 31, 2024 · 1 comment
Open

Build from Source incl. Python Bindings #1708

hubernikus opened this issue May 31, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation question Request for help or information

Comments

@hubernikus
Copy link

hubernikus commented May 31, 2024

Hi,

I'm an engineer and I'm trying to use MuJoCo for a multibody simulation.

I was trying to understand the workings of Mujoco better and investigate some bugs that occurred for me. I've built the project including python bindings from source.

My question is, which buil step do I need to repeat, such that changes in the c-code (e.g., src/xml/xml_api.cc) influence the python built?

And a comment, in the python source build instruction, it would be useful to additionally add, that the general mujoco build needs to be executed, or did I miss something? => After 3. one has to follow the instructions on https://mujoco.readthedocs.io/en/latest/programming/#building-mujoco-from-source right?

Also, the path definition should have an additional keyword export to make the variables to environment variables, right?
And why is the variable MUJOCO_PLUGIN_PATH needed? Does it not directly follow from the main repository? Or did I not understand that variable correctly?

@hubernikus hubernikus added the question Request for help or information label May 31, 2024
@yuvaltassa
Copy link
Collaborator

The last part or your question is addressed by @traversaro's #1515, I believe.

I think you're right that the instructions for building the bindings should mention building the actual library...

I believe @saran-t will be addressing issues in build workflow and related documentation in the near future 🙂

@kevinzakka kevinzakka added the documentation Improvements or additions to documentation label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Request for help or information
Projects
None yet
Development

No branches or pull requests

4 participants