pcl::IterativeClosestPoint<pcl::PointXYZ, pcl::PointXYZ> icp;구문에서 나오는 오류로


오류 로그는 아래와 같다.

1>OpenNICapture.obj : error LNK2019: "public: __cdecl pcl::search::KdTree<struct pcl::PointXYZ>::KdTree<struct pcl::PointXYZ>(bool)" (??0?$KdTree@UPointXYZ@pcl@@@search@pcl@@QEAA@_N@Z) 외부 기호(참조 위치: "public: __cdecl pcl::registration::CorrespondenceEstimationBase<struct pcl::PointXYZ,struct pcl::PointXYZ,float>::CorrespondenceEstimationBase<struct pcl::PointXYZ,struct pcl::PointXYZ,float>(void)" (??0?$CorrespondenceEstimationBase@UPointXYZ@pcl@@U12@M@registration@pcl@@QEAA@XZ) 함수)에서 확인하지 못했습니다.

1>OpenNICapture.obj : error LNK2019: "public: void __cdecl pcl::search::KdTree<struct pcl::PointXYZ>::setPointRepresentation(class boost::shared_ptr<class pcl::PointRepresentation<struct pcl::PointXYZ> const > const &)" (?setPointRepresentation@?$KdTree@UPointXYZ@pcl@@@search@pcl@@QEAAXAEBV?$shared_ptr@$$CBV?$PointRepresentation@UPointXYZ@pcl@@@pcl@@@boost@@@Z) 외부 기호(참조 위치: "public: void __cdecl pcl::registration::CorrespondenceEstimationBase<struct pcl::PointXYZ,struct pcl::PointXYZ,float>::setInputTarget(class boost::shared_ptr<class pcl::PointCloud<struct pcl::PointXYZ> const > const &)" (?setInputTarget@?$CorrespondenceEstimationBase@UPointXYZ@pcl@@U12@M@registration@pcl@@QEAAXAEBV?$shared_ptr@$$CBV?$PointCloud@UPointXYZ@pcl@@@pcl@@@boost@@@Z) 함수)에서 확인하지 못했습니다.

1>D:\Projects\uok\3d\src\UokPrj\x64\Release\UokPrj.exe : fatal error LNK1120: 2개의 확인할 수 없는 외부 참조입니다.


프로젝트 환경설정 C++ > 일반 > 추가포함디렉토리에 경로 설정 후 에러 제거

D:/Programs/pcl/thirds/Boost/include;D:/Programs/pcl/thirds/Eigen/include;D:/Programs/pcl/thirds/flann/include;D:/Programs/pcl/thirds/OpenNI/Include;D:/Programs/pcl/srcnew/recognition/include/pcl/recognition/3rdparty;D:/Programs/pcl/binNewExample/include;D:/Programs/pcl/srcnew/common/include;D:/Programs/pcl/srcnew/io/include;D:/Programs/pcl/srcnew/filters/include;D:/Programs/pcl/srcnew/sample_consensus/include;D:/Programs/pcl/srcnew/segmentation/include;D:/Programs/pcl/srcnew/search/include;D:/Programs/pcl/srcnew/kdtree/include;D:/Programs/pcl/srcnew/features/include;D:/Programs/pcl/srcnew/surface/include;D:/Programs/pcl/srcnew/octree/include;D:/Programs/pcl/srcnew/registration/include;D:/Programs/pcl/srcnew/recognition/include;D:/Programs/pcl/srcnew/geometry/include;D:/Programs/pcl/srcnew/keypoints/include;D:/Programs/pcl/srcnew/ml/include;D:/Programs/pcl/thirds/VTK 5.8.0/include/vtk-5.8;D:/Programs/pcl/srcnew/tools/include;D:/Programs/pcl/srcnew/visualization/include;%(AdditionalIncludeDirectories)

저작자 표시 비영리 변경 금지
신고

티스토리 툴바