PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.64k stars 4.59k forks source link

Some of the PCL DLLs cannot be integrated into the project's final DLL. #6068

Closed mawenwuda closed 1 week ago

mawenwuda commented 1 week ago

In the VS2022 + PCL 1.13.1 environment, I generated the DLL file for my project. However, when calling this DLL on another device, it shows a lack of some PCL dependencies, such as pcl_common.dll. I have already checked that the project properties include the corresponding pcl_common.lib in additional dependencies.How can I integrate these DLLs into the project's final DLL?

larshg commented 1 week ago

Then you need to build PCL yourself as static libraries instead of standard shared.

mawenwuda commented 1 week ago

thank you!