Mailing List archive

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

[vdr] Re: [ANNOUNCE] Channelscan Plugin 0.0.3 Beta



Oleg wrote:

Hi

tinconn@virgilio.it wrote:

Hi

a new plugin channelscan has been released. Channelscan uses a transponders .ini file from win project like prog-DVB software for create a channels.conf
---------------------------------------------------------------------------------------------------------
changelog: 2005-01-15: Version 0.0.3
- Code clean (by bergwinkl.thomas@vr-web.de)
- The plugin not show the last channel after scan (fix by bergwinkl.thomas@vr-web.de)
- Add DE translation (by )
- Add RU translation (by sdiconov@mail.ru)
- Now when change file of sat, the plugin show the sat name and total of transponder
- Bug fix
---------------------------------------------------------------------------------------------------------

What's about a compiling with g++-2.95? It don't works :(
It was error in 0.0.2. Same error now...

debian:/usr/local/src/vdr-1.3.18/PLUGINS/src/channelscan-0.0.3# make all
g++ -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"channelscan"' -I../../../include -I../../../../DVB/include channelscan.c
In file included from channelscan.c:26:
transponders.h:23: syntax error before `['
transponders.h:25: syntax error before `('
transponders.h:26: syntax error before `('
transponders.h:27: syntax error before `('
transponders.h:28: syntax error before `('
transponders.h:29: syntax error before `('
transponders.h:30: syntax error before `('
transponders.h:31: `string' was not declared in this scope
transponders.h:31: parse error before `)'
channelscan.c: In method `void cMainMenu::LoadSatFile(int)':
channelscan.c:192: `class cTranspoders' has no member named `sArrTranspodersFile'
make: *** [channelscan.o] Error 1

CU
Oleg

I don't undestand why g++-2.95 when i use the string type make a error:
this is the line that g++-2.95 don't wont:

string sArrTranspodersFile[1000];
// Method
string ReadIni(char cFile[1000], string sCategory, string sField);
string IntToStr(int iValue);
string StrAfterChar(string sLine, char cFind);
string StrBeforeChar(string sLine, char cFind);
string StrTrim(string sInput);
string CharToStr(char *cInput);

but with my g++-3.3.4 this line is ok
i declare on top of transponder.h file std::string;

I don' t find any solution for now... if sameone help me, i' ll very happy...




Home | Main Index | Thread Index