Linker problems with 1.8.1 on Windows

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Linker problems with 1.8.1 on Windows

Dr. Heiko Münkel
Hi,

I've problems to link a program with the PCL 1.8.1 on a 64-Bit Windows 7
system with the VisualStudio 2015. I was able to link the same program with
the VisualStudio 2010 an PCL 1.7.1.

I'm using the following AllInOne installation:
https://github.com/PointCloudLibrary/pcl/releases/download/pcl-1.8.1/PCL-1.8.1-AllInOne-msvc2015-win64.exe

Here are the first three error lines:
1>     Creating library C:\Users\heiko.muenkel\Documents\Visual Studio
2010\Projects\Toolt32-VS2015\x64\Debug\VialogNativePclLib.lib and object
C:\Users\heiko.muenkel\Documents\Visual Studio
2010\Projects\Toolt32-VS2015\x64\Debug\VialogNativePclLib.exp
1>PointCloudWrapper.obj : error LNK2019: unresolved external symbol "public:
void __cdecl pcl::EuclideanClusterExtraction<struct
pcl::PointNormal>::extract(class std::vector<struct pcl::PointIndices,class
std::allocator<struct pcl::PointIndices> > &)"
(?extract@?$EuclideanClusterExtraction@UPointNormal@pcl@@@pcl@@QEAAXAEAV?$vector@UPointIndices@pcl@@V?$allocator@UPointIndices@pcl@@@std@@@std@@@Z)
referenced in function "public: class boost::shared_ptr<class
std::vector<class boost::shared_ptr<class
VialogNativePclLib::PointCloudWrapper>,class std::allocator<class
boost::shared_ptr<class VialogNativePclLib::PointCloudWrapper> > > > __cdecl
VialogNativePclLib::PointCloudWrapper::RemoveSmallCluster(int,float,float,float)"
(?RemoveSmallCluster@PointCloudWrapper@VialogNativePclLib@@QEAA?AV?$shared_ptr@V?$vector@V?$shared_ptr@VPointCloudWrapper@VialogNativePclLib@@@boost@@V?$allocator@V?$shared_ptr@VPointCloudWrapper@VialogNativePclLib@@@boost@@@std@@@std@@@boost@@HMMM@Z)

1>PointCloudWrapper.obj : error LNK2001: unresolved external symbol
"protected: virtual void __cdecl pcl::ProjectInliers<struct
pcl::PointNormal>::applyFilter(class pcl::PointCloud<struct
pcl::PointNormal> &)"
(?applyFilter@?$ProjectInliers@UPointNormal@pcl@@@pcl@@MEAAXAEAV?$PointCloud@UPointNormal@pcl@@@2@@Z)

1>PointCloudWrapper.obj : error LNK2001: unresolved external symbol
"private: virtual bool __cdecl pcl::ProjectInliers<struct
pcl::PointNormal>::initSACModel(int)"
(?initSACModel@?$ProjectInliers@UPointNormal@pcl@@@pcl@@EEAA_NH@Z)


I've added the following libs to the linker input:
pcl_kdtree_debug.lib
pcl_common_debug.lib
pcl_search_debug.lib
pcl_surface_debug.lib
pcl_filters_debug.lib
vtkRenderingCore-8.0-gd.lib
vtkCommonCore-8.0-gd.lib
vtkCommonMath-8.0-gd.lib
pcl_visualization_debug.lib
vtkCommonDataModel-8.0-gd.lib
pcl_io_debug.lib
pcl_registration_debug.lib
vtkRenderingLOD-8.0-gd.lib
pcl_features_debug.lib
pcl_io_ply_debug.lib
pcl_keypoints_debug.lib
pcl_ml_debug.lib
pcl_octree_debug.lib
pcl_outofcore_debug.lib
pcl_people_debug.lib
pcl_recognition_debug.lib
pcl_sample_consensus_debug.lib
pcl_segmentation_debug.lib
pcl_stereo_debug.lib
pcl_tracking_debug.lib

Any ideas?

Thanks for you help.







--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users