12-07-2018, 02:58 PM
(12-07-2018, 06:35 AM)Luke Wrote:I tried with the NEON image and got till the configure command but got this response:(12-07-2018, 06:00 AM)vnomis Wrote:(12-07-2018, 05:51 AM)Luke Wrote: You could run retroarch on it just fine - you'd just have to compile on an image with acceleration and in a way so it would use blob.
Any tutorial or place to start in order to be able to run retroarch?, Luke
I know how to make it run with off of a minimal image (with xorg). So you could have an installation on a SD card and pop that in for retrogames.
But I'd prefer to have it working ontop of a DE. I'm traveling thoughout December, which makes it unlikely that I'll look into it now.
But, if you want to try then I would use the Neon image OR ayufan's 18.04 mate and do as follows
Install dependencies :
Code:sudo apt-get install debhelper pkg-config libc6-dev libpulse-dev libsdl2-dev libxml2-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libv4l-dev x11proto-xext-dev libxxf86vm-dev libxinerama-dev libudev-dev libusb-1.0-0-dev libasound2-dev libxv-dev libopenal-dev libjack-jackd2-dev libfreetype6-dev libgbm-dev libdrm-dev libegl1-mesa-dev python3-dev zlib1g-dev libavdevice-dev
Then fetch Retroarch source
Code:git clone https: //github.com/libretro/RetroArch.git
Then for compiling my guess is:
Code:./configure --enable-xmb --enable-neon --enable-x11 --disable-opengl --disable-opengles3 --enable-mali_fbdev --enable-floathard --disable-qt --enable-ffmpeg --enable-sdl2 --disable-wayland --enable-opengles
Then make
Code:make -j4
sudo make install
You could try both gles and sdl2 in Retroarch and see if either works. Granted it works, then you can just install cores using apt-get after .... or so I think.
Very curious to hear if it works ! - let me know
[edit] someone much smarter (mrfixit2001) said he thinks...
Quote:"(...) you'd also need the libxkbcommon-dev dependency, and the build flag for --enable-egl and --disable-sdl."
Checking operating system ... Linux (KDE neon User Edition 5.14 18.04)
Checking for suitable working C compiler ... /usr/bin/gcc works
Checking for suitable working C++ compiler ... /usr/bin/g++ works
Checking for pkg-config ... /usr/bin/pkg-config
Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes
Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes
Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes
Checking function sd_get_machine_names in -lsystemd ... no
Checking presence of package bcm_host ... no
Checking function bcm_host_init in -lbcm_host ... no
Checking presence of package egl ... 18.0.5
Checking function ass_library_init in -lass ... no
Checking function -ldl in -lretro ... no
Checking function pthread_create in -lpthread ... no
Checking function dlopen in -ldl ... no
Checking function socket in -lc ... no
Warning: All networking features have been disabled.
Checking function fcntl in -lc ... no
Checking function getopt_long in -lc ... no
Checking presence of package alsa ... 1.1.3
Checking presence of header file sys/soundcard.h ... yes
Checking presence of header file soundcard.h ... no
Checking existence of -lossaudio ... no
Checking function alcOpenDevice in -lopenal ... no
Checking presence of package rsound >= 1.1 ... no
Checking presence of package libroar ... no
Checking presence of package jack >= 0.120.1 ... 1.9.12
Checking presence of package libpulse ... 11.1
Checking presence of package sdl2 >= 2.0.0 ... 2.0.8
Checking presence of package flac ... no
Checking existence of -lFLAC ... no
Checking presence of package libusb-1.0 >= 1.0.13 ... 1.0.21
Checking presence of package zlib ... 1.2.11
Checking presence of package libmpv ... no
Notice: Not building with threading support. Will skip FFmpeg.
Checking presence of package gbm >= 9.0 ... 18.0.5
Checking presence of package libdrm ... 2.4.91
Checking presence of package libxml-2.0 ... 2.9.4
Checking presence of package glesv2 ... 18.0.5
Checking presence of package vg ... no
Checking existence of -lOpenVG ... no
Checking presence of package libv4l2 ... 1.14.2
Checking presence of package freetype2 ... 21.0.15
Checking presence of package x11 ... 1.6.4
Checking presence of package xcb ... 1.13
Checking presence of package wayland-cursor >= 1.14 ... 1.14.0
Checking presence of package wayland-protocols >= 1.13 ... no
Checking presence of package xkbcommon >= 0.3.2 ... 0.8.0
Checking presence of package xext ... 1.3.3
Checking presence of package xxf86vm ... 1.1.4
Notice: wayland-egl or wayland-protocols not present. Skiping Wayland code paths.
Checking existence of -lXrandr ... no
Checking presence of package xinerama ... 1.1.3
Checking presence of package xv ... 1.0.11
Checking presence of package libudev ... 237
Checking presence of header file linux/parport.h ... yes
Checking presence of header file linux/ppdev.h ... yes
Checking function strcasestr in -lc ... no
Checking function mmap in -lc ... no
Checking function vkCreateInstance in -lvulkan ... no
Checking presence of predefined macro __ARM_NEON__ ... no
Build assumed that __ARM_NEON__ is defined, but it's not. Exiting ...
i cannot locate the missing packages, so had to stop there