Created
December 14, 2014 17:52
-
-
Save marjinal1st/8c4c700c84ae33185b96 to your computer and use it in GitHub Desktop.
python-sfml build error 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marjinal1st@thinkpad-edge:~/Python/python-sfml$ python setup.py install | |
running install | |
running build | |
running build_py | |
copying src/sfml/__init__.py -> build/lib.linux-x86_64-2.7/sfml | |
copying src/sfml/sf.py -> build/lib.linux-x86_64-2.7/sfml | |
running build_ext | |
cythoning src/sfml/system.pyx to src/sfml/system.cpp | |
building 'sfml.system' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Iinclude -I/usr/include/python2.7 -c src/sfml/system.cpp -o build/temp.linux-x86_64-2.7/src/sfml/system.o -fpermissive | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
src/sfml/system.cpp: In function ‘PyObject* __pyx_pf_4sfml_6system_4Time_14__mod__(PyTimeObject*, PyTimeObject*)’: | |
src/sfml/system.cpp:11929:44: error: no match for ‘operator%’ (operand types are ‘sf::Time’ and ‘sf::Time’) | |
(__pyx_v_p[0]) = ((__pyx_v_x->p_this[0]) % (__pyx_v_y->p_this[0])); | |
^ | |
src/sfml/system.cpp: In function ‘PyObject* __pyx_pf_4sfml_6system_4Time_20__imod__(PyTimeObject*, PyTimeObject*)’: | |
src/sfml/system.cpp:12145:29: error: no match for ‘operator%=’ (operand types are ‘sf::Time’ and ‘sf::Time’) | |
(__pyx_v_self->p_this[0]) %= (__pyx_v_x->p_this[0]); | |
^ | |
src/sfml/system.cpp: At global scope: | |
src/sfml/system.cpp:8008:18: warning: ‘PyObject* __pyx_pw_4sfml_6system_7Vector3_25__div__(PyObject*, PyObject*)’ defined but not used [-Wunused-function] | |
static PyObject *__pyx_pw_4sfml_6system_7Vector3_25__div__(PyObject *__pyx_v_self, PyObject *__pyx_v_other) { | |
^ | |
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment