This is fork of https://github.com/Sonkun/python-sfml
These bindings officially support Python 2.7 and the latest versions of Python 3.x but we encourage you to use the latter one. Incidentally, the documentation, tutorials and examples are written in the latest version of Python.
Please visit the website (https://www.python-sfml.org/) for any complementary information on this project. Also, feel free to email us with any questions or concerns.
- Jonathan De Wachter dewachter.jonathan@gmail.com
- Edwin Marshall emarshall85@gmail.com
You're also encouraged to visit (and contribute) to the wiki which gathers various piece of code, tutorials, tips and tricks.
These bindings were created in large part by Jonathan De Wachter, with significant contributions from Edwin Marshall. Thanks a lot to James Cowgill who occasionally fixes broken builds and maintains Debian packages. Other contributors include Jorge Araya Navarro and Richard Sims.
- Fix compilation errors (particulary on windows10/mingw64)
- Fix binding erros (if some)
- Add my own improvements
-
download sfml 2.3.2
-
use suggested mingw compiler 4.9.2
-
fix python sources to be able to use new
vcruntime140
instead ofmsvcrXXX
- goto python installation folder
- goto
cygwincompiler.py
get_msvcr
function - add yet one
elif
orelse
statement and makereturn ['vcruntime140']
- add
vcruntime140.dll
tolibs
forlder in python installation fodler- you can find
vcruntime140.dll
atwindows/system32
- you can find
-
build with following command
py setup.py build_ext -DMS_WIN64 --compiler=mingw32 --include-dirs path\to\sfml\include --library-dirs path\to\sfml\lib
- install
py setup.py install
audio
module throws errors on import.