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

Installation: Could not find header files #12

Closed
jangirrishabh opened this issue Jul 15, 2022 · 3 comments
Closed

Installation: Could not find header files #12

jangirrishabh opened this issue Jul 15, 2022 · 3 comments

Comments

@jangirrishabh
Copy link

Hi, the dm_robotics installed is unable to find the header files. Any help would be greatly appreciated!

ERROR:
'
In file included from /home/rishabh/workspace/dm_robotics/cpp/mujoco/src/mjlib.cc:15:
/home/rishabh/workspace/dm_robotics/cpp/mujoco/include/dm_robotics/mujoco/mjlib.h:22:10: fatal error: mjmodel.h: No such file or directory
22 | #include "mjmodel.h" //NOLINT
'

Here's my environment variables

'
MJLIB_PATH: /home/rishabh/.mujoco/mujoco/lib/libmujoco.so
Using cmake command 'cmake'
Using python command '/home/rishabh/anaconda3/envs/packing/bin/python'
Using tox command '/home/rishabh/anaconda3/envs/packing/bin/python -m tox'
Using python version '3.8'
'

@davidkh1
Copy link
Contributor

Hi Rishabh,
Has the problem been solved?
If you need help, could you share the Linux distribution you are using and what version of MuJoCo you have?

@jangirrishabh
Copy link
Author

Thank you for getting back David!

Unfortunately not, here is my configuration. Somehow mjmodel.h inside .mujoco/mujoco/include/ is not being found

Linux: 22.04
Mujoco: Mujoco 2.0 (Installed from older mujoco not provided by deepmind)

If this is not the right config, how shall I proceed?

@jangirrishabh
Copy link
Author

This was solved by installing mujoco from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants