apt-get install git-core
cd /home/odroid
mkdir develop
apt-get install cmake libx11-dev libx11-xcb-dev libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg62-turbo-dev libfreetype6-dev libxcb-randr0-dev libxcb-image0-dev libxcb-util0-dev libxcb-ewmh-dev libxcb-keysyms1-dev libxcb-icccm4-dev libudev-dev libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavresample-dev libfontconfig1-dev
(Attract-Mode was originally using libjpeg8-dev, but on debian Jessie it's been replaced by libjpeg62-turbo-dev, so if you don't have a Debian Jessie based image, maybe you'll need to install libjpeg8-dev instead)apt-get install libsfml-odroid
If it works, then you can skip the next steps and go directly to "Build Attract-Mode"cd develop
git clone https://github.com/SFML/SFML sfml
mkdir sfml/build;cd sfml/build
cmake -DSFML_OPENGL_ES=1 ..
make install
ldconfig
cd /home/odroid/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make
make install
cd /home/odroid/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_GLES=1
make install
root@gamestation-turbo:/home/odroid/develop/sfml/build# cmake -DSFML_OPENGL_ES=1 ..
-- 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
CMake Error at src/SFML/Window/CMakeLists.txt:214 (find_package):
By not providing "FindXCB.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "XCB", but
CMake did not find one.
Could not find a package configuration file provided by "XCB" with any of
the following names:
XCBConfig.cmake
xcb-config.cmake
Add the installation prefix of "XCB" to CMAKE_PREFIX_PATH or set "XCB_DIR"
to a directory containing one of the above files. If "XCB" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/odroid/develop/sfml/build/CMakeFiles/CMakeOutput.log".
root@gamestation-turbo:/home/odroid/develop/sfml/build# make install
make: *** No rule to make target 'install'. Stop.
# find external libraries
if(SFML_OS_LINUX OR SFML_OS_FREEBSD)
find_package(X11 REQUIRED)
if(NOT X11_FOUND)
message(FATAL_ERROR "X11 library not found")
endif()
if(NOT X11_Xrandr_FOUND)
message(FATAL_ERROR "Xrandr library not found")
endif()
include_directories(${X11_INCLUDE_DIR})
endif()
if(NOT SFML_OPENGL_ES)
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
endif()
if(SFML_OPENGL_ES AND SFML_OS_LINUX)
find_package(EGL REQUIRED)
find_package(GLES REQUIRED)
include_directories(${EGL_INCLUDE_DIR} ${GLES_INCLUDE_DIR})
find_package(XCB COMPONENTS xlib_xcb icccm image randr util REQUIRED)
if(NOT LIBXCB_FOUND)
message(FATAL_ERROR "Xcb library not found")
endif()
include_directories(${LIBXCB_INCLUDE_DIRS})
endif()
include_directories(${UDEV_INCLUDE_DIR})
endif()
Just followed your instructions worked a treat but on launching its saying it's version 2.1.0?Yes it says 2.1.0 but it's actually 2.2.0. You can double check that by going to the menu and see if you can select a specific layout for the display menu. If you can, it means you are on 2.2.0 since this feature wasn't available before.
there any guides with setting this up on xu4 with the cores and emulators made on the OGST image as im lost!, an chance you could share your config files for linking the emulators and cores?I use OGST but everything is completely customized on my image, all my emulator.cfg files point at one bash script actually. When this script is launched, depending on the type of system (arcade, port, OpenBOR, Nintendo consoles, Sega consoles etc... ), it launches another specific script, this one reads my own settings files (one txt file by system), then it launches the right emulator with the right rom.
executable /path/to/retroarch
args -L /usr/local/share/retoarch/cores/bad_or_good/<CORE> -c /path/to/config.cfg "[romfilename]"
rompath /home/odroid/<SYSTEM>/<ROM>
romext .ext
system System_Name
info_source thegamesdb.net
artwork flyer
artwork marquee <MARQUEE PATH>
artwork snap <SNAP PATH>
artwork wheel <WHEEL PATH>
which retroarch