$ sudo apt-get install libsdl2-dev $ sudo apt-get install libsdl2-image-dev $ sudo apt-get install libsdl2-mixer-dev $ sudo apt-get install libsdl2-net-dev $ sudo apt-get install libsdl2-ttf-dev $ sudo apt-get install qtdeclarative5-dev $ sudo apt-get install libfontconfig-devGrab MAME 0.195 source code from here: MAME0195s
$ QT_SELECT=5 makeMAME will start to build. This could take a while and you may get some linker errors at the end about undefined reference to drm* functions in libGL.so. If you do follow these instructions:
$ cd /usr/lib/aarch64-linux-gnu/ $ sudo ln -sf tegra/libGL.so libGL.soCD back to the MAME source folder and type:
$ QT_SELECT=5 makeIf you don't get any linker errors or you fixed it by doing the above procedure you should be good to go with a mame binary executable in the folder with the makefile. Go grab some ROMs. Get some free ones here: FREE MAME ROMS
$ ./mameI've included a pre-compiled executable here: mame