Skip to content

Fix export import specially for cloud composer#6415

Open
larshg wants to merge 10 commits intoPointCloudLibrary:masterfrom
larshg:fixdllexportimportcloudcomposer
Open

Fix export import specially for cloud composer#6415
larshg wants to merge 10 commits intoPointCloudLibrary:masterfrom
larshg:fixdllexportimportcloudcomposer

Conversation

@larshg
Copy link
Contributor

@larshg larshg commented Mar 20, 2026

Updated EXPORT quite a few places after adding __declspec(dllimport).

The plugin libraries of cloud composer need to only import other dlls. So I added that option to PCL_ADD_LIBRARY. Default is still to export symbols.

Makes #6377 unnecessary.
Fixes #2708
Fixes #5336 - I added a check for NO_PRE_COMPILE, since kdtree_flann.cppwould always be added if flann is found. I don't think there are any other libraries that doesn't export something.

@larshg larshg force-pushed the fixdllexportimportcloudcomposer branch from 1f7dd40 to 8b30904 Compare March 20, 2026 17:28
larshg added 2 commits March 21, 2026 12:20
Remember to add defines for CUDA libraries.
Only add export flags, if they should be exported. If not the would default to import (cloud composer plugins).
…inux. But still use OPENNURBS_EXPORTS as it was used multiple places.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[kdtree] Doesn't create a lib when compiling with MSVC PCL_EXPORTS seems to be implemented wrong

1 participant