pcl 无法解析的外部符号

在使用PCL库时遇到编译错误,包括LNK2001和LNK1120,提示无法解析的外部符号。错误的根本原因可能是缺少库文件或PCL版本与系统位数不匹配。解决方案包括检查和添加缺失的lib文件,确保PCL与系统位数一致。通过重新安装适配的PCL版本,问题得到解决。此外,头文件与实现文件的对应也可能影响编译。建议在安装软件时注意位数匹配,避免类似问题。

error LNK2001:“无法解析的外部符号"protected: virtual void __cdecl pcl::ProjectInliers<struct pcl::PointXYZ>::applyFilter(class pcl::PointCloud<struct pcl::PointXYZ> &)" (?applyFilter@?$ProjectInliers@UPointXYZ@pcl@@@pcl@@MEAAXAEAV?$PointCloud@UPointXYZ@pcl@@@2@@Z)

error LNK2001: 无法解析的外部符号 "private: virtual bool __cdecl pcl::ProjectInliers<struct pcl::PointXYZ>::initSACModel(int)" (?initSACModel@?$ProjectInliers@UPointXYZ@pcl@@@pcl@@EEAA_NH@Z)

error LNK2019: "void __cdecl pcl::console::print(enum pcl::console::VERBOSITY_LEVEL,char const *,...)" (?print@console@pcl@@YAXW4VERBOSITY_LEVEL@12@PEBDZZ),?该?符?号?在ú函ˉ数簓 "int `protected: bool __cdecl pcl::PCLBase<struct pcl::PointXYZ>::initCompute(void)'::`1'::catch$0" (?catch$0@?0??initCompute@?$PCLBase@UPointXYZ@pcl@@@pcl@@IEAA_NXZ@4HA) 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值