CHESS COMPILATION FOR ANDROID TUTORIAL

Discussion of chess software programming and technical issues.

Moderator: Ras

ElysiumKing
Posts: 2
Joined: Tue Jun 23, 2020 5:18 pm
Full name: Oscar Lasso

CHESS COMPILATION FOR ANDROID TUTORIAL

Post by ElysiumKing »

Hi guys, thank you so much for this forum, I just really wanted to know if there is some sort of tutorial or guida for compiling engines to Android, I have basic computer knowledge but I want to know if that is so hard or with some time and effort can I achieve it, I love to have my engines in my android device, but really hate it when some engines are not available in their armv7/armv8 versions.


thanks for their help.
Archimedes
Posts: 169
Joined: Tue Mar 05, 2019 3:43 pm
Full name: Archimedes

Re: CHESS COMPILATION FOR ANDROID TUTORIAL

Post by Archimedes »

There are several ways you can do that.

Use the Clang or GCC compiler on Termux with the right makefile or use Android NDK (you have the choice between ndk-build, cmake or standalone toolchains) on your prefered operating system. Android NDK is also using the Clang compiler.

A short tutorial, how this can be achieved with Android NDK and ndk-build, can be find here:
forum3/viewtopic.php?f=2&t=76133

Chess engines for Android can be find here:
forum3/viewtopic.php?f=2&t=75837#p873446
jdart
Posts: 4410
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: CHESS COMPILATION FOR ANDROID TUTORIAL

Post by jdart »

Visual Studio supports Android compilation now, although I personally have not used that feature: https://visualstudio.microsoft.com/vs/android/