当前位置: 代码迷 >> 综合 >> error: ‘iota’ was not declared in this scope
  详细解决方案

error: ‘iota’ was not declared in this scope

热度:74   发布时间:2023-11-09 12:30:48.0
/home/pxy-dell/cubeslam_ws/src/cube_slam/detect_3d_cuboid/src/box_proposal_detail.cpp:531:3: error: ‘iota’ was not declared in this scope531 |   iota(sort_idx_small.begin(), sort_idx_small.end(), 0);

加头文件!!

#include<numeric>

 

  相关解决方案