<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Great thanks Paul. I copied just libpdal_plugin_reader_rxp.so to /lib in my conda environment and it works! Thanks for your help.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>Dr. Phil Wilkes</span></p><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>UCL Geography, Gower Street, London WC1E 6BT</span></p><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>& NERC National Centre for Earth Observation</span></p></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 21 Sept 2021 at 17:46, Paul Harwood <<a href="mailto:runette@gmail.com">runette@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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.<br><br>Instal pdal-python into a conda env (lets call it 'test').<div><br></div><div>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).<br><br>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. </div><div><br></div><div>Pdal-python should now be using your custom version of PDAL.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 21 Sept 2021 at 17:26, Phil Wilkes <<a href="mailto:p.wilkes@ucl.ac.uk" target="_blank">p.wilkes@ucl.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi there<div><br></div><div>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. </div><div><br></div><div>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. <i>fatal error: pdal/pdal_config.hpp: No such file or directory</i>). </div><div><br></div><div>Any help with this issue would be greatly received.</div><div><br></div><div>Phil</div><br clear="all"><div><div dir="ltr"><div dir="ltr"><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>Dr. Phil Wilkes</span></p><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>UCL Geography, Gower Street, London WC1E 6BT</span></p><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>& NERC National Centre for Earth Observation</span></p></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a><br>
</blockquote></div>
</blockquote></div>