Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: DVB subtitles



Trying to compile the stuff with vdr patched with Teemu's
EPGPreferredLang patch, I get ....

make[1]: Entering directory `/root/VDR30E/vdr-1.1.30/PLUGINS/src/subtitles'
g++ -O2 -g -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"subtitles"' -I../../../include -I../../../../DVB/include subtitles.c
In file included from receiver.h:5,
from status.h:3,
from subtitles.c:9:
decoder.h:24: syntax error before `;' token
decoder.h:25: syntax error before `;' token
decoder.h:26: syntax error before `;' token
decoder.h:27: syntax error before `;' token
decoder.h:73: 'ObjectMap' is used as a type, but is not defined as a type.
decoder.h:74: 'ClutMap' is used as a type, but is not defined as a type.
decoder.h:75: 'RegionMap' is used as a type, but is not defined as a type.
decoder.h:76: 'RegionList' is used as a type, but is not defined as a type.
make[1]: *** [subtitles.o] Error 1
make[1]: Leaving directory `/root/VDR30E/vdr-1.1.30/PLUGINS/src/subtitles'
make: *** [plugins] Error 2
I knew I was going to get in to trouble for using STL. You probably have a newer gcc, like 3.2 or something.

Try adding:
'using namespace std;'
after the #include's

or change the lines 24-27 to be:

typedef std::map<int, Region*> RegionMap;
typedef std::map<int, Object*> ObjectMap;
typedef std::map<int, Clut*> ClutMap;
typedef std::list<Region*> RegionList;


And I though S in STL stands for Standard :)

-- pekka



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index