当前位置: 代码迷 >> 综合 >> ROSERROR :error: ‘>>’ should be ‘> >’ within a nested template argument list
  详细解决方案

ROSERROR :error: ‘>>’ should be ‘> >’ within a nested template argument list

热度:64   发布时间:2024-03-09 01:23:48.0

环境是:Ubuntu18.04  ROS

vector<vector<Point> > contours_points 代码运行的时候在这个地方出现错误

网上的解决办法都是在>>中间加一个空格,我加了一个空格但是没有用

解决办法是加完空格之后,在CMakeLists文件中添加add_compile_options(-std=c++11)

  相关解决方案