<html><head></head><body><div dir="auto">Hi,<br><br>SHAME ON ME and sorry for the noise. I indeed skipped the last command to build PDAL, thinking somehow that installing it was optional and for people that actually need to run pdal commands directly.<br>After a sudo ninja install and adjusting path to pdal library options, building QGIS with PDAL works just fine.<br><br>Thanks Werner and Richard for showing the missing step.<br><br>Kind regards,<br>Harrissou</div><br><br><div class="gmail_quote"><div dir="auto">Le 17 août 2023 11:50:12 GMT+02:00, Werner Macho <werner.macho@gmail.com> a écrit :</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi Harrissou,<div>What I see missing from your PDAL approach is the "make install" at the end..</div><div>This is how the built pdal gets distributed on your OS and afterwards it should be available to QGIS cmake process.</div><div>regards</div><div>Werner</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 17, 2023 at 11:47 AM Harrissou s. <<a href="mailto:delazj@gmail.com">delazj@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Hi Werner,<br><br>I'm not on the machine I did the build earlier so I'll get back to you probably tonight.<br>As for the process, I just did what is in the docs, aka:<br>- clone the repo<br>- create a build folder<br>- cd build<br>- run cmake -G Ninja ..<br>- run ninja<br>And I got no errors reported.<br>Is this different from your process?<br><br>I was expecting to have the files in the build/lib folder within the pdal repository (what I understood from the docs). I also checked /usr/lib. I confess I didn't check that /usr/local/lib folder. Will do later today.<br><br>Thanks,<br>Harrissou<br></div><br><br><div class="gmail_quote"><div dir="auto">Le 17 août 2023 08:41:00 GMT+02:00, Werner Macho <<a href="mailto:werner.macho@gmail.com" target="_blank">werner.macho@gmail.com</a>> a écrit :</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi Harrissou,<div><br><div>I have self compiled PDAL and QGIS running on debian bookworm.</div><div>It worked without any problems.</div><div>First I compiled and installed PDAL </div><div>Everything (including libpdalcpp.so) gets installed under /usr/local/lib</div><div>and afterwards I used</div><div>-DWITH_PDAL=ON <br></div><div>to include PDAL. </div><div> Everything worked smoothly.</div><div>What is your workflow?</div><div><br></div><div>regards</div><div>Werner</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 17, 2023 at 7:42 AM Harrissou s. via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div dir="auto">Hello,<br><br>I'm trying to build QGIS with PDAL on Debian bookworm and I'm failing.<br>As far as I can tell, Bookworm dropped support of libpdal-dev [0] so I tried to build PDAL locally following instructions in their documentation [1].<br>Everything seems to work nicely. I have the bin/pdal and tests are OK with it, but still no lib/libpdalcpp* on my machine.<br><br>Trying to build QGIS logically ends with:<br>ninja: error: '/lib/libpdalcpp.so', needed by 'output/lib/libqgis_core.so.3.33.0', missing and no known rule to make it<br><br>Anyone knows how I can fix this?<br><br>Thanks in advance,<br>Harrissou<br><br>[0] <a href="https://packages.debian.org/bullseye/libpdal-dev" target="_blank">https://packages.debian.org/bullseye/libpdal-dev</a> (exists in bullseye but not bookworm)<br>[1] <a href="https://pdal.io/en/latest/development/compilation/unix.html#using-ninja-on-linux-or-osx" target="_blank">https://pdal.io/en/latest/development/compilation/unix.html#using-ninja-on-linux-or-osx</a> <br><br></div></div>_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>
</blockquote></div></div></blockquote></div>
</blockquote></div></body></html>