<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi all,<br><br></div>We're using GDAL in our Open Source GIS application called MapWinGIS (<a href="https://mapwingis.codeplex.com">https://mapwingis.codeplex.com</a>).<br>
</div><div>MapWinGIS is build using Visual Studio 2008 Pro and its language is VC++.<br></div>We've been using GDAL for years now.<br></div>I'm currently in the process of update the external libraries, like GDAL, GEOS, etc.<br>
<br></div>I have compiled the trunk version of GDAL (v1.10.1), with the trunk version of Proj4, GEOS v3.4.2, ERDAS SDK v5 and the latest LizardTech SDK.<br></div>This process seems to be working OK, like it has been for the last several years.<br>
</div>When I test with gdalinfo.exe I can open tiff-files, ECW-files and MrSid-files.<br><br></div>But when I want to include the gdal.lib into MapWinGIS I get two strange errors which I don't get if I use GDAL v1.9.<br>
<br></div>#1: error LNK2005: _DllMain@12 already defined in mfcs90.lib(dllmodul.obj) gdal.lib<br>#2: fatal error LNK1194: cannot delay-load 'NCSEcw.dll' due to import of data symbol '"__declspec(dllimport) const NCS::CMutex::`vftable'" (__imp_??_7CMutex@NCS@@6B@)'; link without /DELAYLOAD:NCSEcw.dll<br>
<br></div><div>The second error is about the ERDAS SDK and can be solved by removing 'NCSEcw.dll' from the delay load binaries. But I'm not sure if we can still show ecw-files.<br><br></div><div>#1 seems to be the biggest problem and we've tried several different configurations and searched a lot using Google but we can solve this.<br>
<br></div><div>Does anybody understands what is going on and how we can fix this so we can use the latest GDAL library?<br></div><br><br></div>Thanks,<br clear="all"><div><div><div><div><div><div><div><div><div><div><div>
<div><div>
<br>
Paul<br>
<br>
<div style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div style="border:1px solid rgb(229,229,229);background-color:rgb(248,248,248);padding:0.8em 0.8em 0.3em"><div style="margin:0px 0px 8px"><p style="margin:0px">
<span><b><img style="float: left; margin-left: 5px; margin-right: 5px;" src="http://www.bontepaarden.nl/bontepaarden/images/newButton.png" alt="" height="120" width="160">Paul Meems </b><br><span>Release manager, configuration manager</span><br>
<span>and forum moderator of MapWindow GIS.</span><br><a href="http://www.mapwindow.org/" target="_blank"><span>www.mapwindow.org</span></a><br><br><span>Owner of MapWindow.nl - Support for</span><br><span>Dutch speaking users.</span><br>
<a href="http://www.mapwindow.nl/" target="_blank"><span>www.mapwindow.nl</span></a><br></span></p>
<p style="margin:0px"><b><br></b></p></div></div><img src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=3.9.12&t=1322134056890&u=482737fd0c4ca423" height="1" width="1"></div>
</div>
</div></div></div></div></div></div></div></div></div></div></div></div></div>