萌新求助
#include <pcl/segmentation/supervoxel_clustering.h>想尝试lccp分割,但是只要加上这个必要的头文件就会出现错误(错误如下)
错误 C2988 不可识别的模板声明/定义 PCL-004 d:\pcl 1.8.1\3rdparty\boost\include\boost-1_64\boost\typeof\msvc\typeof_impl.hpp 125
错误 C2143 语法错误: 缺少“;”(在“<”的前面) PCL-004 d:\pcl 1.8.1\3rdparty\boost\include\boost-1_64\boost\typeof\msvc\typeof_impl.hpp 125
错误 C2913 显式专用化;“boost::type_of::id2type_impl”不是类模板的专用化 PCL-004 d:\pcl 1.8.1\3rdparty\boost\include\boost-1_64\boost\typeof\msvc\typeof_impl.hpp 125
错误 C2059 语法错误:“<” PCL-004 d:\pcl 1.8.1\3rdparty\boost\include\boost-1_64\boost\typeof\msvc\typeof_impl.hpp 125
错误 C2334 “{”的前面有意外标记;跳过明显的函数体 PCL-004 d:\pcl 1.8.1\3rdparty\boost\include\boost-1_64\boost\typeof\msvc\typeof_impl.hpp 126
这个typeof_impl.hpp是库里面的东西不是我写的
template<typename ID, typename T>
struct msvc_extract_type : msvc_extract_type<ID,msvc_extract_type_default_param>
{
template<>
struct id2type_impl<true>//错误定位这一行
{
typedef T type;
};
template<bool>
struct id2type_impl;
typedef id2type_impl<true> id2type;
};
页:
[1]