Dave, You may find all the required libs and headers for a successful compilation here:
http://vbkto.dyndns.org/sdk/ Best regards, Tamas 2010/11/3 David Burken <dbur...@comcast.net> > Hi Everyone, > > 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. > > Take care, > Dave > > > 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 > 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 > link /nologo /dll /INCLUDE:_OGRFeatureStylePuller > /INCLUDE:_OSRValidate /INCLUDE:_OPTGetProjectionMethods > /INCLUDE:_OGR_G_GetPointCount /INCLUDE:_OGRRegisterAll > /INCLUDE:_gdalsimpleimagew...@36 /INCLUDE:_gdalreprojectim...@48 > /INCLUDE:_GDALCo > mputemediancut...@32 /INCLUDE:_gdalditherrgb2...@28 > /INCLUDE:_octnewcoordinatetransformat...@8/INCLUDE:_vbsafearrayto...@16port\*.obj > gcore\*.obj alg\*.obj frmts\o\*.obj > ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj > D:\vs > 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 > /implib:gdal_i.lib > Creating library gdal_i.lib and object gdal_i.exp > LINK : error LNK2001: unresolved external symbol _OGRFeatureStylePuller > LINK : error LNK2001: unresolved external symbol _OSRValidate > LINK : error LNK2001: unresolved external symbol _OPTGetProjectionMethods > LINK : error LNK2001: unresolved external symbol _OGR_G_GetPointCount > LINK : error LNK2001: unresolved external symbol _OGRRegisterAll > LINK : error LNK2001: unresolved external symbol _gdalsimpleimagew...@36 > LINK : error LNK2001: unresolved external symbol _gdalreprojectim...@48 > LINK : error LNK2001: unresolved external symbol > _gdalcomputemediancut...@32 > LINK : error LNK2001: unresolved external symbol _gdalditherrgb2...@28 > LINK : error LNK2001: unresolved external symbol > _octnewcoordinatetransformat...@8 > LINK : error LNK2001: unresolved external symbol _vbsafearrayto...@16 > gdal18dev.dll : fatal error LNK1120: 11 unresolved externals > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\BIN\amd64\link.EXE"' : return code '0x460' > Stop. > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev