[gdal-dev] Build of gdal fails on missing OSGeo.GDAL.Core

2022-12-02 Thread Rob Stevens
I am very new to building out GIS tools on the MacOS platform, so I apologize for my rather turgid description below. I am trying to build gdal 3.6.0 (git cloned) on macos catalina 10.15.7 on a macbook pro 2017 On this machine I have various versions of Msoft dotnet core sdks installed (7.0.100,

Re: [gdal-dev] Build of gdal fails on missing OSGeo.GDAL.Core

2022-12-02 Thread Paul Harwood
I can have a think about what is causing the problem - but the simplest fix if you don't want the c# bindings is to build with -DBUILD_CSHARP_BINDINGS:BOOLOFF More on the compile switches here https://gdal.org/development/building_from_source.html#cmdoption-arg-BUILD_CSHARP_BINDINGS-BOOL On Fri,

Re: [gdal-dev] Build of gdal fails on missing OSGeo.GDAL.Core

2022-12-02 Thread Paul Harwood
sorry - cut and paste error. That should have been -DBUILD_CSHARP_BINDINGS=OFF On Fri, 2 Dec 2022 at 12:53, Paul Harwood wrote: > I can have a think about what is causing the problem - but the simplest > fix if you don't want the c# bindings is to build with > -DBUILD_CSHARP_BINDINGS:BOOLOFF >

Re: [gdal-dev] Build of gdal fails on missing OSGeo.GDAL.Core

2022-12-02 Thread Paul Harwood
BTW - I am fairly certain that the error messages are because the .NET SDK release default is still set as .NET 5 and reading your email - you don't have .NET 5. Since you did not set the .NET release - it is trying to use the default. I think the error messages could be a lot better! I can have

Re: [gdal-dev] Build of gdal fails on missing OSGeo.GDAL.Core

2022-12-02 Thread Paul Harwood
PR proposed related to this https://github.com/OSGeo/gdal/pull/6843 On Fri, 2 Dec 2022 at 13:18, Paul Harwood wrote: > BTW - I am fairly certain that the error messages are because the .NET SDK > release default is still set as .NET 5 and reading your email - you don't > have .NET 5. Since you