Hi,
I'm attempting to compile the dxr3 plugin (version 0.2.2) against vdr
(version 1.3.24) without much success....
When issuing a make plugins command from the vdr source folder i get
the following results:
-- dxr3 snippet --
make[1]: Entering directory
`/home/david/src/vdr-1.3.24/PLUGINS/src/dxr3'
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"'
-DSOCKET_CHMOD=0660 -D_GNU_SOURCE -I../../../inc
lude -I../../../../DVB/include -I../../../../ffmpeg-0.4.6/libavcodec/
dxr3.c
In file included from dxr3osd.h:14,
from dxr3abstractiondevice.h:17,
from dxr3syncbuffer.h:15,
from dxr3demuxdevice.h:14,
from dxr3device.h:17,
from dxr3.c:10:
spuenc.h:52: error: syntax error before `*' token
spuenc.h:91: error: `cWindow' was not declared in this scope
spuenc.h:91: error: `win' was not declared in this scope
spuenc.h:91: error: parse error before `,' token
spuenc.h:93: error: parse error before `*' token
In file included from dxr3abstractiondevice.h:17,
from dxr3syncbuffer.h:15,
from dxr3demuxdevice.h:14,
from dxr3device.h:17,
from dxr3.c:10:
dxr3osd.h:16: error: parse error before `{' token
dxr3osd.h:21: error: `cWindow' was not declared in this scope
dxr3osd.h:21: error: `Window' was not declared in this scope
dxr3osd.h:23: error: parse error before `protected'
dxr3osd.h:25: error: `cWindow' was not declared in this scope
dxr3osd.h:25: error: `Window' was not declared in this scope
dxr3osd.h:25: error: virtual outside class declaration
dxr3osd.h:25: error: variable or field `CommitWindow' declared void
dxr3osd.h:26: error: `cWindow' was not declared in this scope
dxr3osd.h:26: error: `Window' was not declared in this scope
dxr3osd.h:26: error: virtual outside class declaration
dxr3osd.h:26: error: variable or field `ShowWindow' declared void
dxr3osd.h:27: error: `cWindow' was not declared in this scope
dxr3osd.h:27: error: `Window' was not declared in this scope
dxr3osd.h:27: error: parse error before `)' token
dxr3osd.h:27: error: virtual outside class declaration
dxr3osd.h:28: error: `cWindow' was not declared in this scope
dxr3osd.h:28: error: `Window' was not declared in this scope
dxr3osd.h:28: error: parse error before `,' token
dxr3osd.h:28: error: virtual outside class declaration
dxr3osd.h:29: error: `cWindow' was not declared in this scope
dxr3osd.h:29: error: `Window' was not declared in this scope
dxr3osd.h:29: error: virtual outside class declaration
dxr3osd.h:29: error: variable or field `CloseWindow' declared void
dxr3osd.h:31: error: parse error before `public'
dxr3osd.h:33: error: destructors must be member functions
dxr3osd.h:33: error: virtual outside class declaration
dxr3osd.h:34: error: parse error before `}' token
In file included from dxr3syncbuffer.h:15,
from dxr3demuxdevice.h:14,
from dxr3device.h:17,
from dxr3.c:10:
dxr3abstractiondevice.h:72: error: syntax error before `*' token
In file included from dxr3device.h:17,
from dxr3.c:10:
dxr3demuxdevice.h:41: error: syntax error before `*' token
In file included from dxr3device.h:19,
from dxr3.c:10:
../../../include/vdr/spu.h:39: warning: `virtual void
cSpuDecoder::processSPU(unsigned int, uint8_t*, bool)' was hidden
dxr3spudecoder.h:20: warning: by `void
cDxr3SpuDecoder::processSPU(unsigned
int, uint8_t*)'
In file included from dxr3.c:10:
dxr3device.h:55: error: ISO C++ forbids declaration of `cOsdBase' with
no type
dxr3device.h:55: error: `cOsdBase' declared as a `virtual' field
dxr3device.h:55: error: parse error before `*' token
dxr3device.h:65: error: conflicting return type specified for `virtual
void
cDxr3Device::PlayAudio(const uchar*, int)'
../../../include/vdr/device.h:404: error: overriding `virtual int
cDevice::PlayAudio(const uchar*, int)'
../../../include/vdr/device.h:162: warning: `virtual int
cDevice::ProvidesCa(const cChannel*) const' was hidden
dxr3device.h:54: warning: by `virtual int
cDxr3Device::ProvidesCa(int)'
make[1]: *** [dxr3.o] Error 1
I can't for the life of me work out why. Anyone else have any problems
with this combination?
I am running Debian Testing
Cheers
--
David Reynolds
david(a)reynoldsfamily.org.uk