Dear Pete and Dan,

Thank you very much for your prompt reply. Yesterday, I succeeded to
compile the stable version of spdlib (20130504) by reverting the gdal and
liblas to older versions. I would appreciate if I can get more instructions
about laslib compilation and installation. At the same time, I will try to
work with conda.



Regards,

Tiangang


On Thu, Oct 27, 2016 at 3:36 PM, Pete Bunting <petebunt...@mac.com> wrote:

> 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 <tiangang.yin...@gmail.com> 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 spdlib
>
> The installation gives me several missing functions referring to several
> functions and includes files from LAStools (https://rapidlasso.com/lastoo
> ls/), 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
> tiangang.yin...@gmail.com
>
>
>


-- 
Tiangang
tiangang.yin...@gmail.com
------------------------------------------------------------------------------
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
spdlib-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to