matthiasbock / VideoLAN-for-Allwinner-A10-VPU

Hardware accelerated VLC player for Miniand Mini Xplus, using Allwinner A10's Video Processing Unit's decoding capabilities
https://github.com/matzes-hardware/miniand-mini-xplus
GNU General Public License v2.0
9 stars 0 forks source link

Compile error - libcedarx #8

Open grif-m opened 8 years ago

grif-m commented 8 years ago

Hello,

I have the following issue when compiling VLC: ERROR : cedar.c:90: 9: too few arguments to function 'libcedarx_decoder_decode_stream' /usr/local/include/libcedarx/libcedarx.h:192:17: note: declared here cedar.c: In function 'OpenDecoder': ERROR : cedar.c:124: 35: 'CEDARX_STREAM_FORMAT_AVC1' undeclared (first use in this function) cedar.c:124:35: note: each undeclared identifier is reported only once for each function it appears in cedar.c: In function 'Release': ERROR : cedar.c:307: 13: implicit declaration of function 'libcedarx_display_return_frame' [-Werror=implicit-function-declaration] cedar.c: In function 'DecodeBlock': ERROR : cedar.c:364: 5: implicit declaration of function 'libcedarx_display_request_frame' [-Werror=implicit-function-declaration] WARNING : cedar.c:372: 38: assignment makes pointer from integer without a cast [enabled by default] WARNING : cedar.c:373: 38: assignment from incompatible pointer type [enabled by default] cc1: some warnings being treated as errors make: *\ [all] Error 2

I used the following steps (on device): git clone https://github.com/willswang/libcedarx cd libcedarx wget https://github.com/linux-sunxi/cedarx-libs/blob/master/libcedarv/linux-armel/libvecore/libvecore.so?raw=true -O libvecore.so ./autogen.sh ./configure --prefix=/usr make make install cd .. git clone https://github.com/matthiasbock/VideoLAN-for-Allwinner-A10-VPU cd VideoLAN-for-Allwinner-A10-VPU ./bootstrap ./configure --prefix=/usr --disable-mad ./compile

Thank you in advance.