Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Benoit87

Pages: [1]
1
Hi everybody.
I used to work with pysfml-cython binding from Bastien Leonard, and it worked fine with cx_freeze compilation.
Today, I tried with the last PySFML official Jonathan De Wachter binding. It's a little bit different than Bastien Leonard's one and up to date.
I made a test with it and pymunk as physics engine.
And then, I juste tried to compile it with cx_freeze 4.3.1.
This is the error I got when I try to launch the executable.


And this is my setup.py :
http://pastebin.com/51L5PkX3

Thanks in advance ! :)

PS : Sorry if I do some errors in English, I'm French.

2
Python / compilation error build (pysfml-cython)
« on: August 18, 2012, 11:08:02 am »
Hello ! I open this topic because I need help about an compilation error during Bastien Léonard binding pySFML2-cython build.
I use python 3.2 and I run under Linux (Linux mint 12).

When a start the build with command python3.2 setup.py build
If the build fails, run patch.py and try again
----------------------------------------------

running build
running build_ext
skipping 'src/sfml.cpp' Cython extension (up-to-date)
building 'sfml' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python3.2m -c src/sfml.cpp -o build/temp.linux-x86_64-3.2/src/sfml.o
cc1plus: attention (warning ?) : command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
src/sfml.cpp:278:29: erreur fatale (fatal error) : SFML/Graphics.hpp : Aucun fichier ou dossier de ce type (No such file or folder)
compilation terminée. (compilation finished)
error: command 'gcc' failed with exit status 1
 

I have execute patch.py with python3.2 patch.py witch seem execute itself without exception, but that seem  not linked to my main problem.

I have ever search about a problem like that, but I haven't found the same :/

Thanks you in advance !  :)

Pages: [1]
anything