Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linking with pcl_io_ply #6205

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

mvieth
Copy link
Member

@mvieth mvieth commented Dec 22, 2024

In case of static libraries. Fixes #4422
Mostly just of copy of the vcpkg patch (https://github.com/microsoft/vcpkg/blob/master/ports/pcl/io_ply.patch)
Closes #5628 I now prefer keeping pcl_io_ply as a separate library instead of merging pcl_io_ply into pcl_io, for three reasons: 1) simply removing pcl_io_ply could cause problems if users explicitly link to it, 2) users might want to only use the ply parser from pcl_io_ply (separately), and 3) the ply parser might have been kept in a separate library because of licensing/copyright?

In case of static libraries. Fixes PointCloudLibrary#4422
Mostly just of copy of the vcpkg patch (https://github.com/microsoft/vcpkg/blob/master/ports/pcl/io_ply.patch)
@mvieth mvieth added module: io module: cmake changelog: fix Meta-information for changelog generation labels Dec 22, 2024
@mvieth mvieth added this to the pcl-1.15.0 milestone Dec 25, 2024
@mvieth mvieth requested a review from larshg January 7, 2025 12:34
@larshg larshg merged commit 1590ba5 into PointCloudLibrary:master Jan 7, 2025
13 checks passed
@mvieth mvieth deleted the fix_io_ply branch January 7, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: fix Meta-information for changelog generation module: cmake module: io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[compile error] Linker error: libpcl_io_ply.a is not added to ${PCL_LIBRARIES}, nor is it linked to libpcl_io.
2 participants