can't compile graphTft

  • I get this when trying to compile grapghtft plugin


    g++ -O3 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"graphtf t"' -DHAVE_IMLIB -I../../../include -I../../../../DVB/include -I. -I./imlibrende rer -I./imlibrenderer/fbrenderer -I./imlibrenderer/dvbrenderer -I./dfbrenderer - I/src -I/mnt/alva2/ffmpeg-0.4.8/libavcodec -o display.o display.c
    display.c: In constructor 'cGraphTFTDisplay::cGraphTFTDisplay()':
    display.c:73: error: 'time_ms' was not declared in this scope
    display.c: In member function 'virtual void cGraphTFTDisplay::Action()':
    display.c:190: error: 'time_ms' was not declared in this scope
    display.c: In member function 'void cGraphTFTDisplay::DisplayShow()':
    display.c:913: error: 'time_ms' was not declared in this scope
    display.c: In member function 'void cGraphTFTDisplay::DisplayDate(int, int, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1001: error: conversion from 'cString' to non-scalar type 'std::basic_ string<char, std::char_traits<char>, std::allocator<char> >' requested
    display.c: In member function 'void cGraphTFTDisplay::DisplayDateOnly(int, int, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1008: error: conversion from 'cString' to non-scalar type 'std::basic_ string<char, std::char_traits<char>, std::allocator<char> >' requested
    display.c: In member function 'void cGraphTFTDisplay::DisplayTimeOnly(int, int, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1016: error: conversion from 'cString' to non-scalar type 'std::basic_ string<char, std::char_traits<char>, std::allocator<char> >' requested
    display.c: In member function 'void cGraphTFTDisplay::DisplayPresentTime(int, in t, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1101: error: conversion from 'cString' to non-scalar type 'std::basic_ string<char, std::char_traits<char>, std::allocator<char> >' requested
    display.c: In member function 'void cGraphTFTDisplay::DisplayFollowingTime(int, int, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1131: error: conversion from 'cString' to non-scalar type 'std::basic_ string<char, std::char_traits<char>, std::allocator<char> >' requested
    display.c: In member function 'void cGraphTFTDisplay::DisplaySymbols(int, int, i nt, int, int, std::string, std::string, int)':
    display.c:1218: error: 'class cChannel' has no member named 'Apid2'
    display.c:1221: error: 'class cChannel' has no member named 'Dpid1'
    display.c: In member function 'void cGraphTFTDisplay::DisplayReplayCurrent(int, int, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1424: error: no matching function for call to 'cGraphTFTDisplay::Displ ayText(int&, int&, int&, int&, int&, int&, int&, int&, std::string&, int&, int&, int&, cString)'
    display.c:1022: note: candidates are: void cGraphTFTDisplay::DisplayText(int, in t, int, int, int, int, int, int, std::string, int, int, int, std::string)
    display.c: In member function 'void cGraphTFTDisplay::DisplayReplayTotal(int, in t, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1436: error: no matching function for call to 'cGraphTFTDisplay::Displ ayText(int&, int&, int&, int&, int&, int&, int&, int&, std::string&, int&, int&, int&, cString)'
    display.c:1022: note: candidates are: void cGraphTFTDisplay::DisplayText(int, in t, int, int, int, int, int, int, std::string, int, int, int, std::string)
    display.c: In member function 'void cGraphTFTDisplay::DisplayReplayRemaining(int , int, int, int, int, int, int, int, std::string, int, int, int)':
    display.c:1448: error: no match for 'operator+' in 'std::basic_string<char, std: :char_traits<char>, std::allocator<char> >(((const char*)"-"), ((const std::allo cator<char>&)((const std::allocator<char>*)(& std::allocator<char>())))) + Index ToHMSF(int, bool)(0)'
    /usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../include/c++/4.0.2/bits/stl_bvector .h:353: note: candidates are: std::_Bit_const_iterator std::operator+(ptrdiff_t, const std::_Bit_const_iterator&)
    /usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../include/c++/4.0.2/bits/stl_bvector .h:267: note: std::_Bit_iterator std::operator+(ptrdiff_t, const std::_Bit_iterator&)
    make: *** [display.o] Fel 1



    What am I missing?

  • Did you apply some kind of patch to the graphtftf sources?


    Cheers Christian

    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



    Einmal editiert, zuletzt von CKone ()

  • that'll not work, try for vdr >=1.3.18


    http://www.braun-edv.de/Downlo…ddon-TftUpdate-0.0.2.diff


    Christian

    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



  • I use debian (unstable) and with the latest cvs of ffmpeg graphtft does not seem to work, i just get "[mpeg1video @ 0xb79e6be8]only YUV420 is supported".


    How can I get around this problem?

  • Can you tell me please which version of FFMPEG you finally used?


    With kind regards,
    Torsten

    "The day Microsoft makes something that doesn't suck is probably
    the day they start making vacuum cleaners" - Ernst Jan Plugge
    __________________
    Torsten Lang

Jetzt mitmachen!

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