[Gdal-dev] GDAL on 64-bit Windows?

Simon Perkins sy at perkins.net
Mon May 15 19:13:06 EDT 2006


Hi,

Has anyone successfully compiled GDAL on 64-bit windows (in 64-bit 
mode). I'm using Visual Studio 2005, with the command line tools enabled 
using the "x86_amd64" option, which uses the 32-bit compiler to create 
64-bit executables and libraries. With GDAL 1.3.2:

 > nmake /f makefile.vc

...

C:\cygwin\home\154712\src\gdal-1.3.2\frmts>cd pcraster   && nmake 
/NOLOGO /f mak
efile.vc   && cd ..
        cl /nologo /MD /EHsc /Ox -I..\..\port -I..\..\ogr -I..\..\gcore  
-I..\..
\alg -Ilibcsf /c pcrasterdataset.cpp
pcrasterdataset.cpp
c:\cygwin\home\154712\src\gdal-1.3.2\frmts\pcraster\libcsf\csftypes.h(383) 
: fat
al error C1189: #error :  BYTE ORDER NOT SPECIFIED (CPU_LITTLE_ENDIAN or 
CPU_BIG
_ENDIAN)
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual 
Studio 8\VC
\BIN\x86_amd64\cl.EXE"' : return code '0x2'
Stop.

C:\cygwin\home\154712\src\gdal-1.3.2\frmts\pcraster>cd leveller   && 
nmake /NOLO
GO /f makefile.vc   && cd ..
The system cannot find the path specified.

C:\cygwin\home\154712\src\gdal-1.3.2\frmts\pcraster>cd sgi   && nmake 
/NOLOGO /f
 makefile.vc   && cd ..
The system cannot find the path specified.

C:\cygwin\home\154712\src\gdal-1.3.2\frmts\pcraster>cd idrisi   && nmake 
/NOLOGO
 /f makefile.vc   && cd ..
The system cannot find the path specified.

C:\cygwin\home\154712\src\gdal-1.3.2\frmts\pcraster>cd jpeg   && nmake 
/NOLOGO /
f makefile.vc   && cd ..
The system cannot find the path specified.

C:\cygwin\home\154712\src\gdal-1.3.2\frmts\pcraster>cd bsb   && nmake 
/NOLOGO /f
 makefile.vc   && cd ..
The system cannot find the path specified.

C:\cygwin\home\154712\src\gdal-1.3.2\frmts\pcraster>cd zlib   && nmake 
/NOLOGO /
f makefile.vc   && cd ..
The system cannot find the path specified.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual 
Studio 8\VC
\BIN\nmake.EXE"' : return code '0x2'
Stop.



Any ideas?

Cheers,

Sy




More information about the Gdal-dev mailing list