1>demo.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall pcl::NarfKeypoint::~NarfKeypoint(void)" (??1NarfKeypoint@pcl@@UAE@XZ),该符号在函数 _main 中被引用
1>demo.obj : error LNK2019: 无法解析的外部符号 "public: void __thiscall pcl::NarfKeypoint::compute(class pcl::PointCloud<int> &)" (?compute@NarfKeypoint@pcl@@QAEXAAV?$PointCloud@H@2@@Z),该符号在函数 _main 中被引用
1>demo.obj : error LNK2019: 无法解析的外部符号 "public: void __thiscall pcl::NarfKeypoint::setRangeImage(class pcl::RangeImage const *)" (?setRangeImage@NarfKeypoint@pcl@@QAEXPBVRangeImage@2@@Z),该符号在函数 _main 中被引用
1>demo.obj : error L

在使用VS2010和PCL库进行开发时遇到了LNK2019错误,涉及NarfKeypoint类的构造、析构及成员函数调用。错误表明缺失了相应的.lib文件。通过检查和添加pcl_keypoints_debug.lib到链接器的附加依赖项,解决了这个问题。

8392

被折叠的 条评论
为什么被折叠?



