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

Errors compiling with mujoco pro 150 #83

Closed
robotsorcerer opened this issue Jun 7, 2017 · 5 comments
Closed

Errors compiling with mujoco pro 150 #83

robotsorcerer opened this issue Jun 7, 2017 · 5 comments

Comments

@robotsorcerer
Copy link

robotsorcerer commented Jun 7, 2017

No description provided.

@acrosson
Copy link

acrosson commented Jun 14, 2017

Hi @lakehanne same issue. Can't find older version (1.21) . The autogen files need to be updated.

@acrosson
Copy link

acrosson commented Jun 14, 2017

You can run the struct generator gps/src/3rdparty/mjcpy2/mj_struct_codegen.py and toggle between the model and data by commenting(uncommenting) last few lines. This should get rid of those compile errors.

Now i'm getting:

make[2]: *** No rule to make target '/home/user/gps/src/3rdparty/mjpro/bin/libmujoco131.so', needed by 'lib/mjcpy.so'.  Stop.
<command-line>:0:0: note: this is the location of the previous definition
CMakeFiles/Makefile2:158: recipe for target 'mjcpy2/CMakeFiles/mjcpy.dir/all' failed
make[1]: *** [mjcpy2/CMakeFiles/mjcpy.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

@acrosson
Copy link

I had two versions of mujoco installed in mjpro folder. Removed and replaced with single version. I'm able to compile file now.

@jhshen95
Copy link

jhshen95 commented Sep 15, 2019

Now i'm getting:

make[2]: *** No rule to make target '/home/user/gps/src/3rdparty/mjpro/bin/libmujoco131.so', needed by 'lib/mjcpy.so'.  Stop.
<command-line>:0:0: note: this is the location of the previous definition
CMakeFiles/Makefile2:158: recipe for target 'mjcpy2/CMakeFiles/mjcpy.dir/all' failed
make[1]: *** [mjcpy2/CMakeFiles/mjcpy.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

@acrosson How did you solve this problem? I only have one version of mujoco but encounter the same problem.

@padmaja-kulkarni
Copy link

Hi! This issue could be solved by using Mujoco version 1.31 from 2016.

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

4 participants