Closed keszegrobert closed 7 months ago
The errors you were experiencing are likely related to dependency issues that have since been resolved. If you are still experiencing the issues described above please reopen this issue.
You can also remove gRPC if you don't plan to use the Python API (macOS):
git clone https://github.com/google-deepmind/mujoco_mpc.git
cd mujoco_mpc
mkdir build
cd build
cmake .. -G Ninja -DMJPC_BUILD_GRPC_SERVICE:BOOL=OFF
cmake --build . --config=Release --target mjpc
./bin/mjpc
still getting errors by running the above sequence of commands
ld64.lld: error: unknown argument '--gc-sections'
This is weird because in the config step this is written out:
-- Performing Test SUPPORTS_GC_SECTIONS
-- Performing Test SUPPORTS_GC_SECTIONS - Success
I don't have permission to reopen this issue
This was my setup:
I have compiled the source using these steps:
As I have seen at: https://github.com/google-deepmind/mujoco_mpc/blob/main/.github/workflows/build.yml
I had to comment out some lines in cmake/MujocoLinkOptions.cmake to not build with --gc-sections, but I think it can be done better