Hello evryone I give this error when i compile softhddevice [behrooz@Lenovo-G500 softhddevice-0.6.0]$ make g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fvar-tracking-assignments -O3 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Werror=overloaded-virtual -c -o softhddevice.o softhddevice.cpp In file included from softhddevice.cpp:46:0: video.h:63:13: error: use of enum 'PixelFormat' without previous declaration extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *, ^~~~~~~~~~~ video.h:64:16: error: use of enum 'PixelFormat' without previous declaration const enum PixelFormat *); ^~~~~~~~~~~ softhddevice.cpp: In member function 'virtual void cSoftOsd::Flush()': softhddevice.cpp:480:31: error: invalid conversion from 'cPixmap*' to 'cPixmapMemory*' [-fpermissive] while ((pm = RenderPixmaps())) { ~~~~~~~~~~~~~^~ softhddevice.cpp: At global scope: softhddevice.cpp:2046:18: error: by 'virtual void cSoftHdDevice::TrickSpeed(int)' [-Werror=overloaded-virtual] virtual void TrickSpeed(int); ^~~~~~~~~~ cc1plus: some warnings being treated as errors make: *** [<builtin>: softhddevice.o] Error 1
I using Arch linux
The official softhddevice git is outdated for most people it seems. You'll have to patch it for newer ffmpeg support.
http://anonscm.debian.org/cgit/pkg-vdr-dvb/vdr-plugin-softhddevice.git/tree/... http://anonscm.debian.org/cgit/pkg-vdr-dvb/vdr-plugin-softhddevice.git/tree/... http://anonscm.debian.org/cgit/pkg-vdr-dvb/vdr-plugin-softhddevice.git/tree/...
On Fri, Jul 1, 2016 at 8:54 PM, Behrooz Ramezani b3hrooz.ram3zani@gmail.com wrote:
Hello evryone I give this error when i compile softhddevice [behrooz@Lenovo-G500 softhddevice-0.6.0]$ make g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fvar-tracking-assignments -O3 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Werror=overloaded-virtual -c -o softhddevice.o softhddevice.cpp In file included from softhddevice.cpp:46:0: video.h:63:13: error: use of enum 'PixelFormat' without previous declaration extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *, ^~~~~~~~~~~ video.h:64:16: error: use of enum 'PixelFormat' without previous declaration const enum PixelFormat *); ^~~~~~~~~~~ softhddevice.cpp: In member function 'virtual void cSoftOsd::Flush()': softhddevice.cpp:480:31: error: invalid conversion from 'cPixmap*' to 'cPixmapMemory*' [-fpermissive] while ((pm = RenderPixmaps())) { ~~~~~~~~~~~~~^~ softhddevice.cpp: At global scope: softhddevice.cpp:2046:18: error: by 'virtual void cSoftHdDevice::TrickSpeed(int)' [-Werror=overloaded-virtual] virtual void TrickSpeed(int); ^~~~~~~~~~ cc1plus: some warnings being treated as errors make: *** [<builtin>: softhddevice.o] Error 1
I using Arch linux
vdr mailing list vdr@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr