You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a (engineer) and I'm trying to use MuJoCo for my research.
I'm looking for some help with building from source on Ubuntu18 Anaconda
Here is a model which explains my question:
I followed the instructions from here.
But i got error while doing cmake --build . saying below.
I googled it. it seems like related to cmake problem. But i cannot solve it. Help me!
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_api.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_composite.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_flexcomp.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_init.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_mesh.cc.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_model.cc.o
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCMesh]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2840:25: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
for (auto const& [name, indices] : names) {
^
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCSkin]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2841:24: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCHField]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2842:26: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCTexture]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2843:27: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
CMakeFiles/mujoco.dir/build.make:635: recipe for target 'CMakeFiles/mujoco.dir/src/user/user_model.cc.o' failed
make[2]: *** [CMakeFiles/mujoco.dir/src/user/user_model.cc.o] Error 1
CMakeFiles/Makefile2:1594: recipe for target 'CMakeFiles/mujoco.dir/all' failed
make[1]: *** [CMakeFiles/mujoco.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Hi, thank you for the good work on mujoco.
I'm a (engineer) and I'm trying to use MuJoCo for my research.
I'm looking for some help with building from source on Ubuntu18 Anaconda
Here is a model which explains my question:
I followed the instructions from here.
But i got error while doing cmake --build . saying below.
I googled it. it seems like related to cmake problem. But i cannot solve it. Help me!
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_api.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_composite.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_flexcomp.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_init.cc.o
[ 16%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_mesh.cc.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_model.cc.o
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCMesh]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2840:25: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
for (auto const& [name, indices] : names) {
^
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCSkin]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2841:24: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCHField]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2842:26: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc: In instantiation of ‘void mjCModel::SetDefaultNames(std::vector<T*>&) [with T = mjCTexture]’:
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:2843:27: required from here
/home/zhaowentao/Reinforcement/mujoco/src/user/user_model.cc:907:34: error: unused variable ‘name’ [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
CMakeFiles/mujoco.dir/build.make:635: recipe for target 'CMakeFiles/mujoco.dir/src/user/user_model.cc.o' failed
make[2]: *** [CMakeFiles/mujoco.dir/src/user/user_model.cc.o] Error 1
CMakeFiles/Makefile2:1594: recipe for target 'CMakeFiles/mujoco.dir/all' failed
make[1]: *** [CMakeFiles/mujoco.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: