Dear Tiangang,
We have moved SPDLib away from using LibLAS (http://www.liblas.org) to using
laslib (i.e., from lastools; https://github.com/LAStools/LAStools) as it
supports LAS 1.3 with waveforms.
Dan Clewley (cc’d), compete led this work so he might be able to provide advice
on the best way to compile laslib.
Alternatively, we make binary versions available via conda. If you install
miniconda (http://conda.pydata.org/miniconda.html) and the run:
conda install -c conda-forge -c rios spdlib
Then it will install the latest version of SPDLib.
Many thanks,
Pete
> On 26 Oct 2016, at 08:19, Tiangang Yin <[email protected]> wrote:
>
> Dear Dr. Bunting,
>
>
> My name is Tiangang from CESBIO laboratory of Toulouse. I have several
> questions related to the SPDlib installation, and I hope you could help me.
>
> 2 years ago, I was using the SPDlib to process our simulated LiDAR data. It
> was working fine. Recently, I tried to reinstall SPDlib on my new computer
> using the latest commit from
>
> hg clone https://bitbucket.org/petebunting/spdlib
> <https://bitbucket.org/petebunting/spdlib> spdlib
>
> The installation gives me several missing functions referring to several
> functions and includes files from LAStools (https://rapidlasso.com/lastools/
> <https://rapidlasso.com/lastools/>), or maybe libLAS.
>
> For example, the compilation error shows:
>
> In file included from /home/ctpp/GIT/spdlib/include/spd/SPDIOFactory.h:43:0,
> from /home/ctpp/GIT/spdlib/src/spd/SPDIOFactory.cpp:24:
> /home/ctpp/GIT/spdlib/include/spd/SPDLASFileImporter.h:33:25: fatal error:
> lasreader.hpp: No such file or directory
> #include <lasreader.hpp>
> ^
> compilation terminated.
> make[2]: *** [src/CMakeFiles/spd.dir/spd/SPDIOFactory.cpp.o] Error 1
> make[1]: *** [src/CMakeFiles/spd.dir/all] Error 2
> make: *** [all] Error 2
>
> The lasreader.hpp has already been removed from libLAS 1.7.0, and the latest
> version of libLAS is 1.8.1.
>
> I can imagine that SPDlib might need a specific version of libLAS to compile
> in the latest version. However, I can not find any instructions on how the
> installation of configuration of LAStools for successful compilation of
> SPDlib. For libLAS, I think several functions changes from the latest version
> of the library. Could you let me know what version of libLAS are you using,
> or any instructions to install LAStools?
>
> I would also appreciate if you can suggest on the versions of all the
> dependencies of spdlib, including:
>
> CGAL
> gdal
> gmp
> gsl
> hdf5
> laszip
> libLAS
> mpfr
> proj
> qt
> xerces
> zlib
>
>
> Best Regards,
>
> --
> Tiangang
> [email protected] <mailto:[email protected]>
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop