google-deepmind / mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.
https://mujoco.org
Apache License 2.0
7.84k stars 783 forks source link

distribute CMakeLists.txt for directory sample and simulate #1902

Open JewelryForge opened 1 month ago

JewelryForge commented 1 month ago

Hi,

I'm a student and I'm trying to use the MuJoCo precompiled library.

Starting with version 3.2.0, mujoco deleted the Makefile files in the simulate and sample folders. Now these folders contain only the "cmake" subfolder without a CMakeLists.txt file and users cannot compile them from source. And simply copying the corresponding "CMakeLists.txt" from MuJoCo source does not work. cmake will not find mujoco as a library.

So, may I ask two questions:

  1. Why doesn't MuJoCo distribute its cmake directory, which is located in directory lib if mujoco is installed from source?
  2. How does MuJoCo generate its release files?