[QGIS-Developer] PDAL compile on bookworm?

Richard Duivenvoorde rdmailings at duif.net
Mon Sep 11 13:39:05 PDT 2023


Mmm, installing in /usr/local/lib of pdal, results in linking errors (still pointing) to pdal_base and pdal_util...?

Do I have cached stuff? Cannot find pdal_base or pdal_util in my build dir??

Thanks for any pointers,

Richard



[626/10160] Linking CXX executable output/lib/qgis/untwine
FAILED: output/lib/qgis/untwine
: && ccache /usr/bin/c++ -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wnon-virtual-dtor -Wno-redundant-move -Wno-misleading-indentation -Wno-deprecated-copy -g -Wl,--no-undefined src/providers/pdal/CMakeFiles/untwine.dir/untwine_autogen/mocs_compilation.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/BuPyramid.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/CopcSupport.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/OctantInfo.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/Processor.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/PyramidManager.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/Stats.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/BufferCache.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Cell.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Epf.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/FileProcessor.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Grid.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Reprocessor.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Writer.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/Las.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/MapFile.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/ProgressWriter.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/ThreadPool.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/Untwine.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/charbuf.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/filestream.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/header.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/lazperf.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/readers.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/vlr.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/writers.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_byte10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_byte14.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_gpstime10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_nir14.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_point10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_point14.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_rgb10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_rgb14.cpp.o -o output/lib/qgis/untwine -L/home/richard/git/qgis/build/src/core   -L/home/richard/git/qgis/build/src/gui   -L/usr/local/lib -Wl,-rpath,/home/richard/git/qgis/build/src/core:/home/richard/git/qgis/build/src/gui:/usr/local/lib:  -lpdalcpp  -lpdalcpp && :
/usr/bin/ld: cannot find -lpdal_base: No such file or directory
/usr/bin/ld: cannot find -lpdal_util: No such file or directory
/usr/bin/ld: cannot find -lpdal_base: No such file or directory
/usr/bin/ld: cannot find -lpdal_util: No such file or directory
collect2: error: ld returned 1 exit status


On 9/11/23 20:15, Jürgen E. Fischer via QGIS-Developer wrote:
> Hi Richard,
> 
> On Mon, 11. Sep 2023 at 17:11:13 +0200, Richard Duivenvoorde via QGIS-Developer wrote:
>> One more question ;-)
>>
>> After pdal install: if I try to compile QGIS 'WITH_PDAL', ccmake find the PDAL_BIN, PDAL_CPP_LIBRARY and PDAL_INCLUDE_DIR
>>
>> But NOT the PDAL_UTIL_LIBRARY.
> 
> That was dropped and is included in libpdalcpp - so it's probably not needed
> anymore and linking libpdalcpp is enough.
> 
> https://github.com/PDAL/PDAL/commit/a3faa03218e9ea6dee1503f635b17f57f4c82ff7
> 
> Jürgen
> 
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the QGIS-Developer mailing list