[gdal-dev] Building C# bindings with VS2012/3

Tamas Szekeres szekerest at gmail.com
Tue Oct 28 07:08:04 PDT 2014


Adam,

This is probably due to several breaking changes in the latest SWIG
versions related to the fixes in GDAL C# bindings, you should try with a
1.3.x version instead.

Best  regards,

Tamas




2014-10-28 13:41 GMT+01:00 Adam Baxter <voltagex at voltagex.org>:

> Hi,
> I've been able to build GDAL 1.11.1 using nmake, but the following
> error happens when attempting to build the bindings in \swig\csharp.
>
> Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>     cd ogr
>     nmake /nologo /f makefile.vc
> NMAKE : fatal error U1073: don't know how to make 'ogr_wrap.obj'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 12.0\VC\BIN\nmake.EXE"' : return code '0x2'
> Stop.
>
>
> After a make clean and a make interface I attempted the build again.
> I've attached the errors but most of them seem to be related to not
> finding types in System.Windows.Interop (HandleRef, IntPtr,
> IDisposable)
>
> The swig version I'm using is SWIG Version 3.0.2
>
> Compiled with i586-mingw32msvc-g++ [i586-pc-mingw32msvc]
>
> Configured options: +pcre
>
> Any ideas?
>
> Thanks,
> Adam
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141028/9266e774/attachment.html>


More information about the gdal-dev mailing list