Christian Tramnitz wrote:
Juha Pahkala wrote:I also can't compile softdevice with directfb support.Hello, I'm trying to compile the softdevice plugin for vdr. However, when I to a 'make plugins' in the vdr directory, I get: [...] I'm using vdr-1.2.6, softdevice-0.0.5pre1, DirectFB-0.9.20, DFB++-0.9.20, and dvb-kernel cvs from today. Should this setup work? Has anybody seen an error like that before? By the way, I have a G400, and I'd like to use softdevice similarily to the 'dfbmga' option in mplayer. Does softdevice support that? Thanks in advance, Juhis
I'm using vdr-1.2.6, softdevice-0.0.4 (I thin I saw an email that directfb is broken in 0.0.5pre1), DirectFB-0.9.21 (cvs) with sisfb (SiS315).
DirectFB itself is really great, I just tried some HDTV samples with mplayer :-)
However, trying to compile softdevice with directfb fails:
make[1]: Entering directory `/usr/local/src/vdr-1.2.6/PLUGINS/src/softdevice'
g++ -O2 -Wall -Woverloaded-virtual -L/usr/include/ffmpeg -c -DPLUGIN_NAME_I18N='"softdevice"' -DDFB_SUPPORT -I../../../include -I../../../../DVB/include -I/usr/include/ffmpeg `directfb-config --cflags` video-dfb.c
In file included from ../../../include/vdr/svdrp.h:13,
from ../../../include/vdr/interface.h:16,
from ../../../include/vdr/osd.h:18,
from ../../../include/vdr/menuitems.h:13,
from ../../../include/vdr/plugin.h:14,
from video-dfb.c:12:
../../../include/vdr/tools.h:162: warning: `virtual void
cListBase::Add(cListObject*, cListObject*)' was hidden
../../../include/vdr/recording.h:142: warning: by `cMark* cMarks::Add(int)'
In file included from ../../../include/vdr/menuitems.h:13,
from ../../../include/vdr/plugin.h:14,
from video-dfb.c:12:
../../../include/vdr/tools.h:162: warning: `virtual void
cListBase::Add(cListObject*, cListObject*)' was hidden
../../../include/vdr/osd.h:168: warning: by `void cOsdMenu::Add(cOsdItem*,
bool, cOsdItem*)'
video-dfb.c: In function `DFBEnumerationResult EnumCallBack(unsigned int,
DFBDisplayLayerDescription, void*)':
video-dfb.c:54: error: `cerr' undeclared (first use this function)
video-dfb.c:54: error: (Each undeclared identifier is reported only once for
each function it appears in.)
video-dfb.c:54: error: `endl' undeclared (first use this function)
make[1]: *** [video-dfb.o] Error 1
Add a line '#include <iostream>' on top of video-dfb.c. Holger -- Info: To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.