Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to install requirements. #82

Open
rquadling opened this issue Aug 27, 2020 · 3 comments
Open

Failing to install requirements. #82

rquadling opened this issue Aug 27, 2020 · 3 comments

Comments

@rquadling
Copy link

Zero knowledge of Python, but following the instructions as on the home page results in :

    src_c/_pygame.h:216:10: fatal error: 'SDL.h' file not found
    #include <SDL.h>
             ^~~~~~~
    1 error generated.

Full log at : https://gist.github.com/rquadling/95ff29eb9b13a84b7ab218f561f3886b

A couple of options to improve the user experience would be to have a Makefile that contained all the instructions or a Dockerfile that contained the entire build process in a repeatable way.

Happy to help with working you on this, but my Python knowledge is zero.

@rquadling
Copy link
Author

I'm on MacOS. Running instructions and tests from https://www.pygame.org/wiki/MacCompile and all works.

Re-running the requirements install gives the same error.

@rquadling
Copy link
Author

I noticed that there's also a v1 form of SDL, so brew install sdl sdl_gfx sdl_image sdl_mixer sdl_net sdl_ttf and that fixed things.

@rquadling
Copy link
Author

But fails to run. Really would be worth wrapping this all up in a Docker container. Far simpler than hoping every users environment is perfectly setup to run this and any other application with the multitude of libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant