yaepg-0.0.6 ..will nicht

  • Hallo VDR Kollegen
    hat einer von euch schon yaepg-0.0.6, mit VDR 1.6.0-2+ExtPatch ans laufen gebracht ??
    Bei mir steigt er immer aus mit :


    yaepg.c: In member function ‘int cTextBox::SetText(int, ...)’:
    yaepg.c:283: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c: At global scope:
    yaepg.c:937: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:937: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:937: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:937: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:937: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:937: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:937: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c: In constructor ‘cRecDlgBox::cRecDlgBox(const cEvent*)’:
    yaepg.c:1016: error: ‘class cSetup’ has no member named ‘DefaultTimerAction’
    yaepg.c: At global scope:
    yaepg.c:1065: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:1065: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c:1065: warning: deprecated conversion from string constant to ‘char*’
    yaepg.c: In member function ‘void cRecDlgBox::Draw()’:
    yaepg.c:1074: error: ‘class cSetup’ has no member named ‘DefaultTimerAction’
    yaepg.c: In member function ‘bool cRecDlgBox::AddTimer()’:
    yaepg.c:1266: error: ‘class cSetup’ has no member named ‘DefaultTimerAction’
    yaepg.c:1270: error: ‘class cSetup’ has no member named ‘DefaultTimerAction’
    yaepg.c:1274: error: ‘class cSetup’ has no member named ‘DefaultTimerAction’
    make: *** [yaepg.o] Fehler 1


    Die Version, kann man hier downloaden :
    http://captiveworks.org/open-source/vdr-yaepg/files.php
    Gruss und Danke
    Speed

  • Ja, ich *meld*, yaepghd zwar, müsste aber das gleiche Problem sein.


    In der yaepg.c gibt es eine Variable "VERSION", die von einer anderen Bibliothek beansprucht wird.


    Einfach alle vorkommenden VERSION z.B. durch PLGVERSION ersetzen, dann sollte es löppen.


    Viele Grüße
    kanotixer

    Full-Budget: Athlon XP 2600+ auf Asrock K7VT4A+, XFX Nvidia Geforce 6200, Hauppauge Nova-S Plus.
    HjsLfs 1.2.8 mit VDR 1.6.0-2 und xineliboutput.

  • Ich hab alle vorkommenden zeilen mit "DefaultTimerAction" aus yaepg.c entfernt.


    Er hat compiliert und plugin ist geladen. Ob das auch sauber funktioniert kann ich leider nicht sagen, bin nicht zuhause...


    m fr gr


    Carel

  • Hat sich mit den beiden Änderungen denn der Compiler-Output, respektive die Fehlermeldung, verändert?


    Poste das doch mal.

    Full-Budget: Athlon XP 2600+ auf Asrock K7VT4A+, XFX Nvidia Geforce 6200, Hauppauge Nova-S Plus.
    HjsLfs 1.2.8 mit VDR 1.6.0-2 und xineliboutput.

  • Hallo carel
    mit deiner Datei, bekomme ich jetzt dieses hier :
    yaepg.c: In member function âint cTextBox::SetText(int, ...)â:
    yaepg.c:283: warning: deprecated conversion from string constant to âchar*â
    yaepg.c: At global scope:
    yaepg.c:937: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:937: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:937: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:937: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:937: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:937: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:937: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:1062: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:1062: warning: deprecated conversion from string constant to âchar*â
    yaepg.c:1062: warning: deprecated conversion from string constant to âchar*â
    yaepg.c: In member function âvirtual const char* cPluginYaepg::Version()â:
    yaepg.c:2529: error: âPLGVERSIONâ was not declared in this scope
    yaepg.h: At global scope:
    yaepg.h:24: warning: âVERSIONâ defined but not used
    yaepg.c:1214: warning: âwdayToFreqâ defined but not used
    make: *** [yaepg.o] Error 1
    Gruss
    Speed

  • Ahja, also das mit der PLGVERSION <-> VERSION müsstest Du dann wieder rückgängig machen.
    Bei yaepghd hats wie gesagt daran gelegen, in diesem Fall bringts eher Probleme. Allerdings habe ich auch nicht automatisiert alles ersetzt, sondern da, wo es mir sinnvoll erschien. Vielleicht liegts auch daran. Ansonsten schau Dir mal die Zeilen an, bei denen er Fehler schmeißt. Vielleicht hat da ein Entwickler ne Idee?


    EXT-Patch ist drauf und yaepg ist aktiviert in der make.conf?


    Grüße
    Marc

    Full-Budget: Athlon XP 2600+ auf Asrock K7VT4A+, XFX Nvidia Geforce 6200, Hauppauge Nova-S Plus.
    HjsLfs 1.2.8 mit VDR 1.6.0-2 und xineliboutput.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!