[gdal-dev] building gdal with VS10 64 bit
Tamas Szekeres
szekerest at gmail.com
Wed Nov 3 10:53:17 EDT 2010
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 <dburken at 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:_GDALSimpleImageWarp at 36 /INCLUDE:_GDALReprojectImage at 48 /INCLUDE:_GDALCo
> mputeMedianCutPCT at 32 /INCLUDE:_GDALDitherRGB2PCT at 28 /INCLUDE:_OCTNewCoordinateTransformation at 8/INCLUDE:_vbSafeArrayToPtr at 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 _GDALSimpleImageWarp at 36
> LINK : error LNK2001: unresolved external symbol _GDALReprojectImage at 48
> LINK : error LNK2001: unresolved external symbol
> _GDALComputeMedianCutPCT at 32
> LINK : error LNK2001: unresolved external symbol _GDALDitherRGB2PCT at 28
> LINK : error LNK2001: unresolved external symbol
> _OCTNewCoordinateTransformation at 8
> LINK : error LNK2001: unresolved external symbol _vbSafeArrayToPtr at 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 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/20101103/bc60f47a/attachment.html
More information about the gdal-dev
mailing list