mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +01:00
Updated Home (markdown)
parent
c19141e724
commit
d061734285
53
Home.md
53
Home.md
|
@ -1,35 +1,38 @@
|
|||
# Building DroidFish
|
||||
|
||||
#summary Building CuckooChess and DroidFish.
|
||||
#labels Featured,Phase-Deploy
|
||||
## Introduction
|
||||
|
||||
= Introduction =
|
||||
This page explains how to build DroidFish using eclipse in linux and windows.
|
||||
|
||||
This page explains how to build CuckooChess and DroidFish using eclipse in linux and windows.
|
||||
## Preparations
|
||||
|
||||
= Preparations =
|
||||
To build DroidFish, you need a working eclipse installation with git support.
|
||||
|
||||
To build the CuckooChess chess engine, you need an eclipse installation with support for svn. I use "Subversive SVN Team Provider" and "SVNKit".
|
||||
## Building DroidFish
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
= Building CuckooChess =
|
||||
2. Disable "Build automatically" from the "Project" menu.
|
||||
|
||||
# Checkout the CuckooChessEngine project:
|
||||
# In eclipse, select File -> New -> Other -> Checkout Projects from SVN.
|
||||
# Create a new repository location, http://cuckoochess.googlecode.com/svn/trunk/.
|
||||
# Select CuckooChessEngine, click Finish.
|
||||
# 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 Builder -> BinBook_builder -> Edit.
|
||||
# Change Location to point to your java executable. In windows, this is likely C:\Windows\System32\java.exe.
|
||||
# Checkout the CuckooChess project from http://cuckoochess.googlecode.com/svn/trunk/.
|
||||
# When the CuckooChess project is built (which will happen automatically if "build automatically" is enabled) a jar file is created in workspace_path/CuckooChess/deploy/CuckooChess.jar.
|
||||
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.
|
||||
|
||||
= Building DroidFish =
|
||||
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.
|
||||
|
||||
# DroidFish depends on the CuckooChessEngine project, so checkout that project first.
|
||||
# Checkout the DroidFish project from http://cuckoochess.googlecode.com/svn/trunk/.
|
||||
# Define the NDK environment variable to point to your NDK installation directory, or modify the DroidFish Native_Builder to point to the ndk-build script in the NDK installation directory. In windows, point to the ndk-build.cmd script in the NDK installation directory.
|
||||
|
||||
If you plan to make modifications to the source code, you may also want to checkout the DroidFishTest project from http://cuckoochess.googlecode.com/svn/trunk/.
|
||||
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