Dave,<br><br>You may find all the required libs and headers for a successful compilation here:<br><br><a href="http://vbkto.dyndns.org/sdk/">http://vbkto.dyndns.org/sdk/</a><br><br>Best regards,<br><br>Tamas<br><br><br><br>
<div class="gmail_quote">2010/11/3 David Burken <span dir="ltr"><<a href="mailto:dburken@comcast.net">dburken@comcast.net</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Everyone,<br>
<br>
Just curious has anyone successfully built gdal with VS10? I'm not familiar with the link syntax like "/INCLUDE:_OGR_G_GetPointCount" but all of those are unresolved when linking gdal library. Any ideas appreciated. See below for build error.<br>
<br>
Take care,<br>
Dave<br>
<br>
<br>
lib /nologo /out:gdal.lib port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj<br>
ogrsf_frmts.lib(resolvexlinks.obj) : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library<br>
link /nologo /dll /INCLUDE:_OGRFeatureStylePuller /INCLUDE:_OSRValidate /INCLUDE:_OPTGetProjectionMethods /INCLUDE:_OGR_G_GetPointCount /INCLUDE:_OGRRegisterAll /INCLUDE:_GDALSimpleImageWarp@36 /INCLUDE:_GDALReprojectImage@48 /INCLUDE:_GDALCo<br>
mputeMedianCutPCT@32 /INCLUDE:_GDALDitherRGB2PCT@28 /INCLUDE:_OCTNewCoordinateTransformation@8 /INCLUDE:_vbSafeArrayToPtr@16 port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj D:\vs<br>
10_x64\osgeo\local\lib\libjpeg.lib D:\vs10_x64\osgeo\local\lib\geotiff_i.lib D:\vs10_x64\osgeo\local\lib\libtiff_i.lib odbc32.lib odbccp32.lib user32.lib D:\vs10_x64\osgeo\local\lib\png14d.lib gcore\Version.res /out:gdal18dev.dll<br>
/implib:gdal_i.lib<br>
Creating library gdal_i.lib and object gdal_i.exp<br>
LINK : error LNK2001: unresolved external symbol _OGRFeatureStylePuller<br>
LINK : error LNK2001: unresolved external symbol _OSRValidate<br>
LINK : error LNK2001: unresolved external symbol _OPTGetProjectionMethods<br>
LINK : error LNK2001: unresolved external symbol _OGR_G_GetPointCount<br>
LINK : error LNK2001: unresolved external symbol _OGRRegisterAll<br>
LINK : error LNK2001: unresolved external symbol _GDALSimpleImageWarp@36<br>
LINK : error LNK2001: unresolved external symbol _GDALReprojectImage@48<br>
LINK : error LNK2001: unresolved external symbol _GDALComputeMedianCutPCT@32<br>
LINK : error LNK2001: unresolved external symbol _GDALDitherRGB2PCT@28<br>
LINK : error LNK2001: unresolved external symbol _OCTNewCoordinateTransformation@8<br>
LINK : error LNK2001: unresolved external symbol _vbSafeArrayToPtr@16<br>
gdal18dev.dll : fatal error LNK1120: 11 unresolved externals<br>
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\link.EXE"' : return code '0x460'<br>
Stop.<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">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>