Created
August 30, 2013 14:42
-
-
Save pjakobsen/6390588 to your computer and use it in GitHub Desktop.
Compile Error pyffmpeg
This file contains 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
pyffmpeg.c:22519:40: warning: implicit declaration of function '__pyx_convert__from_py_AVRational' is invalid in C99 [-Wimplicit-function-declaration] | |
__pyx_v_8pyffmpeg_AV_TIME_BASE_Q = __pyx_convert__from_py_AVRational(o); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1946; __pyx_clineno = __LINE__; goto __pyx_L2_error;}; | |
^ | |
pyffmpeg.c:22519:38: error: assigning to 'struct AVRational' from incompatible type 'int' | |
__pyx_v_8pyffmpeg_AV_TIME_BASE_Q = __pyx_convert__from_py_AVRational(o); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1946; __pyx_clineno = __LINE__; goto __pyx_L2_error;}; | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
15 warnings and 3 errors generated. | |
error: Command "clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/opt/local/include -I/usr/include -I./include -I/Users/peder/Envs/ffmpeg/lib/python2.7/site-packages/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pyffmpeg.c -o build/temp.macosx-10.8-intel-2.7/pyffmpeg.o" failed with exit status 1 |
Using a newer version of Cython (0.23.4) fixed this for me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever get this fixed?