Giter Site home page Giter Site logo

Comments (5)

acrosson avatar acrosson commented on July 16, 2024 1

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

from gps.

acrosson avatar acrosson commented on July 16, 2024

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

from gps.

acrosson avatar acrosson commented on July 16, 2024

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

from gps.

jhshen95 avatar jhshen95 commented on July 16, 2024

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.

from gps.

padmaja-kulkarni avatar padmaja-kulkarni commented on July 16, 2024

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

from gps.

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.