Install mujoco for C++

472 views Asked by At

I was trying to install Mujoco as a library to be used in my own Cpp programs, but I don¡t know if I should build it, although it does not have any CMakeLists file. I do not have much experience using precompiled libraries, so there might be the problem. Don't have much experience with Mujoco, but since I wanted to create a ROS2 interface with Mujoco, I think that going to the Mujoco library and learn how to use it is a good starting point.

1

There are 1 answers

2
Saran Tunyasuvunakool On

You are right in that we currently do not provide a CMakeLists.txt for MuJoCo. We are in the process of modifying our internal CMake setup to have it work for non-Google users. This will be made available as part of our open source release.

In the meantime, the CMakeLists.txt for our Python bindings should give you an idea for how to build a CMake project against the precompiled MuJoCo library.