[pdal] Installing python-pdal with rivlib support
Paul Harwood
runette at gmail.com
Tue Sep 21 09:45:52 PDT 2021
One thing I do a lot when developing - including for pdal-python - is to
install with Conda and then replace the binary objects (e.g, .dll or .so or
.dylib etc) with my custom built versions. It usually works.
Instal pdal-python into a conda env (lets call it 'test').
Then go into your conda root (usually '~/Anaconda3' or '~/miniconda3' or
something like that) and find the 'envs' folder. There should be a folder
in there for the conda environment (i.e. 'test' as specified above).
In there - find the PDAL shared object - depends on your os (e.g. pdal.dll
in `Library\bin` on Win or pdal.dylib in `bin` on mac etc). replace that
and any other shared objects with your custom compiled versions as
required.
Pdal-python should now be using your custom version of PDAL.
On Tue, 21 Sept 2021 at 17:26, Phil Wilkes <p.wilkes at ucl.ac.uk> wrote:
> Hi there
>
> I would like to install pdal with the python extension and with rivlib
> support. I have successfully installed pdal with rivlib support (compiled
> from source) and also the python extension installed through conda. But the
> version of pdal used when importing into Python is the version also pulled
> from conda - not my built version.
>
> My next attempt was to pull the git repository of python-pdal and install
> with setup.py. I have put this in the PDAL source directory. I had to make
> some adjustments to the PDALConfig.cmake (the PACKAGE_PREFIX_DIR was
> pointing at my home directory not the build directory of PDAL so I have
> hard coded this for now) but I am getting many errors (I think related to
> not finding certain headers e.g. *fatal error: pdal/pdal_config.hpp: No
> such file or directory*).
>
> Any help with this issue would be greatly received.
>
> Phil
>
> Dr. Phil Wilkes
>
> UCL Geography, Gower Street, London WC1E 6BT
>
> & NERC National Centre for Earth Observation
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20210921/ea5150ec/attachment.html>
More information about the pdal
mailing list