[QGIS-Developer] compiling qgis 3.28 and failure with pdal or laz-perf?

Okanîsis sault.don at gmail.com
Mon Nov 14 09:57:05 PST 2022


Morning everyone! Hope you had a good weekend.

I've got a small cmake compilation error when trying to build QGIS 3.28
(from git release branch r49-gdd47d4ab7e9).

The error looks like its from a change in laz-perf:

[ 26%] Building CXX object
> src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/
> CopcSupport.cpp.o
> /build/qgis/src/qgis/external/untwine/bu/CopcSupport.cpp: In member
> function ‘void untwine::bu::CopcSupport::addEbFields()’:
> /build/qgis/src/qgis/external/untwine/bu/CopcSupport.cpp:128:29: error: no
> matching function for call to ‘lazperf::eb_vlr::addField(lazperf::eb_vlr::
> ebfield&)’
>  128 |             m_ebVlr.addField(f);
>      |             ~~~~~~~~~~~~~~~~^~~
> In file included from /build/qgis/src/qgis/external/untwine/bu/
> CopcSupport.hpp:22,
>                 from
> /build/qgis/src/qgis/external/untwine/bu/CopcSupport.cpp:16:
> /usr/include/lazperf/vlr.hpp:159:10: note: candidate: ‘void
> lazperf::eb_vlr::addField()’
>  159 |     void addField();
>      |          ^~~~~~~~
> /usr/include/lazperf/vlr.hpp:159:10: note:   candidate expects 0
> arguments, 1 provided
> make[2]: *** [src/providers/pdal/CMakeFiles/untwine.dir/build.make:104:
> src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/CopcSupport.cpp.
> o] Error 1
> make[1]: *** [CMakeFiles/Makefile2:7747:
> src/providers/pdal/CMakeFiles/untwine.dir/all] Error 2


Thanks for any insight!



Donovan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221114/e3ad9d8b/attachment-0001.htm>


More information about the QGIS-Developer mailing list