google-deepmind / mujoco

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

Simulate Dependencies Deprecated on Latest macOS Sequoia (15.0+) #2128

Open dtorre38 opened 1 month ago

dtorre38 commented 1 month ago

Intro

Hi!

I am a graduate student at the University of Illinois at Chicago, I use MuJoCo for my research on motion planning.

My setup

Tested on 3.2.3 & 3.1.1 M2 Pro MacBook Pro MacOS 15.0.1 C API

What's happening? What did you expect?

I am making modifications to simulate, so I need to build via CMakeLists.txt. When I make, I obtain the errors shown in the screenshot. As the errors indicate, some functionality has been deprecated on the latest MacOS version. Can we expect an update to correct this issue for Mac users on 15.0+?

simulate_make_error

Steps for reproduction

  1. cd simulate
  2. mkdir build && cd build
  3. cmake ..
  4. make

Minimal model for reproduction

Utilize mujoco-3.2.3.

Code required for reproduction

No response

Confirmations

yuvaltassa commented 3 weeks ago

@dtorre38 the error is telling you how to fix this, would you like to send a PR?

dtorre38 commented 2 weeks ago

@yuvaltassa Apologies, I won't be able to get to this soon. I reverted to an older version of mujoco (2.2.1) for the time being.

yuvaltassa commented 1 week ago

Okay, but you do realize that this is only because we are telling the compiler to treat warnings as errors?

You can just delete -Werror and it will build.

yuvaltassa commented 1 week ago

Delete this line