[gdal-dev] C# updates for GDAL (swig 3.0.8 & dotnet core 2.0)
Eric Wenger ARA/SED
ewenger at ara.com
Thu Aug 31 07:42:57 PDT 2017
All,
I have the [unfortunate] responsibility of delivering a piece of research code written in C# on Windows to a customer to be dockerized and run on CentOS 7. As a result, I have made a couple of commits to my gdal repo on Github that I would eventually like to incorporate into the mainline. I'm happy to contribute these at some point, but I'd like to provide them to the community in the meantime in case anyone else can take a look or use them in their current work.
--Eric
1. Fix C# build issues with SWIG 3.0.8 (ewenger/gdal, branch csharp-swig3x, commit d7e3963). This commit fixes a number of issues that have caused users to have difficulty building code generated with later versions of SWIG. With this change, all build issues with SWIG 3.0.8 and Mono/VS .NET 4.x are resolved.
https://github.com/ewenger/gdal/commit/d7e3963f27a2b0a54078763e3cad61aab0f47885
2. Support building gdal using the .NET Core 2.0 framework/SDK. (ewenger/gdal, branch dotnet-core-2.0, commit cfd8ce2). This commit adds solution and project files that support building the csharp binding dlls using the .NET Core 2.0 SDK. I could use some advice here, since the new .NET Core 2.0 SDK is, as usual, unfriendly to external build tools. From what I have learned so far, there is no way to call the new C# compiler directly and integrate the build into GDAL's makefile structure. I'd like to find a way around committing solutions and projects, so please let me know if you have ideas.
https://github.com/ewenger/gdal/commit/cfd8ce2824c259c7c663f17ab8fdfd7365d4a408
------------------------------------------------------
Eric J Wenger, Senior Scientist
Southeast Division | Remote Sensing and Decision Analytics
Applied Research Associates, Inc.
8537 Six Forks Rd. Ste. 600 - Raleigh, NC 27615
T: 919-582-3449 F: 919-582-3301 M: 919-816-2864
www.ara.com<http://www.ara.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170831/6dd06bc7/attachment.html>
More information about the gdal-dev
mailing list