<div dir="ltr">Adam,<div><br></div><div>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.</div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-28 13:41 GMT+01:00 Adam Baxter <span dir="ltr"><<a href="mailto:voltagex@voltagex.org" target="_blank">voltagex@voltagex.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I've been able to build GDAL 1.11.1 using nmake, but the following<br>
error happens when attempting to build the bindings in \swig\csharp.<br>
<br>
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1<br>
Copyright (C) Microsoft Corporation. All rights reserved.<br>
<br>
cd ogr<br>
nmake /nologo /f <a href="http://makefile.vc" target="_blank">makefile.vc</a><br>
NMAKE : fatal error U1073: don't know how to make 'ogr_wrap.obj'<br>
Stop.<br>
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual<br>
Studio 12.0\VC\BIN\nmake.EXE"' : return code '0x2'<br>
Stop.<br>
<br>
<br>
After a make clean and a make interface I attempted the build again.<br>
I've attached the errors but most of them seem to be related to not<br>
finding types in System.Windows.Interop (HandleRef, IntPtr,<br>
IDisposable)<br>
<br>
The swig version I'm using is SWIG Version 3.0.2<br>
<br>
Compiled with i586-mingw32msvc-g++ [i586-pc-mingw32msvc]<br>
<br>
Configured options: +pcre<br>
<br>
Any ideas?<br>
<br>
Thanks,<br>
Adam<br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br></div>