daohu527 / ndt_mapping

Baidu apollo offline mapping tool
Apache License 2.0
66 stars 24 forks source link

apollo 8.0构建错误 #26

Closed ioo0s closed 11 months ago

ioo0s commented 11 months ago

过程均在apollo容器中 构建步骤:

git clone https://github.com/daohu527/ndt_mapping.git
cd ndt_mapping
bazel build src/ndt_mapping

错误: image

ioo0s commented 11 months ago

目前8.0可以使用/apollo/bazel-bin/modules/localization/ndt/map_creation/ndt_map_creator 构建地图

ioo0s commented 11 months ago

最终按照该项目中的dockerfile配置解决 解决方法:

sudo apt update
sudo apt install libgflags-dev libpcl-dev libeigen3-dev
sudo ln -s /usr/include/pcl-1.8/pcl /usr/include/pcl                                                                                                                                
sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen                                                                                                                                  
sudo ln -s /usr/include/eigen3/unsupported /usr/include/unsupported