[gdal-dev] Can't build gdal in x64

Mihaela Gaspar mihaela.gaspar at urbanrobotics.net
Mon May 13 08:53:28 PDT 2013


I am trying to build GDAL (1.9.2) in x64.

In the instructions, I see:

# Uncomment the following if you are building for 64-bit windows#
(x64). You'll need to have PATH, INCLUDE and LIB set up for 64-bit#
compiles.!IF "$(PLATFORM)" == "x64"
WIN64=YES!ENDIF

And then, lower,

# Under win64, symbols for function names lack the underscore prefix#
present on win32. Also the STDCALL calling convention is not
used.!IFDEF WIN64!UNDEF STDCALL!ELSE
SYM_PREFIX=_!ENDIF

Can't find a PATH, INCLUDE and LIB specific for x64, or anything else that
I should do...

I can build in Win32.

In x64, I get linker errors:

LINK : error LNK2001: unresolved external symbol _OGRFeatureStylePuller
LINK : error LNK2001: unresolved external symbol _OSRValidate...
gdal19.dll : fatal error LNK1120: 74 unresolved externals

Please help.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130513/05ccfccb/attachment.html>


More information about the gdal-dev mailing list