Hi Thanks for reporting the compilation issue with PDAL 2.4.0. RC1. I have reported the issue to the PDAL developers and they have already prepared a fix: https://github.com/PDAL/PDAL/pull/3713 - I am hoping it will land in the final 2.4.0 release.
Regards Martin On Sat, Mar 19, 2022 at 5:17 PM Saulteau Don via QGIS-Developer < [email protected]> wrote: > Trying to build qgis from the 3.24 release branch on github and testing > against pdal 2.4.0rc1. > > It fails with the following about a missing pdal function no longer exists: > > [ 39%] Automatic MOC for target provider_pdal >> [ 39%] Built target provider_pdal_autogen >> [ 39%] Building CXX object >> src/providers/pdal/CMakeFiles/provider_pdal.dir/provider_pdal_autogen/mocs_compilation.cpp.o >> [ 39%] Building CXX object >> src/providers/pdal/CMakeFiles/provider_pdal.dir/qgspdalprovider.cpp.o >> /build/qgis/src/qgis/src/providers/pdal/qgspdalprovider.cpp: In member >> function ‘bool QgsPdalProvider::load(const QString&)’: >> /build/qgis/src/qgis/src/providers/pdal/qgspdalprovider.cpp:235:58: >> error: use of deleted function ‘pdal::LasHeader::LasHeader(const >> pdal::LasHeader&)’ >> 235 | const pdal::LasHeader las_header = las_reader.header(); >> | ^ >> In file included from >> /build/qgis/src/qgis/src/providers/pdal/qgspdalprovider.cpp:32: >> /usr/include/pdal/io/LasHeader.hpp:70:16: note: >> ‘pdal::LasHeader::LasHeader(const pdal::LasHeader&)’ is implicitly deleted >> because the default definition would be ill-formed: >> 70 | class PDAL_DLL LasHeader >> | ^~~~~~~~~ >> /usr/include/pdal/io/LasHeader.hpp:70:16: error: use of deleted function >> ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) >> [with _Tp = pdal::LasHeader::Private; _Dp = >> std::default_delete<pdal::LasHeader::Private>]’ >> In file included from /usr/include/c++/11.2.0/memory:76, >> from /build/qgis/src/qgis/src/core/qgis.h:24, >> from >> /build/qgis/src/qgis/src/providers/pdal/qgspdalprovider.cpp:18: >> /usr/include/c++/11.2.0/bits/unique_ptr.h:468:7: note: declared here >> 468 | unique_ptr(const unique_ptr&) = delete; >> | ^~~~~~~~~~ >> make[2]: *** >> [src/providers/pdal/CMakeFiles/provider_pdal.dir/build.make:90: >> src/providers/pdal/CMakeFiles/provider_pdal.dir/qgspdalprovider.cpp.o] >> Error 1 >> make[1]: *** [CMakeFiles/Makefile2:7798: >> src/providers/pdal/CMakeFiles/provider_pdal.dir/all] Error 2 >> make: *** [Makefile:166: all] Error 2 > > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
