报错1:error: ‘std::index_sequence’ has not been declared
问题出现在 编译的时候
解决:cmakelist文件修改为14版本,一般是ubuntu版本的问题
set(CMAKE_CXX_FLAGS "-std=c++14 -O2 ${SSE_FLAGS} -msse4")
新报错:
《视觉SLAM十四讲》slambook/ch6/g2o_curve_fitting/报错解决方法_error: ‘tuple_size_v’ is not a member of ‘std’ 视觉s-CSDN博客参考别人章节。我在后续的学习第7章节,也会有点云拼接,其中编译的时候也会存在此类错误。所以安装还是按照高老师的老版本来安装。