mit-biomimetics / Cheetah-Software

MIT License
2.62k stars 929 forks source link

problems in compiling #42

Closed zzssee5432 closed 4 years ago

zzssee5432 commented 4 years ago

43%] Built target soem [ 43%] Linking C shared library out/libosqp.so [ 44%] Linking C shared library out/libosqp.so [ 44%] Built target osqpstatic [ 44%] Built target osqp Scanning dependencies of target osqp_demo [ 45%] Building C object third-party/osqp/CMakeFiles/osqp_demo.dir/examples/osqp_demo.c.o [ 45%] Linking C executable out/osqp_demo [ 45%] Built target osqp_demo In file included from /home/zj/文档/Cheetah-Software-master/mc-build/googletest-src/googletest/src/gtest-all.cc:46:0: /home/zj/文档/Cheetah-Software-master/mc-build/googletest-src/googletest/src/gtest-printers.cc: In function ‘void testing::internal::PrintTo(char32_t, std::ostream*)’: /home/zj/文档/Cheetah-Software-master/mc-build/googletest-src/googletest/src/gtest-printers.cc:256:10: error: passing ‘char32_t’ chooses ‘unsigned int’ over ‘int’ [-Werror=sign-promo] << c; ^ /home/zj/文档/Cheetah-Software-master/mc-build/googletest-src/googletest/src/gtest-printers.cc:256:10: error: in call to ‘std::basic_ostream<_CharT, _Traits>::ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::ostream_type = std::basic_ostream]’ [-Werror=sign-promo] [ 45%] Linking CXX shared library libinih.so [ 45%] Linking C shared library liblibvnc.so [ 45%] Built target libvnc [ 45%] Built target inih [ 45%] Linking CXX shared library liblord_imu.so [ 45%] Built target lord_imu Scanning dependencies of target test_imu [ 45%] Building CXX object third-party/lord_imu/CMakeFiles/test_imu.dir/test/lord_test.cpp.o [ 45%] Linking CXX shared library libGoldfarb_Optimizer.so [ 45%] Built target Goldfarb_Optimizer Scanning dependencies of target WBIC [ 45%] Building CXX object user/MIT_Controller/Controllers/WBC/WBIC/CMakeFiles/WBIC.dir/WBIC.cpp.o [ 46%] Building CXX object user/MIT_Controller/Controllers/WBC/WBIC/CMakeFiles/WBIC.dir/KinWBC.cpp.o [ 46%] Linking CXX shared library libdynacore_yaml-cpp.so [ 46%] Built target dynacore_yaml-cpp Scanning dependencies of target dynacore_param_handler [ 46%] Building CXX object third-party/ParamHandler/CMakeFiles/dynacore_param_handler.dir/ParamHandler.cpp.o [ 47%] Linking CXX executable test_imu [ 47%] Built target test_imu [ 47%] Linking CXX shared library libs/libqpOASES.so [ 47%] Built target qpOASES [ 48%] Linking CXX shared library libdynacore_param_handler.so [ 48%] Built target dynacore_param_handler cc1plus: all warnings being treated as errors googletest-build/googletest/CMakeFiles/gtest.dir/build.make:62: recipe for target 'googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o' failed make[2]: [googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 1 CMakeFiles/Makefile2:2461: recipe for target 'googletest-build/googletest/CMakeFiles/gtest.dir/all' failed make[1]: [googletest-build/googletest/CMakeFiles/gtest.dir/all] Error 2 make[1]: 正在等待未完成的任务.... [ 48%] Linking CXX shared library libWBIC.so [ 48%] Built target WBIC [ 49%] Linking CXX shared library libJCQP.so [ 49%] Built target JCQP Makefile:129: recipe for target 'all' failed make: [all] Error [2]
when I Build as mini cheetah executable, i'll meet these problems.