1>pcl/kdtree/flann.h
第50行
// before is this, but it show opencv's this .h file
//#include <flann/flann.hpp>修改如下
#include </usr/include/flann/flann.hpp>
2> /usr/include/flann/util/serialization.h
第8行:
// serialization.h:424:56: error: there are no arguments to ‘FLANNException’ that depend on a template parameter
// 修改如下
#include </usr/include/flann/general.h>
pcl opencv中flann冲突
最新推荐文章于 2024-10-22 23:04:02 发布
本文详细介绍了在使用PCL库时遇到的与FLANN库兼容性问题,并提供了具体的修改方案。针对pcl/kdtree/flann.h和/usr/include/flann/util/serialization.h两个文件的错误,给出了正确的#include指令调整,以确保代码正确编译。
718





