-
Notifications
You must be signed in to change notification settings - Fork 218
Description
cd unitree_mujoco/simulate
mkdir build && cd build
cmake ..
make -j4
The following error appears
/home/roboworks/Mujoco/unitree_mujoco/simulate/src/mujoco/simulate.cc:3041:62: error: ‘mjv_updateSceneFromState’ was not declared in this scope
3041 | scnstate_.data.warning[mjWARN_VGEOMFULL].number += mjv_updateSceneFromState(
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/roboworks/Mujoco/unitree_mujoco/simulate/src/mujoco/simulate.cc:3086:27: error: ‘scnstate_’ was not declared in this scope; did you mean ‘setstate_r’?
3086 | mjv_freeSceneState(&scnstate_);
| ^~~~~~~~~
| setstate_r
/home/roboworks/Mujoco/unitree_mujoco/simulate/src/mujoco/simulate.cc:3086:7: error: ‘mjv_freeSceneState’ was not declared in this scope; did you mean ‘mjv_freeScene’?
3086 | mjv_freeSceneState(&scnstate_);
| ^~~~~~~~~~~~~~~~~~
| mjv_freeScene
make[2]: *** [CMakeFiles/unitree_mujoco.dir/build.make:132: CMakeFiles/unitree_mujoco.dir/src/mujoco/simulate.cc.o] エラー 1
make[2]: *** 未完了のジョブを待っています....
make[2]: *** [CMakeFiles/unitree_mujoco.dir/build.make:160: CMakeFiles/unitree_mujoco.dir/src/main.cc.o] エラー 1
[ 92%] Linking CXX executable test
[ 92%] Built target test
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/unitree_mujoco.dir/all] エラー 2
make: *** [Makefile:91: all] エラー 2