[gdal-dev] Compile GDAL for x86 on an x64 machine

Martin Chapman chapmanm at pixia.com
Sun Nov 27 13:59:16 EST 2011


Thanks Mateusz.  I figured I was doing something wrong.  Your feedback is 
much appreciated.

Marty

-----Original Message-----
From: Mateusz Łoskot [mailto:mateusz at loskot.net]
Sent: Saturday, November 26, 2011 6:02 PM
To: Martin Chapman
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Compile GDAL for x86 on an x64 machine

On 27 November 2011 00:07, Martin Chapman <chapmanm at pixia.com> wrote:
> I am using a Windows 7 x64 machine with VS 2010 with both x86 and x64
> compile tools.
> [...]
> My question is:  Why can’t I compile gdal for x86 on my x64 box?  Am I
> missing something stupid?  Do you think it’s my environment?  Is it
> supposed to work?  Has anyone else tried to do this?  I think I’ve
> done this before with other versions but maybe I am mistaken.

I frequently build GDAL from current trank on Windows 7 64-bit using Visual 
Studio 11 (DP) for both, 32-bit and 64-bit.
I haven't noticed any problems.

http://www.flickr.com/photos/mloskot/6408340877

(Note, PE32+ denotes 64-bit.)


To be on safe side, I always build in separate source trees trunk/ for 
32-bit trunk.x64/ for 64-bit

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, 
http://osgeo.org Member of ACCU, http://accu.org


More information about the gdal-dev mailing list