Good Day
I was trying to install SPDLib on my Mac (OS X 10.10.1) for some time now, but
unfortunately with no luck so far.
First I was trying to use the binary installation provided on your site. The
installation works, yet it seems that several command line tools are not
available (such as spdtranslate).
So I tried installing via conda. Here the spd3dpointsviewer package could not
been found for my system architecture. So I tried installing without this
package. This works. But when trying to run spdtranslate I get the following
error message
dyld: Library not loaded: @loader_path/../lib/libhdf5_cpp.8.dylib
Referenced from: /Users/dkuekenb/miniconda3/bin/spdtranslate
Reason: image not found
Trace/BPT trap: 5
I also searched for this library inside the miniconda directory, but I could
not find it.
Finally I tried installing from source. I think I was able to install all
dependencies. But when trying to install the spdlib from source I get the
following error when trying to run make
/Users/dkuekenb/SPDLibSoftwareInstallers/spdlib/src/spd/SPDLASFileExporter.cpp:151:43:
error: no matching constructor for
initialization of 'liblas::Point'
liblas::Point point;
^
/usr/local/include/liblas/point.hpp:109:5: note: candidate constructor not
viable: requires single argument 'header', but no
arguments were provided
Point(Header const* header);
^
/usr/local/include/liblas/point.hpp:110:5: note: candidate constructor not
viable: requires single argument 'other', but no arguments
were provided
Point(Point const& other);
^
/Users/dkuekenb/SPDLibSoftwareInstallers/spdlib/src/spd/SPDLASFileExporter.cpp:255:43:
error: no matching constructor for
initialization of 'liblas::Point'
liblas::Point point;
^
/usr/local/include/liblas/point.hpp:109:5: note: candidate constructor not
viable: requires single argument 'header', but no
arguments were provided
Point(Header const* header);
^
/usr/local/include/liblas/point.hpp:110:5: note: candidate constructor not
viable: requires single argument 'other', but no arguments
were provided
Point(Point const& other);
^
/Users/dkuekenb/SPDLibSoftwareInstallers/spdlib/src/spd/SPDLASFileExporter.cpp:515:43:
error: no matching constructor for
initialization of 'liblas::Point'
liblas::Point point;
^
/usr/local/include/liblas/point.hpp:109:5: note: candidate constructor not
viable: requires single argument 'header', but no
arguments were provided
Point(Header const* header);
^
/usr/local/include/liblas/point.hpp:110:5: note: candidate constructor not
viable: requires single argument 'other', but no arguments
were provided
Point(Point const& other);
^
/Users/dkuekenb/SPDLibSoftwareInstallers/spdlib/src/spd/SPDLASFileExporter.cpp:619:43:
error: no matching constructor for
initialization of 'liblas::Point'
liblas::Point point;
^
/usr/local/include/liblas/point.hpp:109:5: note: candidate constructor not
viable: requires single argument 'header', but no
arguments were provided
Point(Header const* header);
^
/usr/local/include/liblas/point.hpp:110:5: note: candidate constructor not
viable: requires single argument 'other', but no arguments
were provided
Point(Point const& other);
^
4 errors generated.
make[2]: *** [src/CMakeFiles/spd.dir/spd/SPDLASFileExporter.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/spd.dir/all] Error 2
make: *** [all] Error 2
Do you have any suggestion on how to make spdlib run on my Mac OS X Yosemite
machine? Preferrably with the miniconda or the binary installation option? Or
would it be best to run it on a linux machine?
Thanks in advance!
Regards
Daniel
--
Daniel Kükenbrink
Remote Sensing Laboratories
Dept. Of Geography
University of Zurich
Winterthurerstrasse 190
CH-8057 Zurich / Switzerland
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop