[noob question] Help compiling RetroArch for Raspbian (rpi3)

First, I know Lakka works perfectly, but I wanted to run RetroArch on Raspbian (Raspberry Pi 3) to have two different setups: RA@Raspbian set to work with my current games and saves (stored in a NAS) Lakka as a standalone installation, with its own saves and games (on the SD card)

So I decided to try compiling RA on Raspbian… But i am a complete noob regarding git, and compiling software from source in general.

I tried following the steps on this URL: https://github.com/libretro/RetroArch/wiki/Compilation-guide-(Linux) But the process fills the memory card (and takes too long), so, it didn’t work for me.

[details=Summary] > git clone git://github.com/libretro/libretro-super.git > cd libretro-super > SHALLOW_CLONE=1 ./libretro-fetch.sh > ./retroarch-build.sh > NOCLEAN=1 ./libretro-build.sh > mkdir -p ~/retroarch/cores > cd retroarch > ./configure --enable-neon --enable-floathard --enable-opengles --enable-dispmanx --enable-egl --enable-fbo --enable-alsa --enable-udev > make DESTDIR=~/retroarch/ install > cd … #to libretro-super directory > ./libretro-install.sh ~/retroarch/cores[/details]

I also adapted the steps here: http://alexmax2742.blogspot.com/2016/07/retroarch-on-raspberry-pi.html Pointing to the 1.4.1 tar file and making small adjustments. It managed to run once, but the menu was completely corrupted and after closing, RA didn’t open anymore.

[details=Summary] > sudo aptitude install libasound2-dev libudev-dev > wget ‘https://github.com/libretro/RetroArch/archive/v1.4.1.tar.gz’ > tar zxvf v1.4.1.tar.gz > cd RetroArch-1.4.1 > ./configure --enable-alsa --enable-udev --enable-floathard --enable-neon --enable-dispmanx > make -j4 > sudo make install[/details]

Is there a “better” way to do it?

Why don’t you use retropie.it is very easy to set up.it uses emulation station as a frontend and retroarch an emulator.