mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-30 07:28:26 +01:00
Updated Home (markdown)
parent
a186f7573e
commit
e09a29579a
39
Home.md
39
Home.md
|
@ -1,38 +1,3 @@
|
||||||
# Building DroidFish
|
# Links
|
||||||
|
|
||||||
## Introduction
|
[More information](http://hem.bredband.net/petero2b/droidfish/index.html)
|
||||||
|
|
||||||
This page explains how to build DroidFish using eclipse in linux and windows.
|
|
||||||
|
|
||||||
## Preparations
|
|
||||||
|
|
||||||
To build DroidFish, you need a working eclipse installation with git support. To make eclipse correctly handle UTF-8 encoded source files, go to Window > Preferences > General > Workspace and change "Text file encoding" to UTF-8.
|
|
||||||
|
|
||||||
## Building DroidFish
|
|
||||||
|
|
||||||
1. 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.
|
|
||||||
|
|
||||||
2. Disable "Build automatically" from the "Project" menu.
|
|
||||||
|
|
||||||
3. Checkout the eclipse projects:
|
|
||||||
1. In eclipse, select File -> Import -> Git -> Projects from Git.
|
|
||||||
2. Select "Clone URI", click next.
|
|
||||||
3. In the URI field, enter https://github.com/peterosterlund2/droidfish.git, click next.
|
|
||||||
4. Click next and finish to import all projects.
|
|
||||||
|
|
||||||
4. If java is installed in a non-standard location on your computer or you are using
|
|
||||||
windows, change the BinBook_builder eclipse builder:
|
|
||||||
1. Right click on CuckooChessEngine in the package explorer, select Properties.
|
|
||||||
2. Click Builders -> BinBook_builder -> Edit.
|
|
||||||
3. Change "Location" to point to your java executable. In windows, this is likely
|
|
||||||
C:\Windows\System32\java.exe.
|
|
||||||
|
|
||||||
5. 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.
|
|
||||||
|
|
||||||
6. Enable "Build automatically" from the "Project" menu.
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user