我正在尝试编译doubango框架版本1.0并且编译错误。升级到2.0版后,我得到了相同的编译错误。
src/codecs/vpx/tdav_codec_vp8.c:265: error: for each function it appears in.)
src/codecs/vpx/tdav_codec_vp8.c: In function âtdav_codec_vp8_open_encoderâ:
src/codecs/vpx/tdav_codec_vp8.c:675: warning: passing argument 1 of âvpx_codec_enc_config_defaultâ makes pointer from integer without a cast
/usr/include/vpx/vpx_encoder.h:609: note: expected âconst struct vpx_codec_iface *â but argument is of type âintâ
src/codecs/vpx/tdav_codec_vp8.c:720: warning: passing argument 2 of âvpx_codec_enc_init_verâ makes pointer from integer without a cast
/usr/include/vpx/vpx_encoder.h:575: note: expected âconst struct vpx_codec_iface *â but argument is of type âintâ
src/codecs/vpx/tdav_codec_vp8.c: In function âtdav_codec_vp8_open_decoderâ:
src/codecs/vpx/tdav_codec_vp8.c:774: warning: passing argument 2 of âvpx_codec_dec_init_verâ makes pointer from integer without a cast
/usr/include/vpx/vpx_decoder.h:121: note: expected âconst struct vpx_codec_iface *â but argument is of type âintâ
make[2]: *** [libtinyDAV_la-tdav_codec_vp8.lo] Error 1
make[2]: Leaving directory `/usr/src/telepresence/doubango-read-only/branches/2.0/doubango/tinyDAV'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/telepresence/doubango-read-only/branches/2.0/doubango'
make: *** [all] Error 2
请告知,是否有doubango/tinyDAV/src/codecs/vpx/tdav_codec_vp8.c
补丁或修改或其他任何方式来解决问题?