Skip to content

Fix compilation with newer versions of PDAL#59

Closed
dvdkon wants to merge 1 commit into
PDAL:mainfrom
dvdkon:fix-compile-pdal
Closed

Fix compilation with newer versions of PDAL#59
dvdkon wants to merge 1 commit into
PDAL:mainfrom
dvdkon:fix-compile-pdal

Conversation

@dvdkon

@dvdkon dvdkon commented Jun 3, 2025

Copy link
Copy Markdown

Currently building pdal_wrench is broken when using PDAL from master (28e77b0608795c087bf2ca8ff0906d2d22270bd5). This PR "fixes" the build by moving around includes, as suggested by PDAL/PDAL#4706 (comment).

This is also needed to fix QGIS: qgis/QGIS#61670

Personally, I think we should stop embedding nlohmann/json everywhere, but that's for later discussion.

@hobu

hobu commented Jun 3, 2025

Copy link
Copy Markdown
Member

Personally, I think we should stop embedding nlohmann/json everywhere, but that's for later discussion.

@abellgithub is going to update PDAL 2.9 so it no longer has any nlohmann in public headers.

PDAL has embedded nlohmann for more than 10 years without issue. The problem is it changed its type definition instead of adding extended new ones. For little benefit, I might add.

@dvdkon

dvdkon commented Jun 12, 2025

Copy link
Copy Markdown
Author

Closing since PDAL master has fixed the issue of leaking JSON definitions.

@dvdkon dvdkon closed this Jun 12, 2025
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.

2 participants