RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    (Odroid C1+)EmulationStation fails to build

    Scheduled Pinned Locked Moved Help and Support
    odroid c1+retropieemulationstaton
    6 Posts 2 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Chris8topher
      last edited by

      Using this guide here. https://retropie.org.uk/docs/Odroid-C1-C2/
      I'm stuck on trying to install Emulation station from the retropie setup- from source, fails to build every time.
      I've searched around and tried a few fixes but haven't had any luck.
      Looks like it stops at around 4% see the error log below.
      I'm a bit of a novice to this, so maybe I missed something obvious?

      Log started at: Tue Jul 17 07:23:05 ACST 2018

      RetroPie-Setup version: 4.4.2 (66a7d02)
      System: Linux odroid 3.10.96-151 #1 SMP PREEMPT Wed Jun 15 18:47:37 BRT 2016 armv7l armv7l armv7l GNU/Linux

      = = = = = = = = = = = = = = = = = = = = =
      Installing dependencies for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
      = = = = = = = = = = = = = = = = = = = = =

      ~/RetroPie-Setup/tmp/build/emulationstation ~/RetroPie-Setup

      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
      = = = = = = = = = = = = = = = = = = = = =

      git clone --recursive --depth 1 --branch stable "https://github.com/RetroPie/EmulationStation" "/home/odroid/RetroPie-Setup/tmp/build/emulationstation"
      Cloning into '/home/odroid/RetroPie-Setup/tmp/build/emulationstation'...
      Submodule 'external/pugixml' (https://github.com/zeux/pugixml.git) registered for path 'external/pugixml'
      Cloning into 'external/pugixml'...
      Submodule path 'external/pugixml': checked out 'd2deb420bc70369faa12785df2b5dd4d390e523d'
      ~/RetroPie-Setup
      ~/RetroPie-Setup/tmp/build/emulationstation ~/RetroPie-Setup

      = = = = = = = = = = = = = = = = = = = = =
      Building 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
      = = = = = = = = = = = = = = = = = = = = =

      Removing additional swap
      Adding 196 MB of additional swap
      Setting up swapspace version 1, size = 200700 KiB
      no label, UUID=667c8b33-991e-4249-892f-27d481ebbb98
      -- The C compiler identification is GNU 4.9.4
      -- The CXX compiler identification is GNU 4.9.4
      -- Check for working C compiler: /usr/bin/cc
      -- Check for working C compiler: /usr/bin/cc -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++
      -- Check for working CXX compiler: /usr/bin/c++ -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      libMali.so found
      -- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so
      -- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so - found
      -- Looking for gethostbyname
      -- Looking for gethostbyname - found
      -- Looking for connect
      -- Looking for connect - found
      -- Looking for remove
      -- Looking for remove - found
      -- Looking for shmat
      -- Looking for shmat - found
      -- Looking for IceConnectionNumber in ICE
      -- Looking for IceConnectionNumber in ICE - found
      -- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so
      -- checking for module 'freetype2'
      -- found freetype2, version 17.1.11
      -- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "17.1.11")
      -- Looking for FreeImage...
      -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
      -- checking for module 'freeimage'
      -- package 'freeimage' not found
      -- Found FreeImage: optimized;/usr/lib/libfreeimage.so;debug;/usr/lib/libfreeimage.so
      -- Looking for include file pthread.h
      -- Looking for include file pthread.h - found
      -- Looking for pthread_create
      -- Looking for pthread_create - not found
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - found
      -- Found Threads: TRUE
      -- Found SDL2: /usr/lib/arm-linux-gnueabihf/libSDL2main.a;/usr/lib/arm-linux-gnueabihf/libSDL2.so;-lpthread
      -- Boost version: 1.54.0
      -- Found the following Boost libraries:
      -- system
      -- filesystem
      -- date_time
      -- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.35.0")
      -- checking for module 'libvlc>=1.0.0'
      -- found libvlc, version 2.1.6
      -- VLC library found
      -- Found VLC: /usr/include/vlc
      -- Looking for libCEC...
      -- checking for module 'libcec'
      -- found libcec, version 2:1:0
      -- Found libCEC: optimized;/usr/local/lib/libcec.so;debug;/usr/local/lib/libcec.so
      -- Found ALSA: /usr/lib/arm-linux-gnueabihf/libasound.so (found version "1.0.27.2")
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/odroid/RetroPie-Setup/tmp/build/emulationstation
      Scanning dependencies of target nanosvg
      Scanning dependencies of target pugixml
      [ 1%] [ 2%] Building CXX object external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o
      Building CXX object external/pugixml/CMakeFiles/pugixml.dir/src/pugixml.cpp.o
      Linking CXX static library ../../libnanosvg.a
      [ 2%] Built target nanosvg
      Linking CXX static library ../../libpugixml.a
      [ 2%] Built target pugixml
      Scanning dependencies of target es-core
      [ 4%] [ 4%] Building CXX object es-core/CMakeFiles/es-core.dir/src/CECInput.cpp.o
      Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h: In function ‘CEC::ICECAdapter* LibCecInitialise(CEC::libcec_configuration*, const char*)’:
      /usr/local/include/libcec/cecloader.h:139:7: error: ‘cout’ was not declared in this scope
      cout << dlerror() << endl;
      ^
      /usr/local/include/libcec/cecloader.h:139:7: note: suggested alternative:
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:6:0:
      /usr/include/c++/4.9/iostream:61:18: note: ‘std::cout’
      extern ostream cout; /// Linked to standard output
      ^
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h:139:28: error: ‘endl’ was not declared in this scope
      cout << dlerror() << endl;
      ^
      /usr/local/include/libcec/cecloader.h:139:28: note: suggested alternative:
      In file included from /usr/include/c++/4.9/istream:39:0,
      from /usr/include/c++/4.9/sstream:38,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/Log.h:5,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:4:
      /usr/include/c++/4.9/ostream:564:5: note: ‘std::endl’
      endl(basic_ostream<_CharT, _Traits>& __os)
      ^
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h:148:5: error: ‘cout’ was not declared in this scope
      cout << "cannot find CECInitialise" << endl;
      ^
      /usr/local/include/libcec/cecloader.h:148:5: note: suggested alternative:
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:6:0:
      /usr/include/c++/4.9/iostream:61:18: note: ‘std::cout’
      extern ostream cout; /// Linked to standard output
      ^
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h:148:44: error: ‘endl’ was not declared in this scope
      cout << "cannot find CECInitialise" << endl;
      ^
      /usr/local/include/libcec/cecloader.h:148:44: note: suggested alternative:
      In file included from /usr/include/c++/4.9/istream:39:0,
      from /usr/include/c++/4.9/sstream:38,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/Log.h:5,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:4:
      /usr/include/c++/4.9/ostream:564:5: note: ‘std::endl’
      endl(basic_ostream<_CharT, _Traits>& __os)
      ^
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h: In function ‘bool LibCecBootloader(const char*)’:
      /usr/local/include/libcec/cecloader.h:185:7: error: ‘cout’ was not declared in this scope
      cout << dlerror() << endl;
      ^
      /usr/local/include/libcec/cecloader.h:185:7: note: suggested alternative:
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:6:0:
      /usr/include/c++/4.9/iostream:61:18: note: ‘std::cout’
      extern ostream cout; /// Linked to standard output
      ^
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h:185:28: error: ‘endl’ was not declared in this scope
      cout << dlerror() << endl;
      ^
      /usr/local/include/libcec/cecloader.h:185:28: note: suggested alternative:
      In file included from /usr/include/c++/4.9/istream:39:0,
      from /usr/include/c++/4.9/sstream:38,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/Log.h:5,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:4:
      /usr/include/c++/4.9/ostream:564:5: note: ‘std::endl’
      endl(basic_ostream<_CharT, _Traits>& __os)
      ^
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h:194:5: error: ‘cout’ was not declared in this scope
      cout << "cannot find CECStartBootloader" << endl;
      ^
      /usr/local/include/libcec/cecloader.h:194:5: note: suggested alternative:
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:6:0:
      /usr/include/c++/4.9/iostream:61:18: note: ‘std::cout’
      extern ostream cout; /// Linked to standard output
      ^
      In file included from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:7:0:
      /usr/local/include/libcec/cecloader.h:194:49: error: ‘endl’ was not declared in this scope
      cout << "cannot find CECStartBootloader" << endl;
      ^
      /usr/local/include/libcec/cecloader.h:194:49: note: suggested alternative:
      In file included from /usr/include/c++/4.9/istream:39:0,
      from /usr/include/c++/4.9/sstream:38,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/Log.h:5,
      from /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:4:
      /usr/include/c++/4.9/ostream:564:5: note: ‘std::endl’
      endl(basic_ostream<_CharT, _Traits>& __os)
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp: In constructor ‘CECInput::CECInput()’:
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:107:12: error: ‘CEC::ICECCallbacks’ has no member named ‘alert’
      callbacks.alert = &onAlert;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:108:12: error: ‘CEC::ICECCallbacks’ has no member named ‘commandReceived’
      callbacks.commandReceived = &onCommand;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:109:12: error: ‘CEC::ICECCallbacks’ has no member named ‘keyPress’
      callbacks.keyPress = &onKeyPress;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:110:12: error: ‘CEC::ICECCallbacks’ has no member named ‘logMessage’
      callbacks.logMessage = &onLogMessage;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp: In static member function ‘static std::string CECInput::getKeyCodeString(unsigned int)’:
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:292:8: error: ‘CEC_USER_CONTROL_CODE_TOP_MENU’ is not a member of ‘CEC’
      case CEC::CEC_USER_CONTROL_CODE_TOP_MENU: { return "Top-Menu"; } break;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:293:8: error: ‘CEC_USER_CONTROL_CODE_DVD_MENU’ is not a member of ‘CEC’
      case CEC::CEC_USER_CONTROL_CODE_DVD_MENU: { return "DVD-Menu"; } break;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:294:8: error: ‘CEC_USER_CONTROL_CODE_NUMBER_ENTRY_MODE’ is not a member of ‘CEC’
      case CEC::CEC_USER_CONTROL_CODE_NUMBER_ENTRY_MODE: { return "Number-Entry-Mode"; } break;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:295:8: error: ‘CEC_USER_CONTROL_CODE_NUMBER11’ is not a member of ‘CEC’
      case CEC::CEC_USER_CONTROL_CODE_NUMBER11: { return "Number11"; } break;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:296:8: error: ‘CEC_USER_CONTROL_CODE_NUMBER12’ is not a member of ‘CEC’
      case CEC::CEC_USER_CONTROL_CODE_NUMBER12: { return "Number12"; } break;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:341:8: error: ‘CEC_USER_CONTROL_CODE_SELECT_BROADCAST_TYPE’ is not a member of ‘CEC’
      case CEC::CEC_USER_CONTROL_CODE_SELECT_BROADCAST_TYPE: { return "Select-Broadcast-Type"; } break;
      ^
      /home/odroid/RetroPie-Setup/tmp/build/emulationstation/es-core/src/CECInput.cpp:342:8: error: ‘CEC_USER_CONTROL_CODE_SELECT_SOUND_PRESENTATION’ is not a member of ‘CEC’
      case CEC::CEC_USER_CONTROL_CODE_SELECT_SOUND_PRESENTATION: { return "Select-Sound-Presentation"; } break;
      ^
      make[2]: *** [es-core/CMakeFiles/es-core.dir/src/CECInput.cpp.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
      make: *** [all] Error 2
      Removing additional swap
      ~/RetroPie-Setup
      Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/odroid/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found).

      Log ended at: Tue Jul 17 07:24:19 ACST 2018
      Total running time: 0 hours, 1 mins, 14 secs

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @Chris8topher
        last edited by BuZz

        @chris8topher sudo apt-get remove libcec.*-dev and retry. Your libcec must be incompatible. I may need to force the cec support to off for certain versions of libcec.

        What OS version are you running ? Your kernel is old. Probably should update to a newer odroid image.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        C 2 Replies Last reply Reply Quote 0
        • C
          Chris8topher @BuZz
          last edited by Chris8topher

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • C
            Chris8topher @BuZz
            last edited by Chris8topher

            @buzz I am using Ubuntu 14.04
            Tried running your fix and it says it's not installed.
            Edit:
            https://postimg.cc/image/8m2dp0r63/
            https://postimg.cc/image/4bnptkr9n/

            Edit2: I'm going to try installing from scratch again with the latest ubuntu

            BuZzB 1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @Chris8topher
              last edited by

              @chris8topher we can't support Ubuntu versions that old. Should be fine in latest LTS 18.04

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              C 1 Reply Last reply Reply Quote 0
              • C
                Chris8topher @BuZz
                last edited by

                @buzz said in (Odroid C1+)EmulationStation fails to build:

                LTS 18.04

                I can't find one that supports the odroid c1+
                I was installing what was recommended in the guide.
                I think I'll try this one next.
                ubuntu-16.04-minimal-odroid-c1-20160803.img.xz

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.