2020年10月8日

安装ros的问题

摘要: rosdep update更新不了问题解决 https://blog.csdn.net/nidie508/article/details/104156378?utm_medium=distribute.wap_relevant.none-task-blog-BlogCommendFromMachin 阅读全文

posted @ 2020-10-08 20:08 不当小朋友 阅读(137) 评论(0) 推荐(0) 编辑

/opt/ros/kinetic/include/moveit/macros/declare_ptr.h:53:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type typedef std::shared_ptr<const Type> Name##ConstPtr;

摘要: 用G++编译项目的时候发生标题上的错误,原因是,这是c++ 11标准的。在给g++传递命令行的时候加上-std=c++0x就行了。 我的cmakelists里面要这样改: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") 注意:每一个功能包都要 阅读全文

posted @ 2020-10-08 20:05 不当小朋友 阅读(200) 评论(0) 推荐(0) 编辑

导航