[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] PATCH: compile with 64-bit Visual Studio 2008



Thanks, svn rev 2653 does compile now with VS2008 64-bit.

The VS2008 compiler executable cl.exe in x86_amd64 is 32-bit. Therefore I assume you can produce 64-bit binaries on a 32-bit OS (never tried it myself).

Regarding the scale_mmx.c file: it does compile using mingw 64-bit gcc but the object does not link properly. I will try to find a workaround.

I have compiled 64-bit libraries of the following dependencies. No big problems as far as I remember, mostly just converting and adjusting the project settings and some smaller code changes.

SDL 1.2.13
SDL_ttf 2.0.9
SDL_mixer 1.2.8
SDL_image 1.2.7
libogg 1.1.4
libvorbis 1.2.3
portmidi/porttime svn rev 156
smpeg 0.4.5
freetype 2.3.9
tiff 3.9.1
jpeg 7
lpng 1.2.39
zlib 1.2.3

Christoph


On 09/24/2009 05:29, René Dudfield wrote:
On Thu, Sep 24, 2009 at 8:00 AM, Christoph Gohlke<cgohlke@xxxxxxx>  wrote:
Hi,

the attached patch allows building pygame 1.9.1 with the 64-bit Visual
Studio 2008 compiler, given that _NO_MMX_FOR_X86_64 is defined and all
dependencies are also compiled with VS2008. All pygame tests pass.

Christoph


great, thanks :)
Committed revision 2653.

The patch didn't apply cleanly... but it builds here for me (not with
vc 64bit).  So I think I got it right... but could you please double
check?

By the way, can you run the 64bit compiler on 32 bit windows?  did you
need to do anything special to compile the dependencies?


cheers!