[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Problems installing to cygwin/w2000



Pete
Thank you for your prompt response :-)
    I'll definitely clean things out and then try what you suggest, re.
--compiler

Re. Examples...
I was using wrong terminology, I meant some example apps which use pygame,
e.g. Yass runs perfectly on this machine.
(I'm going to try downloading Yass source next, if that works (I can
modify it) then surely I must have a working pygame ...)


Re.  'as a last resort...'
I had thought that a precompiled version was what I was using now, I most
recently wiped everything and installed
pygame-1.1.win32-py2.1.exe, which produced the ./prebuilt directory, which
perhaps I've done the wrong thing with ?


Thank you for your offer of continuing help with this.


peter

Pete Shinners wrote:

> > ...just being slightly lazy following a 24h stint of trying to get
> > pygame to work ! OK It does work with demos, I just can't build it
> > and use it from Python.
>
> wow, it sounds like you've put a lot of work into this. here's
> some insight into distutils..
>
> first, i'm almost positive distutils doesn't work for cross-compiling.
> there may be some way to get it working, but i've never heard of it
> being used. i also wouldn't know where to start.
>
> second, distutils defaults to using the MS compile (cl.exe) on
> windows, but it can easily use several different compilers.
> the "build_ext" command in distutils takes a --compiler flag.
> you can give multiple commands to distutils in one commandline,
> each with the appropriate flags.. you would be looking for
> something like this
>
> python setup.py install build_ext --compiler=cygwin
>
> if passing this compiler info to distutils becomes a hassle,
> distutils also lets you store a config file where you can keep
> commandline arguments that you always use..
>
> <<in a file named "setup.cfg">>
> [build_ext]
> compiler=cygwin
> <<endoffile>>
>
> you may also find more helpful tips here,
> http://www.python.org/doc/current/inst/non-ms-compilers.html
>
>
> also, you mentioned the examples were working for you, but
> you could compile pygame? i don't quite understand that. you
> don't get the pygame examples without pygame :]
>
> as a last resort, there are several precompiled version of
> pygame for windows. but for cvs versions of pygame you'll
> need to get the compiling working.
>
> also, feel free to send in your progress. i'll be glad to
> help you get this going.
>
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org

--


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

mQG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RtMIPWakXUGfnHy9iUsiGSa6q6Je
w1XpMgs7AAICB/9HKgMIKYR5WyA96n0e36C1y9vKfG7IR7SbSzHe0InTS6W/y8c5
cjkyIcFjiz+f6UblUj8SPzi9pZVwl/cE/YSZ7NscWED4mjTpbt8s6IOaxvvneeZN
GJMbKuNY9BY39+/ynwsqFSkxPQ8oCQUnfHGMjC8nhDFBvnZRU2pHZvyvgH+qecNd
8vDGNGkUFSj8R5jLF2M/jFjvYMjTd3VR3pUuMslslCDnQGNfDPkcB+9sRkoZPpRP
aUt9g5vzMYlZVDSmDTiy8zZ+lhcsq2TbHkwqX4iwow/KB3lsdFgUzbp8V9FlSnuL
X4B04MviS2/+nfxM7TZIYn+uXle3+pfGlF2liQBMBBgRAgAMBQI7gNOHBRsMAAAA
AAoJEBylPoXihJTJSPcAnRPSivOU4RbzkmfvZF7RBycxm5ubAJ96QW1kGhkc13zR
ozfk3rcGqoHeWg==
=fGmQ
-----END PGP PUBLIC KEY BLOCK-----


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org