Android ndk r13b3/16/2023 ![]() This will clone all the cores and retroarch and is a fair size.įinally we need to add the paths to our compiling tools - run from terminal -sudo gedit ~/.bashrc (or your preferred text editor) libretro-fetch.sh in terminal and go and grab a coffee (or 3). ![]() In terminal run (from the android directory) git clone to clone the libretro-super folderįrom the newly created libretro-super directory run. /build/tools/make-standalone-toolchain.sh -toolchain=arm-linux-androideabi-4.9 -platform=android-21 -install-dir=stdtc-r10e.Make Standalone toolkit for android-ndk-r10e in folder “stdtc-r10e” and place in android directory. make_standalone_toolchain.py -arch arm -api 21 -install-dir stdtc-r13b.from the android-ndk-r13b/build/tools directory….Make Standalone toolkit for android-ndk-r13b in folder “stdtc-r13b” and place in android directory. make_standalone_toolchain.py -arch arm -api 21 -install-dir stdtc-r15c.from the android-ndk-r15c/build/tools directory….Make Standalone toolkit for android-ndk-r15c in folder “stdtc-r15c” and place in android directory. ![]() <-THIS IS YOUR GOTO FOLDER EVERYTHING IS STORED IN HERE.Įxtract Android NDK r15c into folder “android-ndk-r15c” in the android directory.Įxtract Android NDK r13b into folder “android-ndk-r13b” in the android directory.Įxtract Android NDK r10e into folder “android-ndk-r10e” in the android directory.Įxtract Android SDK latest into folder “tools” in the android directory.Įxtract Android SDK r25.2.5 into folder “tools_r25.2.5” in the android directory. Java-8-openjdk-amd64 - (from terminal) sudo apt install default-jdkĪnt - (from terminal) sudo apt install antĬreate a folder “android” in your home directory. Ubuntu 16.04 running (dedicated or a virtual machine) other flavours do work but this is the goto build. As the guide below stands - I managed to compile 42 of the cores without any juggling - there are some more that compile by specifically naming it - so this guide covers the most part but the files below will allow you to compile more if you are prepared to change some paths later on. There is a recipes directory in libretro-super that “kinda” shows exactly whats needed to compile each core. There is no one size fits all way to compile cores - different versions of NDK,Tools,etc. *** Not saying this is THE way to do it, but it was MY way for getting cores working on the Nvidia Shield - probably an overkill at times *** libretro/libretro-super/blob/master/recipes/android/nf PATH /home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/ĪNDROID_NDK_ARM /home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/ĪNDROID_NDK_ROOT /home/buildbot/tools/android/android-ndk-r13b/ĪNDROID_NDK_LLVM /home/buildbot/tools/android/android-ndk-r13b/toolchains/llvm/prebuilt/linux-x86_64/Ĭompiling Libretro Cores for Android on Ubuntu Make OSD=retro RETRO=1 NOWERROR=1 NOASM=1 gcc=android-arm gcc_version=4.9 TARGETOS=android-arm CONFIG=libretro NO_USE_MIDI=1 OS=linux VERBOSE=1 verbose=1 OVERRIDE_CC=/home/buildbot/tools/android/android-ndk-r10e/toolchains/llvm-3.5/prebuilt/linux-x86_64/bin/clang OVERRIDE_CXX=/home/buildbot/tools/android/android-ndk-r10e/toolchains/llvm-3.5/prebuilt/linux-x86_64/bin/clang++ TARGET=mame -j4
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |