[VDR] xine plugin how to cancel "No signal"

Simon Baxter linuxtv at nzbaxters.com
Wed Jun 29 11:31:23 CEST 2005


When I try and compile the radio plugin I get :
make[1]: Entering directory `/home/vdruser/vdr/PLUGINS/src/radio-0.0.5'
g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"radio"' 
 -DUSE_STILLPICTURE -I../../../include -I/lib/modules/2.6.11.8/build/include 
radio.c
In file included from radio.c:13:
../../../include/vdr/player.h:55: warning: `virtual void 
cPlayer::SetAudioTrack(eTrackType, const tTrackId*)' was hidden
radiotransfer.h:31: warning:   by `virtual void 
cRadioTransfer::SetAudioTrack(int)'
radio.c: In member function `virtual void cPluginRadio::ChannelSwitch(const 
cDevice*, int)':
radio.c:145: error: 'const class cChannel' has no member named 'Apid1'
make[1]: *** [radio.o] Error 1


I'm also getting the below on the calendar plugin....


Am I missing something??

[root at media calendar]# make
g++ -g -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"calendar"' -I../../../include 
 -I/lib/modules/2.6.11.8/build/include menu.c
In file included from menu.c:23:
menuitem.h:36: error: `eDvbColor' has not been declared
menuitem.h:36: error: `eDvbColor' has not been declared
menuitem.h:36: error: ISO C++ forbids declaration of `FgColor' with no type
menuitem.h:36: error: ISO C++ forbids declaration of `BgColor' with no type
menuitem.h:42: error: `eDvbColor' has not been declared
menuitem.h:42: error: `eDvbColor' has not been declared
menuitem.h:42: error: ISO C++ forbids declaration of `FgColor' with no type
menuitem.h:42: error: ISO C++ forbids declaration of `BgColor' with no type
menuitem.h:36: error: `clrBackground' was not declared in this scope
In file included from menu.c:26:
menusetup.c: In member function `void 
cMenuCalendarSetup::AddNewCategory(const char*)':
menusetup.c:109: error: 'class cOsdItem' has no member named 'SetColor'
menusetup.c:109: error: `clrBackground' undeclared (first use this function)
menusetup.c:109: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
menu.c: In constructor `cMenuWhatsOnCal::cMenuWhatsOnCal()':
menu.c:183: error: 'class cInterface' has no member named 'Width'
menu.c:183: error: `CellWidth' is not a member of `cOsd'
menu.c:184: error: `LineHeight' is not a member of `cOsd'
menu.c: In member function `eOSState cMenuWhatsOnCal::Switch()':
menu.c:340: error: 'class cInterface' has no member named 'Error'
menu.c: In member function `void cMenuWhatsOnCal::SetTitle()':
menu.c:357: warning: cannot pass objects of non-POD type `class cString' 
through `...'; call will abort at runtime
menu.c:357: warning: format argument is not a pointer (arg 4)
menu.c:359: error: no matching function for call to 
`cMenuWhatsOnCal::SetTitle(char*&, bool)'
../../../include/vdr/../../osdbase.h:117: note: candidates are: void 
cOsdMenu::SetTitle(const char*)
menu.c: In member function `void cMenuWhatsOnCal::SetTimeBar()':
menu.c:376: error: `eDvbColor' does not name a type
menu.c:377: error: `eDvbColor' does not name a type
menu.c:378: error: `eDvbColor' does not name a type
menu.c:384: error: 'class cBitmap' has no member named 'Fill'
menu.c:384: error: `BgColor' undeclared (first use this function)
menu.c:390: error: no matching function for call to `cOsd::Width(char)'
../../../include/vdr/../../osd.h:241: note: candidates are: int 
cOsd::Width()
menu.c:403: error: 'class cBitmap' has no member named 'Text'
menu.c:403: error: `FgColor' undeclared (first use this function)
menu.c:413: error: 'class cBitmap' has no member named 'SetPixel'
menu.c:413: error: `lineColor' undeclared (first use this function)
menu.c:414: error: 'class cBitmap' has no member named 'SetPixel'
menu.c:426: error: 'class cBitmap' has no member named 'SetPixel'
menu.c:427: error: 'class cBitmap' has no member named 'SetPixel'
menu.c: In member function `virtual void cMenuWhatsOnCal::Display()':
menu.c:462: error: 'class cInterface' has no member named 'SetBitmap'
menu.c: In member function `void cMenuWhatsOnCal::DisplayInfo()':
menu.c:478: error: 'class cInterface' has no member named 'Width'
menu.c:482: error: 'class cInterface' has no member named 'Status'
menu.c:482: error: `clrBackground' undeclared (first use this function)
menu.c:492: error: 'class cInterface' has no member named 'Status'
make: *** [menu.o] Error 1




More information about the vdr mailing list