Je suis désoler mais j'ai encore quelques petits problèmes de compilations que voici :
mickael@Sereno: ~/Téléchargements/bastienleonard-pysfml2-cython-6c4b128$ su -c "python3 setup3k.py build_ext"
Mot de passe :
If the build fails, run patch.py and try again
----------------------------------------------
running build_ext
building 'sfml' extension
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIC -I/usr/include/python3.2mu -c src/sfml.cpp -o build/temp.linux-x86_64-3.2/src/sfml.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
src/sfml.cpp: In function ‘PyObject* __pyx_pf_4sfml_9Transform_6matrix___get__(PyObject*)’:
src/sfml.cpp:7848:8: warning: variable ‘__pyx_v_i’ set but not used [-Wunused-but-set-variable]
src/sfml.cpp: At global scope:
src/sfml.cpp:27805:39: warning: ‘__pyx_obj_4sfml_Vertex* __pyx_f_4sfml_wrap_vertex_instance(sf::Vertex*)’ defined but not used [-Wunused-function]
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIC -I/usr/include/python3.2mu -c src/hacks.cpp -o build/temp.linux-x86_64-3.2/src/hacks.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
In file included from src/hacks.cpp:32:0:
src/sfml.h:15:32: error: expected constructor, destructor, or type conversion before ‘set_error_message’
src/sfml.h:16:40: error: expected constructor, destructor, or type conversion before ‘convert_to_vector2f’
src/sfml.h:17:55: error: expected constructor, destructor, or type conversion before ‘*’ token
src/sfml.h:18:56: error: expected constructor, destructor, or type conversion before ‘*’ token
src/sfml.h:19:63: error: expected constructor, destructor, or type conversion before ‘*’ token
src/sfml.h:20:63: error: expected constructor, destructor, or type conversion before ‘*’ token
src/hacks.cpp: In member function ‘virtual int MyBuff::sync()’:
src/hacks.cpp:105:38: error: ‘set_error_message’ was not declared in this scope
src/hacks.cpp: In member function ‘virtual void CppDrawable::draw(sf::RenderTarget&, sf::RenderStates) const’:
src/hacks.cpp:139:73: error: ‘wrap_render_target_instance’ was not declared in this scope
src/hacks.cpp:141:37: error: ‘wrap_render_states_instance’ was not declared in this scope
src/hacks.cpp: In member function ‘virtual sf::Vector2f CppShape::getPoint(unsigned int) const’:
src/hacks.cpp:208:40: error: ‘convert_to_vector2f’ was not declared in this scope
src/hacks.cpp: In member function ‘virtual bool CppSoundStream::onGetData(sf::SoundStream::Chunk&)’:
src/hacks.cpp:241:69: error: ‘wrap_chunk_instance’ was not declared in this scope
src/hacks.cpp: In member function ‘virtual void CppSoundStream::onSeek(sf::Time)’:
src/hacks.cpp:279:34: error: ‘wrap_time_instance’ was not declared in this scope
error: command 'gcc' failed with exit status 1
merci encore.