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

Error trying to build on Windows #143

Closed
DaiZhongpeng3 opened this issue Jan 21, 2023 · 2 comments
Closed

Error trying to build on Windows #143

DaiZhongpeng3 opened this issue Jan 21, 2023 · 2 comments

Comments

@DaiZhongpeng3
Copy link

As soon as I run python setup.py install, python couldn't find the file named"command".
How can I put pygame_sdl2_windeps into the pygame_sdl2 checkout? And why python couldn't find the file?
My purpose is only to make Ren'py recognize the pyd file.
Thanks for the help!

@yg195329
Copy link

It is difficult to tell what your problem is without any concrete error message. My guess would be that you are missing a dependency. I kept getting an error about a missing executable when running "python setup.py install" until I installed cython with "pip install cython". That's because setuplib.py attempts to run the cython executable.

Regarding your second question, I am assuming that you git cloned renpy/pygame_sdl2 locally, and want to do the same with renpy/pygame_sdl2_windeps while having the pygame_sdl2_windeps directory nested inside pygame_sdl2? If so, you need to run "git submodule add https://github.com/renpy/pygame_sdl2_windeps pygame_sdl2_windeps" from the pygame_sdl2 directory.

@renpytom
Copy link
Member

Building pygame_sdl2 directly isn't supported. I'd suggest using renpy/renpy-build to build it.

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

3 participants