-
Notifications
You must be signed in to change notification settings - Fork 110
Home
This page explains how to build DroidFish using eclipse in linux and windows.
To build DroidFish, you need a working eclipse installation with git support.
-
To build the DroidFish Android app, you first need to install the Android SDK and the Android NDK from http://developer.android.com/sdk/index.html. SDK and NDK installation instructions can be found elsewhere.
-
Disable "Build automatically" from the "Project" menu.
-
Checkout the eclipse projects:
-
In eclipse, select File -> Import -> Git -> Projects from Git.
-
Select "Clone URI", click next.
-
In the URI field, enter https://github.com/peterosterlund2/droidfish.git, click next.
-
Click next and finish to import all projects.
-
If java is installed in a non-standard location on your computer or you are using windows, change the BinBook_builder eclipse builder:
-
Right click on CuckooChessEngine in the package explorer, select Properties.
-
Click Builders -> BinBook_builder -> Edit.
-
Change "Location" to point to your java executable. In windows, this is likely C:\Windows\System32\java.exe.
-
Define the NDK environment variable to point to your NDK installation directory, or modify the DroidFish Native_Builder (DroidFish -> Properties -> Builders -> Native_builder -> Edit -> Location) to point to the ndk-build script in the NDK installation directory. If you are using windows, point to the ndk-build.cmd script in the NDK installation directory.
-
Enable "Build automatically" from the "Project" menu.