121
Python / Error Building the PySFML2-cython Bindings
« on: July 26, 2011, 02:37:39 pm »
I think I found a workaround. Go to the directory where the sf.def file was created, and type this:
The libsf.a file will be created, and g++ should create the module correctly on the next run.
It seems that either there is a mismatch in Python and MinGW versions, or this is a bug in Python 2.7.
Code: [Select]
dlltool --def sf.def --output-lib libsf.a
The libsf.a file will be created, and g++ should create the module correctly on the next run.
It seems that either there is a mismatch in Python and MinGW versions, or this is a bug in Python 2.7.