I am trying to build GDAL (1.9.2) on x64.
In the instructions, I see:
And then below
# Under win64, symbols for function names lack the underscore prefix
Cannot find PATH, INCLUDE and LIB for x64 or anything else I have to do ...
I can build in Win32.
On 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 NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x460'
I put (for assembly in Win32)
!IFNDEF PLATFORM PLATFORM=WIN32 !ENDIF
Changed to
!IFNDEF PLATFORM PLATFORM=x64 !ENDIF
(build in x64) - And it worked. But only if I build from within Visual Studio.
I would like to be able to use the bat file (and build the alll platform / configuration) The above - while it builds VS, it will not build from the command line (with the commands:
start /b /wait nmake -f makefile.vc clean start /b /wait nmake.exe /f makefile.vc PLATFORM=x64 start /b /wait nmake.exe /f makefile.vc devinstall PLATFORM=x64
The same thing happens in Win32 ...
I can’t understand what’s wrong ...
source share