Open leo-liuzy opened 11 months ago
Same problem. @leo-liuzy have you solved this issue?
It seems the error message is buried one level deeper, can you show the full error log?
@fxia22 the full log contains the build process and it's quite long. I put it in a shared google doc: link
It seems the error message is buried one level deeper, can you show the full error log?
I find the same error.
Seems the root cause is
/home/user/project/mujoco_mpc/mjpc/tasks/humanoid/tracking/tracking.cc: In member function 'virtual void mjpc::humanoid::Tracking::TransitionLocked(mjModel*, mjData*)':
/home/user/project/mujoco_mpc/mjpc/tasks/humanoid/tracking/tracking.cc:253:3: error: 'mjMARKSTACK' was not declared in this scope
253 | mjMARKSTACK;
| ^~~~~~~~~~~
[ 83%] Building CXX object _deps/grpc-build/CMakeFiles/grpc.dir/src/core/lib/iomgr/cfstream_handle.cc.o
/home/user/project/mujoco_mpc/mjpc/tasks/humanoid/tracking/tracking.cc:255:25: error: 'mj_stackAlloc' was not declared in this scope; did you mean 'mj_stackAllocNum'?
255 | mjtNum *mocap_pos_0 = mj_stackAlloc(d, 3 * model->nmocap);
| ^~~~~~~~~~~~~
| mj_stackAllocNum
/home/user/project/mujoco_mpc/mjpc/tasks/humanoid/tracking/tracking.cc:268:3: error: 'mjFREESTACK' was not declared in this scope
268 | mjFREESTACK;
| ^~~~~~~~~~~
but it seems a bit weird, since it should be fixed it here https://github.com/google-deepmind/mujoco_mpc/commit/74763c51624d9e9a61027e5eeb68d0affc097992
could you try upgrading mujoco_mpc to the latest version?
Could you try removing build
directory?
I have the same problem and it's solved by updating the version of clang.
Has anyone else solved this issue just by updating the version of clang? It didn't work for me; none of the other suggestions worked either.
Could you confirm that you are following the installation instructions in the README exactly (including checking out the particular commit of mujoco_mpc, where we tested the build)?
The machine is on an Ubuntu 20.04
I also try to follow GitHub issues on mjpc repo, but I am still not able to install the python interface.