2016-03-09, 23:25
Really nice Rellla, this can help me
![Blush Blush](https://forum.kodi.tv/images/smilies/blush.png)
(2016-03-08, 23:18)eckonator Wrote: @tom81 - i found your kodi image on german cubietruck forum. It works great on my Cubietruck. But i can't get working my old Apple Remote with it. I get the signal with irw and ir-keytable -t ... But in Kodi nothing appears. Can you help me?That kodi image is based on the cedarv port from rellla and empat0 and uses the old, binary-only cedarv libs. Please don't use it - it is obsolete and broken in many ways and I do not work on it anymore.
I write you here because I can't register to the german forum. I get no activation link and no answer from admin. So, i write you here. Are private messages disabled in this board? I cant write to Tom81 a private message.
In file included from ./libavutil/intmath.h:36:0,
from ./libavutil/common.h:100,
from ./libavutil/avutil.h:328,
from libavdevice/avdevice.h:44,
from libavdevice/alldevices.c:22:
./libavutil/arm/intmath.h: In function ‘av_clip_uintp2_arm’:
./libavutil/arm/intmath.h:84:5: warning: asm operand 2 probably doesn’t match constraints [enabled by default]
__asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p));
^
./libavutil/arm/intmath.h:84:5: error: impossible constraint in ‘asm’
make[2]: *** [libavdevice/alldevices.o] Error 1
make[2]: Leaving directory `/home/markus/xbmc/lib/ffmpeg'
make[1]: *** [ffmpeg] Error 2
make[1]: Leaving directory `/home/markus/xbmc/lib'
make: *** [dvdpcodecs] Error 2
In file included from /usr/include/GL/gl.h:2059:0,
from /usr/include/GL/glx.h:32,
from VDPAU.h:29,
from DVDVideoCodecFFmpeg.cpp:51:
/usr/include/GL/glext.h:468:19: error: conflicting declaration ‘typedef ptrdiff_t GLsizeiptr’
typedef ptrdiff_t GLsizeiptr;
^
In file included from /home/markus/xbmc/xbmc/system_gl.h:51:0,
from VDPAU.h:23,
from DVDVideoCodecFFmpeg.cpp:51:
/usr/include/GLES2/gl2.h:38:25: error: ‘GLsizeiptr’ has a previous declaration as ‘typedef khronos_ssize_t GLsizeiptr’
typedef khronos_ssize_t GLsizeiptr;
^
In file included from /usr/include/GL/gl.h:2059:0,
from /usr/include/GL/glx.h:32,
from VDPAU.h:29,
from DVDVideoCodecFFmpeg.cpp:51:
/usr/include/GL/glext.h:469:19: error: conflicting declaration ‘typedef ptrdiff_t GLintptr’
typedef ptrdiff_t GLintptr;
^
In file included from /home/markus/xbmc/xbmc/system_gl.h:51:0,
from VDPAU.h:23,
from DVDVideoCodecFFmpeg.cpp:51:
/usr/include/GLES2/gl2.h:37:26: error: ‘GLintptr’ has a previous declaration as ‘typedef khronos_intptr_t GLintptr’
typedef khronos_intptr_t GLintptr;
^
In file included from DVDVideoCodecFFmpeg.cpp:51:0:
VDPAU.h:52:1: error: expected class-name before ‘{’ token
{
^
make[1]: *** [DVDVideoCodecFFmpeg.o] Error 1
make: *** [xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a] Error 2
markus@ubuntu-armhf:~/sunxi-mali/include$ sudo make install
mkdir -p //usr//include/EGL
install -m 644 EGL/egl.h EGL/eglext.h //usr//include/EGL
mkdir -p //usr//include/EGL
install -m 644 EGL/eglplatform.h //usr//include/EGL/eglplatform.h
mkdir -p //usr//include/GLES
install -m 644 GLES/gl.h GLES/glext.h GLES/glplatform.h //usr//include/GLES
mkdir -p //usr//include/GLES2
install -m 644 GLES2/gl2.h GLES2/gl2ext.h GLES2/gl2platform.h //usr//include/GLES2
mkdir -p //usr//include/KHR
install -m 644 KHR/khrplatform.h //usr//include/KHR
(2016-03-12, 00:14)tom81 Wrote: You probably checked out the wrong branch from github. The one you want is "helix_allwinner_gles_support", and not "master".
In file included from libavcodec/vdpau_internal.h:55:0,
from libavcodec/h263dec.c:43:
libavcodec/vdpau.h:104:5: error: unknown type name 'VdpDecoderSetControlData'
VdpDecoderSetControlData *set_video_header;
^
make: *** [libavcodec/h263dec.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
(2016-03-12, 11:22)tom81 Wrote: Kodi needs a special ffmpeg version, it is this one https://github.com/xbmc/FFmpeg/archive/2...lix.tar.gz
Normally it should be downloaded automatically during build, I don't know why it fails for you.
CC libavcodec/h263dsp.o
In file included from libavcodec/vdpau_internal.h:55:0,
from libavcodec/h263dec.c:43:
libavcodec/vdpau.h:104:5: error: unknown type name 'VdpDecoderSetControlData'
VdpDecoderSetControlData *set_video_header;
^
make: *** [libavcodec/h263dec.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
tools/depends/target/ffmpeg/ffmpeg-2.4.6-Helix/libavcodec/vdpau.h
104: VdpDecoderSetControlData *set_video_header;
tools/depends/target/ffmpeg/0001-MPEG4-vdpau-2.4.6-Helix.patch
556:+ VdpDecoderSetControlData *set_video_header;
xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h
163: VdpDecoderSetControlData * vdp_decoder_set_video_control_data;
(2016-03-12, 15:26)tom81 Wrote: Have you installed libvdpau including its headers?
markus@ubuntu-armhf:~/libvdpau-1.1.1$ sudo make install
[sudo] password for markus:
Making install in doc
make[1]: Entering directory `/home/markus/libvdpau-1.1.1/doc'
make[2]: Entering directory `/home/markus/libvdpau-1.1.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/markus/libvdpau-1.1.1/doc'
make[1]: Leaving directory `/home/markus/libvdpau-1.1.1/doc'
Making install in src
make[1]: Entering directory `/home/markus/libvdpau-1.1.1/src'
make[2]: Entering directory `/home/markus/libvdpau-1.1.1/src'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libvdpau.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libvdpau.so.1.0.0 /usr/local/lib/libvdpau.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libvdpau.so.1.0.0 libvdpau.so.1 || { rm -f libvdpau.so.1 && ln -s libvdpau.so.1.0.0 libvdpau.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libvdpau.so.1.0.0 libvdpau.so || { rm -f libvdpau.so && ln -s libvdpau.so.1.0.0 libvdpau.so; }; })
libtool: install: /usr/bin/install -c .libs/libvdpau.lai /usr/local/lib/libvdpau.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/etc'
/usr/bin/install -c -m 644 vdpau_wrapper.cfg '/usr/local/etc'
/bin/mkdir -p '/usr/local/include/vdpau'
/usr/bin/install -c -m 644 ../include/vdpau/vdpau.h ../include/vdpau/vdpau_x11.h '/usr/local/include/vdpau'
make[2]: Leaving directory `/home/markus/libvdpau-1.1.1/src'
make[1]: Leaving directory `/home/markus/libvdpau-1.1.1/src'
Making install in test
make[1]: Entering directory `/home/markus/libvdpau-1.1.1/test'
make[2]: Entering directory `/home/markus/libvdpau-1.1.1/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/markus/libvdpau-1.1.1/test'
make[1]: Leaving directory `/home/markus/libvdpau-1.1.1/test'
Making install in trace
make[1]: Entering directory `/home/markus/libvdpau-1.1.1/trace'
make[2]: Entering directory `/home/markus/libvdpau-1.1.1/trace'
make[2]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/usr/local/include/vdpau'
/usr/bin/install -c -m 644 ../include/vdpau/vdpau.h ../include/vdpau/vdpau_x11.h '/usr/local/include/vdpau'
/bin/mkdir -p '/usr/local/lib/vdpau'
/bin/bash ../libtool --mode=install /usr/bin/install -c libvdpau_trace.la '/usr/local/lib/vdpau'
libtool: install: /usr/bin/install -c .libs/libvdpau_trace.so.1.0.0 /usr/local/lib/vdpau/libvdpau_trace.so.1.0.0
libtool: install: (cd /usr/local/lib/vdpau && { ln -s -f libvdpau_trace.so.1.0.0 libvdpau_trace.so.1 || { rm -f libvdpau_trace.so.1 && ln -s libvdpau_trace.so.1.0.0 libvdpau_trace.so.1; }; })
libtool: install: (cd /usr/local/lib/vdpau && { ln -s -f libvdpau_trace.so.1.0.0 libvdpau_trace.so || { rm -f libvdpau_trace.so && ln -s libvdpau_trace.so.1.0.0 libvdpau_trace.so; }; })
libtool: install: /usr/bin/install -c .libs/libvdpau_trace.lai /usr/local/lib/vdpau/libvdpau_trace.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/vdpau
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/vdpau
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory `/home/markus/libvdpau-1.1.1/trace'
make[1]: Leaving directory `/home/markus/libvdpau-1.1.1/trace'
make[1]: Entering directory `/home/markus/libvdpau-1.1.1'
make[2]: Entering directory `/home/markus/libvdpau-1.1.1'
make[2]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 vdpau.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/home/markus/libvdpau-1.1.1'
make[1]: Leaving directory `/home/markus/libvdpau-1.1.1'
AR libavcodec/libavcodec.a
ar: libavcodec/vdpau_msmpeg4.o: No such file or directory
make: *** [libavcodec/libavcodec.a] Error 1
make: *** Waiting for unfinished jobs....
ERROR: building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
(2016-03-09, 23:56)tom81 Wrote: I am currently uploading some code to https://github.com/tnmeyer?tab=repositories, but it's neither complete nor usable yet...
CC libavcodec/acelp_pitch_delay.o
CC libavcodec/acelp_vectors.o
CC libavcodec/adpcm.o
CC libavcodec/adpcm_data.o
CC libavcodec/adpcmenc.o
In file included from ./libavutil/intmath.h:30:0,
from ./libavutil/common.h:110,
from ./libavutil/avutil.h:288,
from ./libavutil/samplefmt.h:24,
from libavcodec/avcodec.h:31,
from libavcodec/adpcm.c:32:
./libavutil/arm/intmath.h: In function 'adpcm_ima_oki_expand_nibble':
./libavutil/arm/intmath.h:69:5: warning: asm operand 2 probably doesn't match constraints
__asm__ ("ssat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p+1));
^
./libavutil/arm/intmath.h:69:5: error: impossible constraint in 'asm'
./libavutil/arm/intmath.h: In function 'adpcm_decode_frame':
./libavutil/arm/intmath.h:69:5: warning: asm operand 2 probably doesn't match constraints
__asm__ ("ssat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p+1));
^
common.mak:57: recipe for target 'libavcodec/adpcm.o' failed
make: *** [libavcodec/adpcm.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ./libavutil/intmath.h:30:0,
from ./libavutil/common.h:110,
from ./libavutil/avutil.h:288,
from ./libavutil/samplefmt.h:24,
from libavcodec/avcodec.h:31,
from libavcodec/adpcmenc.c:25:
./libavutil/arm/intmath.h: In function 'adpcm_ms_compress_sample':
./libavutil/arm/intmath.h:69:5: warning: asm operand 2 probably doesn't match constraints
__asm__ ("ssat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p+1));
^
./libavutil/arm/intmath.h:69:5: error: impossible constraint in 'asm'
common.mak:57: recipe for target 'libavcodec/adpcmenc.o' failed
make: *** [libavcodec/adpcmenc.o] Error 1
ERROR: Building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
(2016-03-12, 23:35)quangnh Wrote: and I get error:
Code:checking for main in -lEGL... no
configure: error: Could not find a required library. Please see the README for your platform.
(2016-03-13, 17:24)eckonator Wrote: Hi Tom,
i trying to compile your Kodi Build, but i get a error. Can you help? It's the Branch "Jarvis_vdpau_gles".
[...]