error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
描述ROS下编译cpp文件时,出现编译错误错误提示error: ‘shared_ptr’ in namespace ‘std’ does not name a template type解决方案在需要编译的包的CMakeLists.txt文件下,添加如下一句话add_compile_options(-std=c++11)使用C++ 11编译方式,问题解决...