解决方式:
在功能包所在的CMakeListst.txt中,添加 add_compile_options(-std=c++11)
cmake报错提示需要C++11编译:This file requires compiler and library support for the ISO C++ 2011
最新推荐文章于 2024-05-11 11:19:30 发布
解决方式:
在功能包所在的CMakeListst.txt中,添加 add_compile_options(-std=c++11)