Skip to content

Fix linking with pcl_io_ply#6205

Merged
larshg merged 1 commit intoPointCloudLibrary:masterfrom
mvieth:fix_io_ply
Jan 7, 2025
Merged

Fix linking with pcl_io_ply#6205
larshg merged 1 commit intoPointCloudLibrary:masterfrom
mvieth:fix_io_ply

Conversation

@mvieth
Copy link
Copy Markdown
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
@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