欢迎光临散文网 会员登陆 & 注册

bianyi errro2

2023-03-09 12:29 作者:bili_397604208  | 我要投稿

#  /media/4ed5ac4f-6444-4db5-bf3c-4e57d29efe68/RoboRTS_WS/src/RoboRTS/roborts_decision/example_behavior/escape_behavior.h:53:14: error: ‘mt19937’ is not a member of ‘std’

         std::mt19937 gen(rd());

https://blog.csdn.net/xingdou520/article/details/84861274

2、解决办法

由于ubuntu18.04安装的ros-melodic使用的是c++14的标准,很多c++11的用法不可支持使用

即便是CMakeLists.txt中添加

add_definitions(-std=c++11)

或者 add_definitions(-std=c++14)

或者 add_definitions(-std=c++17)

都不行!!!!

———————————————

# g2o  erro

#include "g2o/EXTERNAL/ceres/fixed_array.h"

it show that this .h documment not found  ??

I find this document  .h it is in external 

solution:to install ceres

https://blog.csdn.net/qq_42108414/article/details/127660024

bianyi errro2的评论 (共 条)

分享到微博请遵守国家法律