4

I cannot install pygame on cygwin properly. I tried to follow that old doc , http://msdl.cs.mcgill.ca/people/tfeng/svmsccdoc/node49.html, but it doesn't work.

Worse issue is SDL not be able to install correctly

Any helps are welcomed as I've been struggling for days.

21
  • What OS are you on? I'd try to avoid building Pygame if possible.
    – Malik Brahimi
    Feb 9, 2015 at 17:09
  • Hi Malik, windows but with Cywin.
    – Andy K
    Feb 9, 2015 at 17:10
  • Can't you just install with the installer?
    – Malik Brahimi
    Feb 9, 2015 at 17:11
  • not with cygwin alas. If I was using windows, it would be fine but I'm explicitly looking to having it installed on cygwin.
    – Andy K
    Feb 9, 2015 at 17:12
  • Did you read this: msdl.cs.mcgill.ca/people/tfeng/svmsccdoc/node49.html It specifically mentions cygwin
    – Photon
    Feb 9, 2015 at 17:13

2 Answers 2

3

One way to deal with that is to install the python binaries for windows.

Once the python binaries installed, install the pygame binaries for Windows as well and then run the python binaries from your cygwin console.

Then open a python console and type

import pygame
1

Just to rule out one of the simplest things: Have you installed the cygwin Packages "libSDL-devel" and "libSDL1.2_0"?

Are you running 32bit cygwin or 64bit cygwin?

8
  • Hi @ZacekV, I've installed the library. So done.
    – Andy K
    Feb 19, 2015 at 11:28
  • And you are trying to get it running with SDL 1.2 or SDL 2.0?
    – ZacekV
    Feb 19, 2015 at 11:31
  • SDL2.0. Everything is installed but it refuses to install properly.
    – Andy K
    Feb 19, 2015 at 11:38
  • 32bit or 64bit cygwin? Just deleted my whole environment... you got me curious ^^
    – ZacekV
    Feb 19, 2015 at 11:47
  • 32bit win. One solution that did well is to install python for windows , then pygame and run it through python
    – Andy K
    Feb 19, 2015 at 11:56

Not the answer you're looking for? Browse other questions tagged .