GraphLCD-Änderung für grössere Darstellung auf kleinem Display

  • Hi!

    Für die, die's interessiert: Ich habe graphLCD gepatcht, damit man auf meinem 128*64-Display auch aus einiger Entfernung noch was lesen kann.

    Darstellung beim Fernsehen:

    - Kanalnummer - Kanal
    - Fortschrittsanzeige (8 Pixel hoch und volle Breite)
    - Titel
    - Untertitel

    Die Logos können nicht mehr angezeigt werden, passt so nicht mehr richtig hin und ausserdem wird der Fortschrittsbalken derzeit noch nicht daraufhin berechnet, Logo und Balken überschneiden sich also.

    Darstellung bei Wiedergabe:

    - 2 Zeilen: Titel
    - Fortschrittsbalken
    - Zeiten (jetzt in grosser Schrift)

    Dazu müssen

    - Datum/ Uhrzeit
    - Logo
    - Symbole
    - farbige Tasten

    im Setup ausgeschaltet, der Rest kann eingeschaltet werden.

    Einfach display.c im graphlcd-Verzeichnis ersetzen und Plugin neu bauen.

    Weiterhin müssen die Links in plugins/graphlcd/fonts (normalerweise im /video-Verzeichnis) folgendermassen sitzen:

    f_m_l.fnt -> f17b.fnt oder f17bn.fnt
    f_m_n.fnt -> f12b.fnt oder f12bn.fnt
    f_m_s.fnt -> f5n.fnt
    f_m_sym.fnt -> sym7.fnt

    Viel Spass, Feedback ist erwünscht...

    Bilder:

    [Blocked Image: http://home.arcor.de/stephan.sickert/ARD.jpg]

    [Blocked Image: http://home.arcor.de/stephan.sickert/Wiedergabe.jpg]

  • Ich habs mal installiert, sieht auch ganz gut aus, nur die Kanalanzeige klappt nicht so richtig. Wenn ich die anschalte, überlappt die ca 80% mit dem Namen der Sendung. Nicht so wie auf deinem Screenshot..

    Was hab ich da falsch gemacht? Ich hab auch in der ersten Zeile noch das Datum und die Uhrzeit stehen..

  • Wie ich schon geschrieben habe: Datum/ Uhrzeit müssen ausgeschaltet werden, das passt einfach nicht mehr drauf bei dieser Schriftgrösse...

    Eine Änderung werde ich noch machen: Den Sendernamen ganz oben hinpappen, z.Z. sind da ganz oben 2 leere Zeilen...

    VIA EPIA 5000 + VIA Sereniti + DVB-s 1.6 + TT budget

  • Ja, das meinte ich ja.. Wie bekomme ich das hin, dass das so aussieht wie auf deinem ersten Bild? Die obere Zeile ist bei mir immer leer und wenn ich den Sendernamen anschalte ist der woanders..

  • Uhm.. Vergiss es.. Ich habs hinbekommen.. Irgendwie hatte ich die Option übersehen... *schäm* :~

    Wenn du jetzt noch hinter den Sendernamen die Uhrzeiut bringen könntest, wärs doch perfekt :)

  • Habe ich mir auch schon überlegt...

    Ist aber sicher nicht so ganz trivial, ich denke, ich warte auf vdr 1.3.1, da sind die Sendernamen kürzer (es werden die Kurznamen statt der Langnamen verwandt (RTL statt RTL Television)), dann muss man hoffentlich nicht erst noch rumrechnen und den Sendernamen kürzen, damit alles passt...

    Hier erstmal die aktuelle Version, die das LCD noch etwas besser ausnutzt (Sendernamen ganz oben, nicht erst ab der 3. Zeile).

  • So, habe nun doch mal das Thema angepackt...

    display.c wieder ersetzen und GraphLCD zeigt jetzt in der ersten Zeile die Nummer, den Sender und ganz am rechten Rand die Uhrzeit an.

    Das Ganze geht ausschliesslich mit einem 128*64-Display und ich habe etwas getrickst, da ich es in meiner Müdigkeit nicht geschafft habe herauszufinden, wie genau die Text()-Methode am pLCD-Objekt funktioniert ;)

    Sieht aber ganz gut aus!

    Viel Spass, Anmerkungen gerne willkommen!

  • Hi,

    ich wollte den patch mal mit einem 240x64 Display ausprobieren, ich weiß es soll nur mit einem 128x64 laufen. Hab mir aber gedacht, dass es in erster Linie nur auf die Höhe ankommt?? (Habe leider keine Ahnung vom proggen)
    Leider krieg ich aber nur Fehler beim kompilieren, kanns also gar nicht ausprobieren.
    Hab hier Suse8.2 und vdr1.2.6 am laufen. Ach ja, grapghlcd "normal" funzt. Kannst Du mir vielleicht nen Tip geben?

    .selfmade

    Gigabyte P61-USB3-B3, Intel G620, Thermalright Macho HR-02, 4GB Corsair DDR3, Asus engt520 1GB passiv, Samsung 1TB HN-M101MBB, Cine S2 V6, Gehäuse: Fractal Design Arc, Kühlung komplett passiv - CPU ~40°C // GPU ~50°C == yavdr-0.5.0

  • Ohne den genauen Fehler beim Komplizieren kann ich dir nicht weiterhelfen.

    Wie auch immer: Mein gepatchtes GraphLCD sieht unter Garantie scheisse auf deinem Display aus, wetten?

    VIA EPIA 5000 + VIA Sereniti + DVB-s 1.6 + TT budget

  • Hi,

    ich poste noch die Logdatei, nur im Moment gehts leider nicht. Meine Frau sitzt grad vorm Fernseher und wenn ich da jetzt mal eben an den vdr muß, ne ne das gibt haue ;D

    Warum solls denn scheisse aussehen? Die Höhe paßt doch schon mal.

    Gigabyte P61-USB3-B3, Intel G620, Thermalright Macho HR-02, 4GB Corsair DDR3, Asus engt520 1GB passiv, Samsung 1TB HN-M101MBB, Cine S2 V6, Gehäuse: Fractal Design Arc, Kühlung komplett passiv - CPU ~40°C // GPU ~50°C == yavdr-0.5.0

  • Ach ja, deins ist ja auch 64 hoch. Dann sieht's nicht ganz so blöd aus...

    Eventuell kann ich dir auch ein massgeschneidertes display.c zuschicken, wenn du das Teil zum Fliegen bringst und mal ein Foto machst...

    Wenn ich mich recht entsinne, dürfte bei dir nur der Name des Senders nach ca. 80 Pixeln abgeschnitten werden, Uhrzeit und Balken sind zwar rechtsbündig, aber wenn mich nicht alles täuscht wird der rechte Rand aus der Displaybreite berechnet.

    In diesem Falle wäre die Änderung ein Klacks.

    VIA EPIA 5000 + VIA Sereniti + DVB-s 1.6 + TT budget

  • Hi,

    das Angebot mit mit der massgeschneiderten display.c nehme ich sehr gerne an :] Das Foto vom Display geht aber leider nicht sofort, ich hab keine DigiCam und muß mir erst eine leihen, ist aber kein Problem, mach ich auf jeden Fall.
    So, und hier die Logdatei:

    make[1]: Entering directory `/usr/local/src/vdr-1.2.6/PLUGINS/src/graphlcd-0.0.7'
    make[1]: Leaving directory `/usr/local/src/vdr-1.2.6/PLUGINS/src/graphlcd-0.0.7'
    make[1]: Entering directory `/usr/local/src/vdr-1.2.6/PLUGINS/src/graphlcd-0.0.7'
    g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"graphlcd"' -DT6963 -I../../../include -I../../../../DVB/include graphlcd.c
    g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"graphlcd"' -DT6963 -I../../../include -I../../../../DVB/include display.c
    display.c:1: error: syntax error before `.' token
    display.c:1:10: warning: null character(s) ignored
    display.c:1:107: warning: null character(s) ignored
    display.c:1:115: warning: null character(s) ignored
    display.c:1:123: warning: null character(s) ignored
    display.c:1: error: integer constant is too large for "long" type
    display.c:1:155: warning: null character(s) ignored
    display.c:1:263: warning: null character(s) ignored
    display.c:1:264: invalid suffix "root" on integer constant
    display.c:1:270: warning: null character(s) ignored
    In file included from display.c:34:
    /usr/include/unistd.h:310: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:310: error: parse error before `)' token
    /usr/include/unistd.h:313: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:313: error: parse error before `)' token
    /usr/include/unistd.h:317: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:317: error: parse error before `,' token
    /usr/include/unistd.h:319: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:319: error: parse error before `,' token
    /usr/include/unistd.h:340: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:340: error: parse error before `,' token
    /usr/include/unistd.h:344: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:344: error: parse error before `,' token
    /usr/include/unistd.h:423: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:423: error: parse error before `)' token
    In file included from display.c:34:
    /usr/include/unistd.h:513: error: syntax error before `(' token
    /usr/include/unistd.h:682: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:682: error: parse error before `)' token
    /usr/include/unistd.h:707: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:707: error: parse error before `)' token
    /usr/include/unistd.h:730: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:730: error: parse error before `)' token
    In file included from display.c:34:
    /usr/include/unistd.h:752: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:752: error: parse error before `)' token
    /usr/include/unistd.h:759: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:759: error: parse error before `)' token
    /usr/include/unistd.h:769: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:769: error: parse error before `)' token
    /usr/include/unistd.h:770: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:770: error: parse error before `)' token
    /usr/include/unistd.h:787: error: type specifier omitted for parameter `size_t'
    /usr/include/unistd.h:787: error: parse error before `,' token
    In file included from /usr/include/sys/types.h:266,
    from /usr/include/bits/fcntl.h:25,
    from /usr/include/fcntl.h:33,
    from ../../../include/vdr/tools.h:14,
    from display.c:37:
    /usr/include/bits/pthreadtypes.h:48: error: 'size_t' is used as a type, but is
    not defined as a type.
    /usr/include/bits/pthreadtypes.h:51: error: 'size_t' is used as a type, but is
    not defined as a type.
    In file included from ../../../include/vdr/tools.h:14,
    from display.c:37:
    /usr/include/fcntl.h:130: error: type specifier omitted for parameter `size_t'
    /usr/include/fcntl.h:130: error: parse error before `,' token
    /usr/include/fcntl.h:142: error: type specifier omitted for parameter `size_t'
    /usr/include/fcntl.h:142: error: parse error before `,' token
    /usr/include/fcntl.h:149: error: type specifier omitted for parameter `size_t'
    /usr/include/fcntl.h:149: error: parse error before `)' token
    /usr/include/fcntl.h:160: error: type specifier omitted for parameter `size_t'
    /usr/include/fcntl.h:160: error: parse error before `)' token
    In file included from /usr/include/_G_config.h:44,
    from /usr/include/libio.h:32,
    from /usr/include/stdio.h:72,
    from ../../../include/vdr/tools.h:16,
    from display.c:37:
    /usr/include/gconv.h:72: error: type specifier omitted for parameter `size_t'
    /usr/include/gconv.h:72: error: parse error before `*' token
    /usr/include/gconv.h:88: error: type specifier omitted for parameter `size_t'
    /usr/include/gconv.h:88: error: parse error before `*' token
    /usr/include/gconv.h:97: error: type specifier omitted for parameter `size_t'
    /usr/include/gconv.h:97: error: parse error before `*' token
    /usr/include/gconv.h:174: error: 'size_t' is used as a type, but is not defined
    as a type.
    In file included from /usr/include/stdio.h:72,
    from ../../../include/vdr/tools.h:16,
    from display.c:37:
    /usr/include/libio.h:350: error: type specifier omitted for parameter `size_t'
    /usr/include/libio.h:350: error: parse error before `)' token
    /usr/include/libio.h:359: error: type specifier omitted for parameter `size_t'
    /usr/include/libio.h:359: error: parse error before `)' token
    /usr/include/libio.h:467: error: syntax error before `(' token
    In file included from ../../../include/vdr/tools.h:16,
    from display.c:37:
    /usr/include/stdio.h:261: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:261: error: parse error before `,' token
    /usr/include/stdio.h:267: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:267: error: parse error before `*' token
    /usr/include/stdio.h:279: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:279: error: parse error before `)' token
    /usr/include/stdio.h:286: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:286: error: parse error before `)' token
    /usr/include/stdio.h:317: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:317: error: parse error before `,' token
    /usr/include/stdio.h:321: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:321: error: parse error before `,' token
    /usr/include/stdio.h:462: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:462: error: parse error before `*' token
    /usr/include/stdio.h:465: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:465: error: parse error before `*' token
    /usr/include/stdio.h:470: error: type specifier omitted for parameter `size_t'
    /usr/include/stdio.h:470: error: parse error before `*' token
    /usr/include/stdio.h:489: error: syntax error before `(' token
    /usr/include/stdio.h:492: error: syntax error before `(' token
    /usr/include/stdio.h:504: error: syntax error before `(' token
    /usr/include/stdio.h:506: error: syntax error before `(' token
    In file included from /usr/include/stdio.h:674,
    from ../../../include/vdr/tools.h:16,
    from display.c:37:
    /usr/include/bits/stdio.h:102: error: type specifier omitted for parameter `
    size_t'
    /usr/include/bits/stdio.h:102: error: parse error before `*' token
    /usr/include/bits/stdio.h: In function `__ssize_t getline(...)':
    /usr/include/bits/stdio.h:104: error: `__lineptr' undeclared (first use this
    function)
    /usr/include/bits/stdio.h:104: error: (Each undeclared identifier is reported
    only once for each function it appears in.)
    /usr/include/bits/stdio.h:104: error: `__n' undeclared (first use this
    function)
    /usr/include/bits/stdio.h:104: error: `__stream' undeclared (first use this
    function)
    In file included from ../../../include/vdr/tools.h:17,
    from display.c:37:
    /usr/include/string.h: At global scope:
    /usr/include/string.h:39: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:39: error: parse error before `)' token
    /usr/include/string.h:42: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:42: error: parse error before `)' token
    /usr/include/string.h:51: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:51: error: parse error before `)' token
    /usr/include/string.h:58: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:58: error: parse error before `)' token
    /usr/include/string.h:61: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:61: error: parse error before `)' token
    /usr/include/string.h:65: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:65: error: parse error before `)' token
    /usr/include/string.h:75: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:75: error: parse error before `)' token
    /usr/include/string.h:86: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:86: error: parse error before `)' token
    /usr/include/string.h:93: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:93: error: parse error before `)' token
    /usr/include/string.h:99: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:99: error: parse error before `)' token
    /usr/include/string.h:106: error: syntax error before `(' token
    /usr/include/string.h:120: error: syntax error before `(' token
    /usr/include/string.h:133: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:133: error: parse error before `)' token
    /usr/include/string.h:176: error: syntax error before `(' token
    /usr/include/string.h:180: error: syntax error before `(' token
    /usr/include/string.h:215: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:215: error: parse error before `,' token
    /usr/include/string.h:222: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:222: error: parse error before `)' token
    /usr/include/string.h:224: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:224: error: parse error before `)' token
    /usr/include/string.h:230: error: syntax error before `(' token
    /usr/include/string.h:236: error: syntax error before `(' token
    /usr/include/string.h:248: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:248: error: parse error before `)' token
    /usr/include/string.h:253: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:253: error: parse error before `)' token
    /usr/include/string.h:257: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:257: error: parse error before `)' token
    /usr/include/string.h:260: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:260: error: parse error before `)' token
    /usr/include/string.h:263: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:263: error: parse error before `)' token
    /usr/include/string.h:291: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:291: error: parse error before `)' token
    /usr/include/string.h:302: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:302: error: parse error before `,' token
    /usr/include/string.h:330: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:330: error: parse error before `)' token
    /usr/include/string.h:332: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:332: error: parse error before `)' token
    /usr/include/string.h:338: error: type specifier omitted for parameter `size_t'
    /usr/include/string.h:338: error: parse error before `)' token
    In file included from display.c:37:
    ../../../include/vdr/tools.h:55: error: type specifier omitted for parameter `
    size_t'
    ../../../include/vdr/tools.h:55: error: parse error before `)' token
    ../../../include/vdr/tools.h:56: error: type specifier omitted for parameter `
    size_t'
    ../../../include/vdr/tools.h:56: error: parse error before `)' token
    ../../../include/vdr/tools.h:60: error: type specifier omitted for parameter `
    size_t'
    ../../../include/vdr/tools.h:60: error: parse error before `)' token
    In file included from /usr/include/pthread.h:21,
    from ../../../include/vdr/thread.h:21,
    from ../../../include/vdr/ci.h:15,
    from ../../../include/vdr/menu.h:13,
    from display.c:38:
    /usr/include/time.h:197: error: syntax error before `(' token
    /usr/include/time.h:215: error: syntax error before `(' token
    In file included from ../../../include/vdr/thread.h:21,
    from ../../../include/vdr/ci.h:15,
    from ../../../include/vdr/menu.h:13,
    from display.c:38:
    /usr/include/pthread.h:248: error: type specifier omitted for parameter `size_t
    '
    /usr/include/pthread.h:248: error: parse error before `)' token
    /usr/include/pthread.h:252: error: type specifier omitted for parameter `size_t
    '
    /usr/include/pthread.h:252: error: parse error before `*' token
    /usr/include/pthread.h:273: error: type specifier omitted for parameter `size_t
    '
    /usr/include/pthread.h:273: error: parse error before `)' token
    /usr/include/pthread.h:278: error: type specifier omitted for parameter `size_t
    '
    /usr/include/pthread.h:278: error: parse error before `*' token
    /usr/include/pthread.h:285: error: type specifier omitted for parameter `size_t
    '
    /usr/include/pthread.h:285: error: parse error before `)' token
    /usr/include/pthread.h:289: error: type specifier omitted for parameter `size_t
    '
    /usr/include/pthread.h:289: error: parse error before `*' token
    In file included from /usr/include/g++/cstring:49,
    from /usr/include/g++/bits/stl_algobase.h:65,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/cstddef:53: error: `size_t' not declared
    In file included from /usr/include/g++/bits/stl_algobase.h:65,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/cstring:89: error: `strxfrm' not declared
    /usr/include/g++/cstring:90: error: `strcspn' not declared
    /usr/include/g++/cstring:91: error: `strspn' not declared
    /usr/include/g++/cstring:95: error: `strlen' not declared
    /usr/include/g++/cstring:100: error: type specifier omitted for parameter `
    size_t'
    /usr/include/g++/cstring:100: error: parse error before `)' token
    /usr/include/g++/cstring: In function `void* std::memchr(...)':
    /usr/include/g++/cstring:101: error: `void* std::memchr(...)' conflicts with
    previous using declaration `void* memchr(...)'
    /usr/include/g++/cstring:101: error: `__p' undeclared (first use this function)
    /usr/include/g++/cstring:101: error: `__c' undeclared (first use this function)
    In file included from /usr/include/g++/cstdlib:52,
    from /usr/include/g++/bits/stl_algobase.h:67,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/stdlib.h: At global scope:
    /usr/include/stdlib.h:137: error: syntax error before `(' token
    /usr/include/stdlib.h:431: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:431: error: parse error before `)' token
    /usr/include/stdlib.h:460: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:460: error: parse error before `,' token
    /usr/include/stdlib.h:554: error: `size_t' was not declared in this scope
    /usr/include/stdlib.h:554: error: parse error before `)' token
    /usr/include/stdlib.h:556: error: `size_t' was not declared in this scope
    /usr/include/stdlib.h:556: error: parse error before `,' token
    /usr/include/stdlib.h:565: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:565: error: parse error before `)' token
    In file included from /usr/include/stdlib.h:576,
    from /usr/include/g++/cstdlib:52,
    from /usr/include/g++/bits/stl_algobase.h:67,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/alloca.h:33: error: `size_t' was not declared in this scope
    /usr/include/alloca.h:33: error: parse error before `)' token
    In file included from /usr/include/g++/cstdlib:52,
    from /usr/include/g++/bits/stl_algobase.h:67,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/stdlib.h:581: error: `size_t' was not declared in this scope
    /usr/include/stdlib.h:581: error: parse error before `)' token
    /usr/include/stdlib.h:586: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:586: error: parse error before `,' token
    /usr/include/stdlib.h:731: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:731: error: parse error before `,' token
    /usr/include/stdlib.h:735: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:735: error: parse error before `,' token
    /usr/include/stdlib.h:804: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:804: error: parse error before `)' token
    /usr/include/stdlib.h:807: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:807: error: parse error before `)' token
    /usr/include/stdlib.h:811: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:811: error: parse error before `)' token
    /usr/include/stdlib.h:814: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:814: error: parse error before `)' token
    /usr/include/stdlib.h:822: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:822: error: parse error before `)' token
    /usr/include/stdlib.h:826: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:826: error: parse error before `)' token
    /usr/include/stdlib.h:833: error: syntax error before `(' token
    /usr/include/stdlib.h:836: error: syntax error before `(' token
    /usr/include/stdlib.h:898: error: type specifier omitted for parameter `size_t'
    /usr/include/stdlib.h:898: error: parse error before `)' token
    In file included from /usr/include/g++/bits/stl_algobase.h:67,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/cstdlib:105: error: `mbstowcs' not declared
    /usr/include/g++/cstdlib:115: error: `wcstombs' not declared
    In file included from /usr/include/g++/bits/stl_algobase.h:69,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/new:82: error: `size_t' undeclared in namespace `std'
    /usr/include/g++/new:82: error: declaration of `operator new' as non-function
    /usr/include/g++/new:82: error: invalid declarator
    /usr/include/g++/new:83: error: `size_t' undeclared in namespace `std'
    /usr/include/g++/new:83: error: declaration of `operator new []' as
    non-function
    /usr/include/g++/new:83: error: invalid declarator
    /usr/include/g++/new:86: error: `size_t' undeclared in namespace `std'
    /usr/include/g++/new:86: error: parse error before `::' token
    /usr/include/g++/new:86: error: `operator new' takes type `size_t' (`unsigned
    int') as first parameter
    /usr/include/g++/new:87: error: `size_t' undeclared in namespace `std'
    /usr/include/g++/new:87: error: parse error before `::' token
    /usr/include/g++/new:87: error: `operator new' takes type `size_t' (`unsigned
    int') as first parameter
    /usr/include/g++/new:92: error: `size_t' undeclared in namespace `std'
    /usr/include/g++/new:92: error: parse error before `*' token
    /usr/include/g++/new:92: error: `operator new' takes type `size_t' (`unsigned
    int') as first parameter
    /usr/include/g++/new: In function `void* operator new(unsigned int, ...)':
    /usr/include/g++/new:92: error: `__p' undeclared (first use this function)
    /usr/include/g++/new: At global scope:
    /usr/include/g++/new:93: error: `size_t' undeclared in namespace `std'
    /usr/include/g++/new:93: error: parse error before `*' token
    /usr/include/g++/new:93: error: `operator new' takes type `size_t' (`unsigned
    int') as first parameter
    In file included from /usr/include/g++/i486-suse-linux/bits/c++locale.h:43,
    from /usr/include/g++/iosfwd:46,
    from /usr/include/g++/bits/stl_algobase.h:70,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/iconv.h:41: error: syntax error before `(' token
    In file included from /usr/include/g++/i486-suse-linux/bits/c++io.h:35,
    from /usr/include/g++/bits/fpos.h:44,
    from /usr/include/g++/iosfwd:49,
    from /usr/include/g++/bits/stl_algobase.h:70,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/cstdio:114: error: `fread' not declared
    /usr/include/g++/cstdio:120: error: `fwrite' not declared
    In file included from /usr/include/g++/cwchar:51,
    from /usr/include/g++/bits/fpos.h:45,
    from /usr/include/g++/iosfwd:49,
    from /usr/include/g++/bits/stl_algobase.h:70,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/ctime:78: error: `strftime' not declared
    In file included from /usr/include/g++/cwchar:54,
    from /usr/include/g++/bits/fpos.h:45,
    from /usr/include/g++/iosfwd:49,
    from /usr/include/g++/bits/stl_algobase.h:70,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/wchar.h:132: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:132: error: parse error before `)' token
    /usr/include/wchar.h:140: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:140: error: parse error before `)' token
    /usr/include/wchar.h:147: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:147: error: parse error before `)' token
    /usr/include/wchar.h:157: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:157: error: parse error before `)' token
    /usr/include/wchar.h:167: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:167: error: parse error before `,' token
    /usr/include/wchar.h:177: error: syntax error before `(' token
    /usr/include/wchar.h:193: error: syntax error before `(' token
    /usr/include/wchar.h:219: error: syntax error before `(' token
    /usr/include/wchar.h:223: error: syntax error before `(' token
    /usr/include/wchar.h:238: error: syntax error before `(' token
    /usr/include/wchar.h:249: error: syntax error before `(' token
    /usr/include/wchar.h:256: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:256: error: parse error before `)' token
    /usr/include/wchar.h:261: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:261: error: parse error before `)' token
    /usr/include/wchar.h:266: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:266: error: parse error before `)' token
    /usr/include/wchar.h:270: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:270: error: parse error before `)' token
    /usr/include/wchar.h:274: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:274: error: parse error before `)' token
    /usr/include/wchar.h:281: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:281: error: parse error before `)' token
    /usr/include/wchar.h:301: error: syntax error before `(' token
    /usr/include/wchar.h:306: error: syntax error before `(' token
    /usr/include/wchar.h:310: error: syntax error before `(' token
    /usr/include/wchar.h:312: error: syntax error before `(' token
    /usr/include/wchar.h:318: error: syntax error before `(' token
    /usr/include/wchar.h:327: error: syntax error before `(' token
    /usr/include/wchar.h:333: error: syntax error before `(' token
    /usr/include/wchar.h:342: error: syntax error before `(' token
    /usr/include/wchar.h:348: error: syntax error before `(' token
    /usr/include/wchar.h:362: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:362: error: parse error before `)' token
    /usr/include/wchar.h:567: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:567: error: parse error before `)' token
    /usr/include/wchar.h:588: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:588: error: parse error before `,' token
    /usr/include/wchar.h:603: error: type specifier omitted for parameter `size_t'
    /usr/include/wchar.h:603: error: parse error before `,' token
    /usr/include/wchar.h:710: error: syntax error before `(' token
    /usr/include/wchar.h:720: error: syntax error before `(' token
    In file included from /usr/include/g++/bits/fpos.h:45,
    from /usr/include/g++/iosfwd:49,
    from /usr/include/g++/bits/stl_algobase.h:70,
    from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/cwchar:147: error: `mbrlen' not declared
    /usr/include/g++/cwchar:148: error: `mbrtowc' not declared
    /usr/include/g++/cwchar:150: error: `mbsrtowcs' not declared
    /usr/include/g++/cwchar:162: error: `wcrtomb' not declared
    /usr/include/g++/cwchar:167: error: `wcscspn' not declared
    /usr/include/g++/cwchar:168: error: `wcsftime' not declared
    /usr/include/g++/cwchar:169: error: `wcslen' not declared
    /usr/include/g++/cwchar:173: error: `wcsrtombs' not declared
    /usr/include/g++/cwchar:174: error: `wcsspn' not declared
    /usr/include/g++/cwchar:180: error: `wcsxfrm' not declared
    /usr/include/g++/cwchar:216: error: type specifier omitted for parameter `
    size_t'
    /usr/include/g++/cwchar:216: error: parse error before `)' token
    /usr/include/g++/cwchar: In function `wchar_t* std::wmemchr(...)':
    /usr/include/g++/cwchar:217: error: `wchar_t* std::wmemchr(...)' conflicts with
    previous using declaration `wchar_t* wmemchr(...)'
    In file included from /usr/include/g++/bits/stl_tree.h:86,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/bits/stl_algobase.h: In function `bool
    std::lexicographical_compare(const unsigned char*, const unsigned char*,
    const unsigned char*, const unsigned char*)':
    /usr/include/g++/bits/stl_algobase.h:791: error: uninitialized const `size_t'
    /usr/include/g++/bits/stl_algobase.h:791: error: parse error before `=' token
    /usr/include/g++/bits/stl_algobase.h:792: error: redeclaration of `const int
    size_t'
    /usr/include/g++/bits/stl_algobase.h:791: error: `const int size_t' previously
    declared here
    /usr/include/g++/bits/stl_algobase.h:792: error: declaration of `const int
    size_t'
    /usr/include/g++/bits/stl_algobase.h:791: error: conflicts with previous
    declaration `const int size_t'
    /usr/include/g++/bits/stl_algobase.h:792: error: uninitialized const `size_t'
    /usr/include/g++/bits/stl_algobase.h:792: error: parse error before `=' token
    /usr/include/g++/bits/stl_algobase.h:793: error: `__len1' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_algobase.h:793: error: `__len2' undeclared (first use
    this function)
    In file included from /usr/include/g++/bits/stl_alloc.h:89,
    from /usr/include/g++/bits/stl_tree.h:87,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/bits/stl_threads.h: At global scope:
    /usr/include/g++/bits/stl_threads.h:63: error: parse error before `;' token
    /usr/include/g++/bits/stl_threads.h:66: error: parse error before `;' token
    /usr/include/g++/bits/stl_threads.h:71: error: parse error before `__n'
    /usr/include/g++/bits/stl_threads.h:74: error: missing ';' before right brace
    /usr/include/g++/bits/stl_threads.h:75: error: `__tmp' was not declared in this
    scope
    /usr/include/g++/bits/stl_threads.h: In function `void _M_incr()':
    /usr/include/g++/bits/stl_threads.h:86: error: `_M_ref_count_lock' undeclared
    (first use this function)
    /usr/include/g++/bits/stl_threads.h:87: error: `_M_ref_count' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_threads.h: At global scope:
    /usr/include/g++/bits/stl_threads.h:92: error: parse error before `)' token
    /usr/include/g++/bits/stl_threads.h:95: error: syntax error before `=' token
    /usr/include/g++/bits/stl_threads.h:96: error: `int __gthread_mutex_unlock'
    redeclared as different kind of symbol
    /usr/include/g++/i486-suse-linux/bits/gthr-default.h:512: error: previous
    declaration of `int __gthread_mutex_unlock(__gthread_mutex_t*)'
    /usr/include/g++/bits/stl_threads.h:97: error: parse error before `return'
    /usr/include/g++/bits/stl_threads.h: In function `long unsigned int
    _Atomic_swap(long unsigned int*, long unsigned int)':
    /usr/include/g++/bits/stl_threads.h:125: error: `__gthread_mutex_unlock' cannot
    be used as a function
    /usr/include/g++/bits/stl_threads.h: At global scope:
    /usr/include/g++/bits/stl_threads.h:129: error: parse error before `}' token
    /usr/include/g++/bits/stl_threads.h: In member function `void
    std::_STL_mutex_lock::_M_release_lock()':
    /usr/include/g++/bits/stl_threads.h:209: error: `__gthread_mutex_unlock' cannot
    be used as a function
    In file included from /usr/include/g++/bits/stl_tree.h:87,
    from /usr/include/g++/set:66,
    from ../../../include/vdr/config.h:13,
    from ../../../include/vdr/osd.h:16,
    from ../../../include/vdr/menu.h:15,
    from display.c:38:
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:107: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:111: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:130: error: variable declaration is not
    allowed here
    /usr/include/g++/bits/stl_alloc.h:131: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:136: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:145: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:149: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:149: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:149: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:172: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:173: error: no `void*
    std::__malloc_alloc_template<__inst>::_S_oom_malloc(...)' member function
    declared in class `std::__malloc_alloc_template<__inst>'
    /usr/include/g++/bits/stl_alloc.h:173: error: template definition of
    non-template `void* std::__malloc_alloc_template<__inst>::_S_oom_malloc(...)
    '
    /usr/include/g++/bits/stl_alloc.h:192: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:192: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:193: error: prototype for `void*
    std::__malloc_alloc_template<__inst>::_S_oom_realloc(...)' does not match
    any in class `std::__malloc_alloc_template<__inst>'
    /usr/include/g++/bits/stl_alloc.h:131: error: candidate is: static void*
    std::__malloc_alloc_template<__inst>::_S_oom_realloc(void*)
    /usr/include/g++/bits/stl_alloc.h:193: error: template definition of
    non-template `void*
    std::__malloc_alloc_template<__inst>::_S_oom_realloc(...)'
    /usr/include/g++/bits/stl_alloc.h:228: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:241: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:241: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:271: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:279: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:279: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:288: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:288: error: parse error before `,' token
    /usr/include/g++/bits/stl_alloc.h: In static member function `static void*
    std::__debug_alloc<_Alloc>::allocate(...)':
    /usr/include/g++/bits/stl_alloc.h:274: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h: In static member function `static void
    std::__debug_alloc<_Alloc>::deallocate(...)':
    /usr/include/g++/bits/stl_alloc.h:282: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h: In static member function `static void*
    std::__debug_alloc<_Alloc>::reallocate(...)':
    /usr/include/g++/bits/stl_alloc.h:291: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h:296: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:351: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h:356: error: parse error before `(' token
    /usr/include/g++/bits/stl_alloc.h:360: error: ISO C++ forbids defining types
    within return type
    /usr/include/g++/bits/stl_alloc.h:360: error: syntax error before `(' token
    /usr/include/g++/bits/stl_alloc.h:360: error: `size_t' was not declared in this
    scope
    /usr/include/g++/bits/stl_alloc.h:360: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h: In function `int std::_S_freelist_index(...)
    ':
    /usr/include/g++/bits/stl_alloc.h:361: error: `__bytes' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:361: error: `size_t' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:361: error: parse error before `-' token
    /usr/include/g++/bits/stl_alloc.h:361: error: parse error before `-' token
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:366: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:371: error: `size_t' was not declared in this
    scope
    /usr/include/g++/bits/stl_alloc.h:371: error: parse error before `,' token
    /usr/include/g++/bits/stl_alloc.h: In constructor `std::_Lock::_Lock()':
    /usr/include/g++/bits/stl_alloc.h:377: error: `__threads' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:377: error: `_S_node_allocator_lock'
    undeclared (first use this function)
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:380: error: `friend' can only be specified
    inside a class
    /usr/include/g++/bits/stl_alloc.h:384: error: parse error before `public'
    /usr/include/g++/bits/stl_alloc.h:411: error: '_Lock' is used as a type, but is
    not defined as a type.
    /usr/include/g++/bits/stl_alloc.h:412: error: syntax error before `*' token
    /usr/include/g++/bits/stl_alloc.h:418: error: `__result' was not declared in
    this scope
    /usr/include/g++/bits/stl_alloc.h:419: error: parse error before `}' token
    /usr/include/g++/bits/stl_alloc.h:428: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:428: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h: In function `void deallocate(...)':
    /usr/include/g++/bits/stl_alloc.h:430: error: `size_t' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:430: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:430: error: `_S_force_new' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:431: error: `__new_alloc' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:431: error: parse error before `::' token
    /usr/include/g++/bits/stl_alloc.h:436: error: `_Obj' undeclared (first use this
    function)
    /usr/include/g++/bits/stl_alloc.h:436: error: `__q' undeclared (first use this
    function)
    /usr/include/g++/bits/stl_alloc.h:436: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:441: error: `_Lock' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:442: error: `__my_free_list' undeclared
    (first use this function)
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:445: error: parse error before `}' token
    /usr/include/g++/bits/stl_alloc.h:448: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:448: error: parse error before `,' token
    /usr/include/g++/bits/stl_alloc.h:452: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:452: error: `int _S_force_new' used prior to
    declaration
    /usr/include/g++/bits/stl_alloc.h:456: error: parse error before `&' token
    /usr/include/g++/bits/stl_alloc.h:458: error: `bool operator==(...)' must have
    an argument of class or enumerated type
    /usr/include/g++/bits/stl_alloc.h:458: error: `bool operator==(...)' must take
    exactly two arguments
    /usr/include/g++/bits/stl_alloc.h:462: error: parse error before `&' token
    /usr/include/g++/bits/stl_alloc.h:464: error: `bool operator!=(...)' must have
    an argument of class or enumerated type
    /usr/include/g++/bits/stl_alloc.h:464: error: `bool operator!=(...)' must take
    exactly two arguments
    /usr/include/g++/bits/stl_alloc.h:472: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:473: error: `size_t' was not declared in this
    scope
    /usr/include/g++/bits/stl_alloc.h:473: error: parse error before `,' token
    /usr/include/g++/bits/stl_alloc.h: In function `int _S_chunk_alloc(...)':
    /usr/include/g++/bits/stl_alloc.h:476: error: `size_t' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:476: error: parse error before `=' token
    /usr/include/g++/bits/stl_alloc.h:479: error: `__bytes_left' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:479: error: `__total_bytes' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:481: error: `_S_start_free' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:483: error: invalid conversion from `char*'
    to `int'
    /usr/include/g++/bits/stl_alloc.h:485: error: `__size' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:487: error: `__nobjs' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:491: error: invalid conversion from `char*'
    to `int'
    /usr/include/g++/bits/stl_alloc.h:495: error: parse error before `=' token
    /usr/include/g++/bits/stl_alloc.h:500: error: parse error before `*' token
    /usr/include/g++/bits/stl_alloc.h:503: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:504: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:506: error: parse error before `::' token
    /usr/include/g++/bits/stl_alloc.h:509: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h:510: error: parse error before `*' token
    /usr/include/g++/bits/stl_alloc.h:515: error: `__i' undeclared (first use this
    function)
    /usr/include/g++/bits/stl_alloc.h:516: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h:516: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:518: error: `_S_free_list' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:518: error: `_S_freelist_index' undeclared
    (first use this function)
    /usr/include/g++/bits/stl_alloc.h:524: error: `_S_end_free' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:531: error: parse error before `::' token
    /usr/include/g++/bits/stl_alloc.h:535: error: `_S_heap_size' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:535: error: `__bytes_to_get' undeclared
    (first use this function)
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:547: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:547: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h: In function `int _S_refill(...)':
    /usr/include/g++/bits/stl_alloc.h:551: error: parse error before `*' token
    /usr/include/g++/bits/stl_alloc.h:552: error: `__result' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:553: error: `__current_obj' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:554: error: `__next_obj' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:558: error: invalid conversion from `char*'
    to `int'
    /usr/include/g++/bits/stl_alloc.h:562: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:563: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:567: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:582: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:583: error: type specifier omitted for
    parameter `size_t'
    /usr/include/g++/bits/stl_alloc.h:583: error: parse error before `,' token
    /usr/include/g++/bits/stl_alloc.h: In function `int reallocate(...)':
    /usr/include/g++/bits/stl_alloc.h:584: error: new declaration `int
    reallocate(...)'
    /usr/include/g++/bits/stl_alloc.h:448: error: ambiguates old declaration `void*
    reallocate(...)'
    /usr/include/g++/bits/stl_alloc.h: In function `int reallocate(...)':
    /usr/include/g++/bits/stl_alloc.h:586: error: `size_t' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:586: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h:588: error: `__old_sz' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:588: error: parse error before `&&' token
    /usr/include/g++/bits/stl_alloc.h:590: error: `_S_round_up' undeclared (first
    use this function)
    /usr/include/g++/bits/stl_alloc.h:590: error: `__new_sz' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:592: error: `allocate' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:593: error: `__copy_sz' undeclared (first use
    this function)
    /usr/include/g++/bits/stl_alloc.h:596: error: invalid conversion from `void*'
    to `int'
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:601: error: syntax error before `<' token
    /usr/include/g++/bits/stl_alloc.h:601: error: `__threads' was not declared in
    this scope
    /usr/include/g++/bits/stl_alloc.h:601: error: `__inst' was not declared in this
    scope
    /usr/include/g++/bits/stl_alloc.h:601: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:605: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:605: error: `int _S_start_free' used prior to
    declaration
    /usr/include/g++/bits/stl_alloc.h:608: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:608: error: `int _S_end_free' used prior to
    declaration
    /usr/include/g++/bits/stl_alloc.h:611: error: syntax error before `<' token
    /usr/include/g++/bits/stl_alloc.h:611: error: `__threads' was not declared in
    this scope
    /usr/include/g++/bits/stl_alloc.h:611: error: `__inst' was not declared in this
    scope
    /usr/include/g++/bits/stl_alloc.h:611: error: syntax error before `::' token
    /usr/include/g++/bits/stl_alloc.h:614: error: parse error before `<' token
    /usr/include/g++/bits/stl_alloc.h:617: error: syntax error before `;' token
    /usr/include/g++/bits/stl_alloc.h:618: error: syntax error before `;' token
    /usr/include/g++/bits/stl_alloc.h:638: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h:640: error: parse error before `;' token
    /usr/include/g++/bits/stl_alloc.h:667: error: parse error before `,' token
    /usr/include/g++/bits/stl_alloc.h:682: error: type specifier omitted for
    parameter `size_type'
    /usr/include/g++/bits/stl_alloc.h:682: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:686: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:688: error: semicolon missing after
    declaration of `allocator<_Tp>'
    /usr/include/g++/bits/stl_alloc.h: In member function `_Tp*
    allocator<_Tp>::allocate(...)':
    /usr/include/g++/bits/stl_alloc.h:673: error: parse error before `void'
    /usr/include/g++/bits/stl_alloc.h: In member function `void
    allocator<_Tp>::deallocate(...)':
    /usr/include/g++/bits/stl_alloc.h:683: error: parse error before `void'
    /usr/include/g++/bits/stl_alloc.h: At global scope:
    /usr/include/g++/bits/stl_alloc.h:688: error: parse error before `,' token
    /usr/include/g++/bits/stl_alloc.h:688: error: ISO C++ forbids defining types
    within return type
    /usr/include/g++/bits/stl_alloc.h:688: error: two or more data types in
    declaration of `construct'
    /usr/include/g++/bits/stl_alloc.h:688: error: semicolon missing after
    declaration of `class allocator<_Tp>'
    /usr/include/g++/bits/stl_alloc.h:689: error: parse error before `)' token
    /usr/include/g++/bits/stl_alloc.h:690: error: parse error before `}' token
    /usr/include/g++/bits/stl_alloc.h:694: error: non-template type `allocator'
    used as a template
    /usr/include/g++/bits/stl_alloc.h:696: confused by earlier errors, bailing out
    make[1]: *** [display.o] Error 1
    make[1]: Leaving directory `/usr/local/src/vdr-1.2.6/PLUGINS/src/graphlcd-0.0.7'
    make: *** [plugins] Error 2

    Der Fehler scheint schon ganz am Anfang zu sein und der Rest wahrscheinlich nur eine Folge davon..???
    Ach ja, habs mit allen Treibern versucht, immer dass Gleiche. Hoffentlich kannst Du damit was anfangen.

    Gigabyte P61-USB3-B3, Intel G620, Thermalright Macho HR-02, 4GB Corsair DDR3, Asus engt520 1GB passiv, Samsung 1TB HN-M101MBB, Cine S2 V6, Gehäuse: Fractal Design Arc, Kühlung komplett passiv - CPU ~40°C // GPU ~50°C == yavdr-0.5.0

  • Sag' mal: Das Original lässt sich übersetzen?!

    Wenn ja: Lade dir mein File lieber nochmal neu runter, der Komplizierer meckert ja schon an Stellen rum, die ich gar nicht angefasst habe (Zeile 10) usw.

    Ich habe weder #includes hinzugefügt, noch irgendwelche neuen Methoden, sondern nur die vorhandenen geändert... Ich könnte ja noch verstehen, wenn der Compiler später meckert, aber die Stellen, an denen er Probleme hat habe ich wirklich nicht angefasst, isch schwör' ;)

    Schon sehr merkwürdig!

    VIA EPIA 5000 + VIA Sereniti + DVB-s 1.6 + TT budget

  • Terminator

    Uijuijui,

    es läuft jetzt, aber ein bischen peinlich ist mir das nu schon. Ich hab die display.bz2 mit dem mc entpackt (hatte bis jetzt noch nie Probleme damit, schäm) und der hat mir ein "display" ausgegeben (ich war auch etwas verwundert), das ich dann nach display.c umbenannt habe tja, was soll ich sagen, mit tar -xjvf .... funktionierts irgendwie besser.
    Also die Ausgabe sieht sehr gut aus, gefällt mir prima. Die Uhrzeit steht rechtsbündig und der Fortschrittsbalken läuft auch bis zum rechten Rand. Was nicht geht, sind Symbole oder Logos, die überschneiden sich dann mit der Uhrzeit und/oder dem Fortschrittsbalken, ist aber egal. Du hast recht, der Sendername wird abgeschnitten sieht dann etwa so aus 39 BLOOMBER oder 1 RTL TELEVIS. Könntest du das noch anpassen, wenns nur ein Klacks ist? ;D

    .selfmade

    Gigabyte P61-USB3-B3, Intel G620, Thermalright Macho HR-02, 4GB Corsair DDR3, Asus engt520 1GB passiv, Samsung 1TB HN-M101MBB, Cine S2 V6, Gehäuse: Fractal Design Arc, Kühlung komplett passiv - CPU ~40°C // GPU ~50°C == yavdr-0.5.0

  • Ändere einfach in den BEIDEN Zeilen, die so heissen:

    80,//pLCD->GetSizeX()-TimeLen-2

    die 80 in eine größere Zahl. Hinter den Kommentarstrichen steht die Implementierung, wie ich sie für sinnvoll gehalten hatte, aber aus irgendeinem Grund funktioniert das so nicht (rechter Rand des Sendernamens = Breite des Displays - Breite, die die Zeit braucht - 2 Pixel Abstand). Du kannst natürlich auch schreiben

    pLCD->GetSizeX()-TimeLen-x,

    und für x mal testweise verschiedene Werte eintragen, bei einem 240er Display dürfte sogar x=2 funktionieren, da kein Sendername so lang ist, dass er da hinpasst...

    VIA EPIA 5000 + VIA Sereniti + DVB-s 1.6 + TT budget

  • Hallo,

    bin leider noch nicht dazu gekommen die display.c anzupassen. Aber Danke schon mal für die Tips. Hier sind noch die Bilder vom Display, allerdings sind die nicht besonders gut geworden. Ich hoffe man kann was erkennen...

    Images

    Gigabyte P61-USB3-B3, Intel G620, Thermalright Macho HR-02, 4GB Corsair DDR3, Asus engt520 1GB passiv, Samsung 1TB HN-M101MBB, Cine S2 V6, Gehäuse: Fractal Design Arc, Kühlung komplett passiv - CPU ~40°C // GPU ~50°C == yavdr-0.5.0

  • Quote

    pLCD->GetSizeX()-TimeLen-x,

    Ach ja: x=8 scheint perfekt zu sein, auch auf einem 128*64er Display.

    randy: Warum funktioniert das mit x=2 nicht?! In diesem Fall wird anscheinend der letzte Buchstabe des Sendernamens immer noch hingepinselt, auch wenn die rechte x-Koordinate damit überschritten wird!

    Resultat: der Buchstabe wird komplett hingepinselt, danach wird die Uhrzeit gemalt und damit Teile des letzten Buchstabens wieder überschrieben. Das sieht ziemlich blöde aus!

    Sinnvollerweise sollte die pLCD->Text()-Methode nicht über den rechten Rand rüberschreiben!

    Ach ja, wenn ich schonmal am Meckern bin ;)

    Im Replay-Betrieb hätte ich gerne die unterste Zeile, die ja nur Zahlen enthält, so hingeschrieben, dass sie mit dem unteren Displayrand abschliessen. Da Zahlen keine Unterlänge haben, könnte man sogar die y-Koordinate über den unteren Displayrand hinaus verschieben, ohne dass tatsächlich was vom hingeschriebenen Text wegfällt.

    Wenn ich das tue, wird aber der gesamte Displayinhalt verstrubelt, irgendwie sind dann plötzlich auch weiter oben senkrechte Striche im Display zu sehen...

    Code dazu:

    ... pLCD->GetSizeY() - pF_l->Height() + 2

    Durch das "+2" wird ja der Text weitere 2 Zeilen nach unten verschoben, damit würde prinzipiell jede Ziffer mit dem unteren Displayrand abschliessen...

    Oder habe ich was übersehen?!

    VIA EPIA 5000 + VIA Sereniti + DVB-s 1.6 + TT budget

  • Quote

    Original von Terminator

    Ach ja: x=8 scheint perfekt zu sein, auch auf einem 128*64er Display.

    randy: Warum funktioniert das mit x=2 nicht?! In diesem Fall wird anscheinend der letzte Buchstabe des Sendernamens immer noch hingepinselt, auch wenn die rechte x-Koordinate damit überschritten wird!

    mhm, ich rate jetzt einfach mal, weil ich s noch ned probiert habe:

    der "framebuffer" ist 8 bit orientiert? ;)

    anyway: bin noch ned dazugekommen, aber ich wollte dein zeugs evtl
    auch mit einbauen (lassen vom powarman), da ja recht viele kleinere lcd's
    verwenden.


    -- randy

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!