__pycache__/_cffi__xc79f4b7bx23aff9e7.c: In function ‘_cffi_const_CODEC_ID_H264’:
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:194:30: error: ‘CODEC_ID_H264’ undeclared (first use in this function)
o = _cffi_from_c_int_const(CODEC_ID_H264);
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:54:8: note: in definition of macro ‘_cffi_from_c_int_const’
(((x) > 0) ? \
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:194:30: note: each undeclared identifier is reported only once for each function it appears in
o = _cffi_from_c_int_const(CODEC_ID_H264);
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:54:8: note: in definition of macro ‘_cffi_from_c_int_const’
(((x) > 0) ? \
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c: In function ‘_cffi_f_avcodec_alloc_frame’:
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:320:3: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3211) [-Wdeprecated-declarations]
{ result = avcodec_alloc_frame(); }
^
Traceback (most recent call last):
File "./drc-sim.py", line 373, in <module>
VID_S : ServiceVSTRM(),
File "./drc-sim.py", line 165, in __init__
pygame.display.get_surface().get_size())
File "/home/pi/Downloads/memahaxx-drc-sim-04ab02c1d1a0/H264Decoder.py", line 86, in __init__
s.__init_ffi()
File "/home/pi/Downloads/memahaxx-drc-sim-04ab02c1d1a0/H264Decoder.py", line 62, in __init_ffi
''', libraries=['avcodec', 'swscale'])
File "/usr/lib/python2.7/dist-packages/cffi/api.py", line 340, in verify
lib = self.verifier.load_library()
File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 74, in load_library
self._compile_module()
File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 139, in _compile_module
outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
File "/usr/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 25, in compile
outputfilename = _build(tmpdir, ext)
File "/usr/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 51, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.ffiplatform.VerificationError: CompileError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1