Hi everybody,
First, sorry for my bad english, I'm not used to writing in english. Why I post here and not in the french forum ? Because here is more active and I try to perform my english.
Well, I have a problem with de pysfml compilation : gcc can not find the member unbind in sf::Shader class. I have tried to launch patch.py but it didn't work. I use the latest sfml source (from git) and use python3 too.
Here it's the exact error :
If the build fails, run patch.py and try again
----------------------------------------------
running build
running build_ext
building 'sfml' extension
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.3m -c src/sfml.cpp -o build/temp.linux-x86_64-3.3/src/sfml.o
cc1plus: attention : command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
src/sfml.cpp: In function ‘PyObject* __pyx_pf_4sfml_6Shader_20unbind(__pyx_obj_4sfml_Shader*)’:
src/sfml.cpp:39367:25: erreur: ‘class sf::Shader’ has no member named ‘unbind’
src/sfml.cpp: At global scope:
src/sfml.cpp:34862:39: attention : ‘__pyx_obj_4sfml_Vertex* __pyx_f_4sfml_wrap_vertex_instance(sf::Vertex*)’ defined but not used [-Wunused-function]
error: command 'gcc' failed with exit status 1
Thank you in advance.