Hi Daniel,
It is possible that the conda version of hdf5 rather than our one got pulled in
(which doesn’t include the c++ libraries). I’ve just uploaded a new version, do
you want try updating using:
conda update -c osgeo hdf5
The conda build under OS X isn’t as well tested as the Linux build, we’ll have
a look into it (might not be for a while though).
Pete’s instructions for building under OS X are here:
http://users.aber.ac.uk/pfb/software/ <http://users.aber.ac.uk/pfb/software/>.
They assume installing everything off the main path and managing paths using
envmaster. There is a brief introduction to envmaster here:
http://spectraldifferences.wordpress.com/2013/10/21/envmaster/
<http://spectraldifferences.wordpress.com/2013/10/21/envmaster/>
We’ve found building everything from source and managing the paths using
envmaster is the most reliable way to get SPDLib compiled.
If you’re looking for the quickest way to get SPDLib running on your mac
installing through conda under a Linux virtual machine would probably be the
best options. There are some instructions on getting a virtual machine set up
here:
http://spectraldifferences.wordpress.com/2014/09/24/installing-rsgislib-on-windows-through-a-virtual-machine/
<http://spectraldifferences.wordpress.com/2014/09/24/installing-rsgislib-on-windows-through-a-virtual-machine/>
Hope this helps,
Thanks,
Dan
> On 25 Nov 2014, at 15:07, Daniel Kuekenbrink <[email protected]>
> wrote:
>
> 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
------------------------------------------------------------------------------
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