[pdal] PDAL configuration using CMake

pidgeon13 at googlemail.com pidgeon13 at googlemail.com
Thu Nov 16 06:46:20 PST 2017


Hi Howard,

I’m using CMake 3.9.6 (the latest release version), and I’m looking for Python3. What version of CMake do you use? I will have a look at the appveyor config now, thank you!

Thanks,

Stephen

Sent from Mail for Windows 10

From: Howard Butler
Sent: 16 November 2017 14:27
To: Stephen Pidgeon
Cc: pdal at lists.osgeo.org
Subject: Re: [pdal] PDAL configuration using CMake


> On Nov 16, 2017, at 5:52 AM, Stephen Pidgeon <pidgeon13 at googlemail.com> wrote:
> 
> Hi All,
> 
> I am having some problems configuring PDAL and was hoping that someone could give me a hand.

...

> CMake Error at cmake/modules/FindNumPy.cmake:25 (STRING):
>   STRING sub-command REPLACE requires at least four arguments.

This issue is something that must have changed with CMake.  The AppVeyor builds do find Python, but I think it is because we're on an older version of CMake there. See [1] for some more information.  

Which version of CMake are you using, and are you trying to find OSGeo4W's Python3 or Python2?

https://github.com/PDAL/PDAL/blob/master/scripts/appveyor/config.cmd provides the config that's much like the hobu-windows.bat example file, but up-to-date with current OSGeo4W64 setups.

Howard


[1] https://ci.appveyor.com/project/hobu/pdal/build/1.0.3720/job/es6wsvglke9x1ebe#L59

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20171116/4ee1b131/attachment.html>


More information about the pdal mailing list