error This file requires compiler and library supp-灵析社区

番茄炒蛋不要蛋

在编译catkin_make的时,报错error This file requires compiler and library support for the ISO C++ 2011 standard.

参考网址:error This file requires compiler and library support for the ISO C++ 2011 standard._西涯先生的博客-CSDN博客

在对应的功能包中的CMakeLists.txt中任意位置添加如下,可以编译成功:

SET( CMAKE_CXX_FLAGS "-std=c++11 -O3")

阅读量:1791

点赞量:0

收藏量:0