Build ShashChess for Android

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

amchess
Posts: 325
Joined: Tue Dec 05, 2017 2:42 pm

Build ShashChess for Android

Post by amchess »

I want to compile ShashChess for android (asked by a forum user).

In this thread,
http://support.stockfishchess.org/disc ... oid-target

Marco Costalba says I have to install the Android NDK and I installed it by the following procedure (on Windows OS):
-download Android Studio , double click to launch and follow the wizard.
At the end, launch Android Studio and install the various default components.
Create a new application.
1. From an open project, select SDK Manager pressing the button at right on the toolbar.
2. Click the SDK Tools tab.
3. Check the boxes next to LLDB, CMake, and NDK.
4. Click Apply, and then click OK in the next dialog.
5. When the installation is complete, click Finish, and then click OK.

After that, I launched the following suggested command:
make build ARCH=armv7 COMP=gcc
but the executable (generated as .exe and renamed by removing this extension) doesn't work on an android device.
Is the MakeFile the problem? If not, in what I'm wrong/what I missed?

Thanks in advance for the response.

Andrea