openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.83k stars 810 forks source link

The new release of MuJoCo wants the build library to be /path/to/mujo… #667

Open odellus opened 2 years ago

odellus commented 2 years ago

…co/lib, not bin. Also it is no longer named libmujoco210.so, but libmujoco.so. Tested on Ubuntu 20.04, Python 3.8 with GPU support.

I got mujoco-py working with the liberated mujoco-2.1.1 and wanted to share my work.

enajx commented 2 years ago

@odellus Could you share the detail of you you got 2.1.1 to work? Using your commits I still get an error when linking building, it fails to link to libglewegl.so

odellus commented 2 years ago

Thank you for bringing this to my attention Elias. I added /path/to/mujoco-2.1.1/include to C_INCLUDE_PATH and /path/to/mujoco-2.1.1/lib to LD_LIBRARY_PATH. With those steps taken I'm able to build/link with the code in my PR.

On Tue, Jan 18, 2022 at 7:31 AM Elias Najarro @.***> wrote:

@odellus https://github.com/odellus Could you share the detail of you you got 2.1.1 to work? Using your commits I still get an error when linking building, it fails to link to libglewegl.so

— Reply to this email directly, view it on GitHub https://github.com/openai/mujoco-py/pull/667#issuecomment-1015527321, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDYI3CV5DNVCH5FT4KGCVLUWWBTVANCNFSM5LEAMSDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- Sincerely,

Thomas O. Wood