Question

I have a code based on PCL 1.6, using functions as OrganizedFastMesh and Poisson, and it works well. But When I add this code to use GreedyProjectionTriangulation function VS2010 return this error:

*Error 51 error LNK2001: unresolved external symbol "private: virtual void __cdecl pcl::GreedyProjectionTriangulation::performReconstruction(class std::vector > &)" (?performReconstruction@?$GreedyProjectionTriangulation@UPointXYZ@pcl@@@pcl@@EEAAXAEAV?$vector@UVertices@pcl@@V?$allocator@UVertices@pcl@@@std@@@std@@@Z) C:...\pcl_surface.obj*

Does it need an additional file.lib to include?

Which ones? Or what else?

Thank you!

Was it helpful?

Solution

A few days ago,the same error occurred in my code (with two similar errors). I added the lib file /lib/pcl_features_debug.lib to the linker-->input, and it works.

VS2010(X64) debug mode

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top