成都创新互联网站制作重庆分公司

cartographer编译报错-创新互联

问题描述:在我修改了lua文件重新编译之后,报了如下的错,翻找了一些资料也没发现问题具体在哪,报错信息不是很有价值,感觉是因为版本不匹配的问题。

成都创新互联公司主要为客户提供服务项目涵盖了网页视觉设计、VI标志设计、成都营销网站建设、网站程序开发、HTML5响应式重庆网站建设手机网站制作设计、微商城、网站托管及网站维护公司、WEB系统开发、域名注册、国内外服务器租用、视频、平面设计、SEO优化排名。设计、前端、后端三个建站步骤的完善服务体系。一人跟踪测试的建站服务标准。已经为护栏打桩机行业客户提供了网站维护服务。

[1/41] Building CXX object CMakeFiles/...rtographer_ros/map_builder_bridge.cc.o
FAILED: CMakeFiles/cartographer_ros.dir/cartographer_ros/map_builder_bridge.cc.o 
/usr/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DGFLAGS_IS_A_DLL=0 -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"cartographer_ros\" -DURDFDOM_HEADERS_HAS_SHARED_PTR_DEFS -I. -I/home/magiclp/Library-Robot/carto_catkin_ws/src/cartographer_ros/cartographer_ros -isystem /usr/include/lua5.2 -isystem /usr/include/pcl-1.10 -isystem /usr/include/eigen3 -isystem /home/magiclp/Library-Robot/carto_catkin_ws/install_isolated/include -isystem /opt/ros/noetic/include -isystem /opt/ros/noetic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -isystem /usr/include/vtk-7.1 -isystem /usr/include/freetype2 -O3 -DNDEBUG    -pthread -fPIC  -Wall -Wpedantic -Werror=format-security -Werror=missing-braces -Werror=reorder -Werror=return-type -Werror=switch -Werror=uninitialized -O3 -DNDEBUG -MD -MT CMakeFiles/cartographer_ros.dir/cartographer_ros/map_builder_bridge.cc.o -MF CMakeFiles/cartographer_ros.dir/cartographer_ros/map_builder_bridge.cc.o.d -o CMakeFiles/cartographer_ros.dir/cartographer_ros/map_builder_bridge.cc.o -c /home/magiclp/Library-Robot/carto_catkin_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/map_builder_bridge.cc
In file included from /home/magiclp/Library-Robot/carto_catkin_ws/install_isolated/include/ceres/ceres.h:65,
from /home/magiclp/Library-Robot/carto_catkin_ws/install_isolated/include/cartographer/common/math.h:25,
from /home/magiclp/Library-Robot/carto_catkin_ws/install_isolated/include/cartographer/mapping/submaps.h:24,
from /home/magiclp/Library-Robot/carto_catkin_ws/install_isolated/include/cartographer/mapping/pose_graph_interface.h:25,
from /home/magiclp/Library-Robot/carto_catkin_ws/install_isolated/include/cartographer/mapping/map_builder_interface.h:29,
from /home/magiclp/Library-Robot/carto_catkin_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/map_builder_bridge.h:26,
from /home/magiclp/Library-Robot/carto_catkin_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/map_builder_bridge.cc:17:
/home/magiclp/Library-Robot/carto_catkin_ws/install_isolated/include/ceres/product_manifold.h:315:59: error: expected constructor, destructor, or type conversion before ‘;’ token
315 |     ->ProductManifold;
解决办法

删除之前编译的这三个文件夹删除,重新进行编译命令

catkin_make_isolated --install --usu-ninja

问题解决!

你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧


标题名称:cartographer编译报错-创新互联
浏览路径:http://cxhlcq.com/article/egshg.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部