Comments (4)
Have the same issue. Bump.
from pygame_sdl2.
I don't have experience building this with MSVC, so I can't help here. At this point, I'm not expecting pygame_sdl2 to be used outside of Ren'Py.
from pygame_sdl2.
Recently I tried to build a new version and stumbled upon the same problems.
Can't remember the full process of when I build it for the first time, but I remember it took me about a week of fiddling around and I still got some notes from then:
LNK2001: SDL-devel gotta be properly installed / linked and don't use a virtualenv.
Python.h not found: don't use a virtualenv or copy the include dir containing the python.h from the Python home dir to the root of the virtualenv.
C2065: Install latest VC and C++ BuildTools for your version of VisualStudio and add path to path variables.. also building process seems to favor the newest install in your path, but building may only work on VisualStudio 2015 to 2017 for some reason.
+Also check if your python setuptools is up to date.
I hope for this to help somebody out at least a bit and I'd be glad if someone figures out more.^^
from pygame_sdl2.
I used newer versions of SDL2 source code to replace the files in pygame_sdl2_windeps, and successfully built the wheel.
from pygame_sdl2.
Related Issues (20)
- MIDI HOT 1
- Building 'pygame_sdl2.rwobject' extension failes HOT 1
- Variable is used out of scope
- G923 compatibility
- gfxdraw.filled_polygon producing incorrect image HOT 2
- 'pygame.image.save' works inproperly when saving PNG images
- Why? HOT 4
- [Feature Request] avif images support HOT 2
- Problem with fix_virtualenv.py HOT 3
- pygame_sdl2.controller.get_axis_from_string crashes when provided with a string.
- Error trying to build on Windows HOT 2
- Problem to import .pyx files HOT 6
- gfxdraw.thick_line cast to integers doesn't seem to work HOT 1
- Use image.load for gif HOT 4
- android.py configure error
- Compile problem: Exception values are incompatible. HOT 2
- EventType.__eq__ doesn't handle other is None
- error LNK2001: unresolved external symbol SDL_JoystickGetDeviceInstanceID HOT 1
- feature: allow check events by `scancode` instead of `key` & `unicode`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygame_sdl2.