Hi Ivan, 

We do make some binary versions available, there are details in this blog post 
on how to install. 

https://spectraldifferences.wordpress.com/2014/08/06/dem-spdlib/

In terms of cmake, which version are you using. I think there have been some 
changes in the most recent (3?) version of cmake which the spdlib cmake scripts 
have not been updated for get. 

Best wishes, 

Pete


> On 17 Dec 2015, at 20:53, Ivan Marchesini <[email protected]> wrote:
> 
> Dear developers of SPDlib..
> I'm new to the software and I'm trying to install it on a ubuntu linux
> system where a lot of libraries and software are already installed
> (gdal, proj, grass, qgis, ecc..)
> I also installed boost, hdf5, and the other libraries form the
> repositories.
> 
> I have downloaded the development version and I have tried to compile
> the source code.
> 
> simply running cmake doesn't work.. I obtain the manual of cmake
> 
> then I tested
> 
> cmake src
> 
> but I obtain the following output/error:
> _________________________________________
> CMake Warning (dev) at CMakeLists.txt:393 (add_library):
>  Policy CMP0037 is not set: Target names should not be reserved and
> should
>  match a validity pattern.  Run "cmake --help-policy CMP0037" for
> policy
>  details.  Use the cmake_policy command to set the policy and suppress
> this
>  warning.
> 
>  The target name "spd/SPDDataExporter.cpp" is reserved or not valid for
>  certain CMake features, such as generator expressions, and may result
> in
>  undefined behavior.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> CMake Error at CMakeLists.txt:394 (target_link_libraries):
>  target_link_libraries called with incorrect number of arguments
> 
> 
> CMake Warning (dev) at CMakeLists.txt:397 (add_library):
>  Policy CMP0037 is not set: Target names should not be reserved and
> should
>  match a validity pattern.  Run "cmake --help-policy CMP0037" for
> policy
>  details.  Use the cmake_policy command to set the policy and suppress
> this
>  warning.
> 
>  The target name "alglibspd/alglibinternal.cpp" is reserved or not
> valid for
>  certain CMake features, such as generator expressions, and may result
> in
>  undefined behavior.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> CMake Warning (dev) at CMakeLists.txt:398 (add_library):
>  Policy CMP0037 is not set: Target names should not be reserved and
> should
>  match a validity pattern.  Run "cmake --help-policy CMP0037" for
> policy
>  details.  Use the cmake_policy command to set the policy and suppress
> this
>  warning.
> 
>  The target name "pulsewaves/arithmeticdecoder.cpp" is reserved or not
> valid
>  for certain CMake features, such as generator expressions, and may
> result
>  in undefined behavior.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> CMake Warning (dev) at CMakeLists.txt:400 (add_library):
>  Policy CMP0037 is not set: Target names should not be reserved and
> should
>  match a validity pattern.  Run "cmake --help-policy CMP0037" for
> policy
>  details.  Use the cmake_policy command to set the policy and suppress
> this
>  warning.
> 
>  The target name "spd/SPDASCIIMultiLineReader.cpp" is reserved or not
> valid
>  for certain CMake features, such as generator expressions, and may
> result
>  in undefined behavior.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> CMake Error at CMakeLists.txt:401 (target_link_libraries):
>  target_link_libraries called with incorrect number of arguments
> 
> 
> CMake Warning (dev) in CMakeLists.txt:
>  No cmake_minimum_required command is present.  A line of code such as
> 
>    cmake_minimum_required(VERSION 3.0)
> 
>  should be added at the top of the file.  The version specified may be
> lower
>  if you wish to support older CMake versions for this project.  For
> more
>  information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/ivan/sorgenti/spdlib/CMakeFiles/CMakeOutput.log".
> _______________________________________
> 
> 
> May I ask your help?
> 
> Thank you
> 
> Ivan
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> spdlib-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spdlib-develop


------------------------------------------------------------------------------
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to