<div dir="ltr"><div><div><div><div>thank you very muchAndrew, I checked and LASZIP_INLCUDE_DIR was not found.<br><br>The problem was that the include path for laszip.hpp in cmake assumes I got the original repo:<br></div><a href="https://github.com/LASzip/LASzip.git">https://github.com/LASzip/LASzip.git</a><br>so that it can find under : LASzip/include<br></div><br>I was using the whole: <br><a href="https://github.com/LAStools/LAStools">https://github.com/LAStools/LAStools</a><br><br></div>which also has the laszip.hpp, but not in the path that is required by PDAL (laszip/laszip.hpp as opposed to src/laszip.hpp)<br><br></div> I pull that repo, re run cmake with the new include dir and is working wonders, thanks!<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Marcos Nino-Ruiz, PhD.<br>Geospatial e-Enabler<br>AURIN - The University of Melbourne<br>Victoria 3010<br>Australia <div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 5, 2015 at 12:04 PM, Andrew Bell <span dir="ltr"><<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, Aug 4, 2015 at 8:07 PM, Marcos Nino-Ruiz <span dir="ltr"><<a href="mailto:mninoruiz@gmail.com" target="_blank">mninoruiz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br clear="all"><div><div><div dir="ltr"><div>Hi all,<br><br>I'm developer trying to get a grasp of lidar
data, and you library is of great help, thanks! Hopefully soon I will be
able to contribute some...<br>But so far I have had the following issue after installation:<br><br>Using the binary from osgeo4w, I have no problem reading (<span style="font-family:garamond,serif">pdal info</span>) a .laz file, however, after following the lengthy compilation with dependencies (successfully)<br><br><span style="font-family:garamond,serif">marcos@kubuntu14-10:~/ pdal --version<br>------------------------------</span><span style="font-family:garamond,serif">------------------------------</span><span style="font-family:garamond,serif">------------------------------<br>pdal (PDAL 1.0.0.b1 (f52b08) with GeoTIFF 1.4.0 GDAL 1.10.1)<br><br>marcos@kubuntu14-10:$ pdal info splits/L01_classed_1.laz <br>PDAL: LASzip is not enabled. Can't read LAZ data.</span><br><br>But I know the file is correct and lazlib is in the path because lasinfo works:<br><br><span style="font-family:garamond,serif">marcos@kubuntu14-10:~/ lasinfo splits/L01_classed_1.laz<br>lasinfo for splits/L01_classed_1.laz<br>reporting all LAS header entries:<br></span></div></div></div></div></div></blockquote><div><br></div></span><div>Please check your CMakeCache.txt to make sure you have:</div><div>WITH_LASZIP:BOOL=ON<br></div><div><br></div><div>If so, confirm also that you have lines in the same file similar to:</div><div><div>//Path to a file.</div><div>LASZIP_INCLUDE_DIR:PATH=/usr/local/include</div><div><br></div><div>//Path to a library.</div><div>LASZIP_LIBRARY:FILEPATH=/usr/local/lib/liblaszip.dylib</div></div><div><br></div><div>If you re-run cmake, it should also report whether LASZIP was enabled and found:</div><div><br></div><div><div>-- The following RECOMMENDED packages have been found:</div><div><br></div><div> * LASzip</div><div> Provides LASzip compression</div></div><div><br></div><div>Hope this helps,</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div><span class="HOEnZb"><font color="#888888">-- <br><div>Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</font></span></div></div>
</blockquote></div><br></div>