Package Details: mujoco 3.8.1-1

Git Clone URL: https://aur.archlinux.org/mujoco.git (read-only, click to copy)
Package Base: mujoco
Description: Multi-Joint dynamics with Contact. A general purpose physics simulator.
Upstream URL: https://www.mujoco.org
Licenses: Apache-2.0
Submitter: huyz
Maintainer: taotieren
Last Packager: taotieren
Votes: 2
Popularity: 0.192768
First Submitted: 2022-05-23 15:08 (UTC)
Last Updated: 2026-05-11 14:08 (UTC)

Latest Comments

sots commented on 2026-04-15 03:17 (UTC)

The src/mujoco/cmake/MujocoLinkOptions.cmake has to be patched not to use lld. I've tested mold and gold and they work normal, while lld fails.

[7/68] Linking CXX executable bin/simulate
FAILED: [code=1] bin/simulate
: && /usr/bin/c++ -Wno-error=discarded-qualifiers -O3 -DNDEBUG -flto=auto -fno-fat-lto-objects -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -falign-functions=32 -fuse-ld=lld -Wl,--gc-sections -Wl,--dependency-file=simulate/CMakeFiles/simulate.dir/link.d simulate/CMakeFiles/simulate.dir/main.cc.o -o bin/simulate  lib/libsimulate.a  lib/libmujoco.so.3.7.0  lib/libglfw3.a  /usr/lib/librt.a  -lm  -ldl && :
ld.lld: error: undefined symbol: main
>>> referenced by /usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/Scrt1.o:(_start)
collect2: 错误:ld 返回 1

meyznu commented on 2024-10-29 21:29 (UTC)

/tmp/ccA5IEXJ.ltrans0.ltrans.o:<artificial>:function mujoco::Simulate::Render():(.text+0xd1dd): error: undefined reference to 'lodepng::encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char const*, unsigned int, unsigned int, LodePNGColorType, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [simulate/CMakeFiles/simulate.dir/build.make:101: bin/simulate] Error 1
make[1]: *** [CMakeFiles/Makefile2:2092: simulate/CMakeFiles/simulate.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Vial commented on 2024-08-12 16:45 (UTC)

Hi, Thanks for maintaining this package. I'm getting a bunch of errors when trying to compile this. mujoco/src/mujoco-3.1.1/src/engine/engine_collision_convex.c:43:21: error: passing argument 1 of "mju_copy3" from an incompatible pointer type [-Wincompatible-pointer-types].