项目场景:
mac os 下px4仿真 使用sitl gazebo编译仿真失败
问题描述:
编译环境 mac os 10.14.6
px4版本 V1.11
ld: library not found for -licudata clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-build
原因分析:
未知
解决方案:
第一步:确保自己使用的homebrew是最新的
第二步:确保本地分支与远程分支一样 使用 git pull 拉取最新更新
第三步:使用
make distclean
第四步:重新编译
make px4_sitl gazebo
现成功解决