RetroPie / EmulationStation

A Fork of Emulation Station for RetroPie. Emulation Station is a flexible emulator front-end supporting keyboardless navigation and custom system themes.
Other
863 stars 344 forks source link

Installation failed on ODroid UX4 Ubuntu 18.04 #547

Open animeai opened 5 years ago

animeai commented 5 years ago
Log started at: Tue Mar 12 01:47:59 GMT 2019

RetroPie-Setup version: 4.4.9 (a161774)
System: Linux odroid 4.14.102-156 #1 SMP PREEMPT Thu Feb 21 14:15:08 -03 2019 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/retropi/RetroPie-Setup/tmp/build/emulationstation"
Cloning into '/home/retropi/RetroPie-Setup/tmp/build/emulationstation'...
Submodule 'external/pugixml' (https://github.com/zeux/pugixml.git) registered for path 'external/pugixml'
Cloning into '/home/retropi/RetroPie-Setup/tmp/build/emulationstation/external/pugixml'...
Submodule path 'external/pugixml': checked out 'd2deb420bc70369faa12785df2b5dd4d390e523d'
HEAD is now in branch 'stable' at commit '25ef0c8b77b7d4c1b5e84c330bef7472f432ab3a'
~/RetroPie-Setup
~/RetroPie-Setup/tmp/build/emulationstation ~/RetroPie-Setup

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

Removing additional swap
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - 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
-- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "2.8.1") 
-- Looking for FreeImage...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'freeimage'
--   No package 'freeimage' found
-- Found FreeImage: optimized;/usr/lib/arm-linux-gnueabihf/libfreeimage.so;debug;/usr/lib/arm-linux-gnueabihf/libfreeimage.so
-- Looking for pthread.h
-- Looking for 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  
-- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.58.0") 
-- Checking for module 'libvlc>=1.0.0'
--   Found libvlc, version 3.0.4
-- VLC library found
-- Found VLC: /usr/include/vlc  
-- Found Rapidjson: /usr/include  
-- Looking for libCEC...
-- Checking for module 'libcec'
--   No package 'libcec' found
-- Could not locate libCEC
-- Found ALSA: /usr/lib/arm-linux-gnueabihf/libasound.so (found version "1.1.3") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/retropi/RetroPie-Setup/tmp/build/emulationstation
Scanning dependencies of target nanosvg
[  1%] Building CXX object external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o
[  2%] Linking CXX static library ../../libnanosvg.a
[  2%] Built target nanosvg
Scanning dependencies of target pugixml
[  3%] Building CXX object external/pugixml/CMakeFiles/pugixml.dir/src/pugixml.cpp.o
[  4%] Linking CXX static library ../../libpugixml.a
[  4%] Built target pugixml
Scanning dependencies of target es-core
[  5%] Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o
[  6%] Building CXX object es-core/CMakeFiles/es-core.dir/src/CECInput.cpp.o
[  7%] Building CXX object es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o
In file included from /usr/include/GLES/gl.h:6:0,
                 from /home/retropi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/Renderer.h:7,
                 from /home/retropi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/GuiComponent.cpp:6:
/usr/include/GLES/glplatform.h:20:10: fatal error: KHR/khrplatform.h: No such file or directory
 #include <KHR/khrplatform.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
es-core/CMakeFiles/es-core.dir/build.make:110: recipe for target 'es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o' failed
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o] Error 1
CMakeFiles/Makefile2:217: recipe for target 'es-core/CMakeFiles/es-core.dir/all' failed
make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Removing additional swap
~/RetroPie-Setup
Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/retropi/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found).

Log ended at: Tue Mar 12 01:48:54 GMT 2019
Total running time: 0 hours, 0 mins, 55 secs

Fixed by installing via apt: "libglfw3 libglfw3-dev mesa-utils libgles2-mesa-dev libgles2-mesa" and running "cp /usr/share/mali/headers/KHR/khrplatform.h /usr/include/GLES/khrplatform.h"

Am unsure which step (or combination) fixed this

joolswills commented 5 years ago

Looks like a missing header. Possibly dependency changes that affect recent odroid images. It's been a while since I tested. I will look into it. Thanks.

You might do better to try it on the armbian image. I'm looking at using that as a base image for some boards as it would simplify our support (in theory).