Hello,
I followed your tutorial but encountered the following error when trying to install the setup.py using cygwin (building it seemed to work fine):
first i tried to just do
>python setup.py install
but it gets mad at me for not having visual studio 2003 - no problem ill just pass it -cmingw32 like I did when I built it. But no, it tells me
"error: option -m not recognized."
If I try what it says to use, "-c mingw32" (without quotes), it says
"error: invalid command 'mingw32'"
Any help is appreciated!
EDIT:
I deleted build and started again this time using:
python setup.py build --compiler=mingw32 install
and this worked fine, I then followed the rest of the steps in your tutorial and copied over all the DLLs. Unfortunately I still get the error
>>> from PySFML import sf
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from PySFML import sf
ImportError: cannot import name sf
when I try to use the module.
EDIT2: I copied EVERYTHING from \SFML-1.5\lib\mingw into my C:\Python25\Lib\site-packages\PySFML and this allowed it to be imported. The samples crash immediately after loading however (except the sound ones which work fine). They give no error, just crash (even with an added try...except they report no error)