Ok, for now i can just use the prebuilt version all im using now is clock window and event. I will need the Audio streaming stuff later on though. Will soon be looking into keyboard and joysticks too. Network would be useful at some point down the road but its not really needed for a while.
Keyboard and joysticks should work fine. Network classes aren't ported because their features are available in the Python standard library. I'll add streaming as soon as possible.
I found something that would probably be good to fix
http://www.sfml-dev.org/documentation/2.0/classsf_1_1Clock.php
In the documentation for SFML 2 it says Clock.restart() should return the time since the clock was started.
Can you make this return that time also? It should be a pretty quick fix.
Thanks, I made the change as soon as I read your message.
Figured it out.
Though its not really detailed on the either the SFML2 or the PySFML2 install page, you need to make sure you uncheck the box saying build frameworks when you generate your unix make files in cmake for SFML2.
After that things work fine.
It looks like it's mentioned here:
http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.phpCMAKE_INSTALL_FRAMEWORK_PREFIX (Mac OS X only)
This is the install path for frameworks. By default, it is defined to the root library, i.e. /Library/Frameworks folder. As stated for CMAKE_INSTALL_PREFIX it is not mandatory to install files after compiling, but it is cleaner to install them.
This path is used to install on your system sndfile.framework (a required dependency not provided by Apple) and SFML as frameworks if BUILD_FRAMEWORKS is selected.
Ok so i have built it in MinGW this time it builds, and i think it runs fine.
The newer version doesn't seem to want to play nicely with another cython module im using for speeding up openGL some. The older build worked fine with it. Any idea's?
I've tried to use this module for OpenGL calls myself, so I need to know which tools you're using.
I now have a working Visual Studio installation, hopefully I'll be able to make it easier to build the module with it.
Excuse me, but do this binding works with python3?
I'm just confused by the 'cython' word.
AFAIK Cython is just different interpreter for python, isn't it? or it provides a bit different syntax too?
Cython is a tool used to create CPython 2/3 extension modules. I have modified the documentation to be more clear about that.