-
Notifications
You must be signed in to change notification settings - Fork 62
How to build
degenerated1123 edited this page Jun 17, 2017
·
16 revisions
Android-NDK (r14 or newer): https://developer.android.com/ndk/downloads/index.html
Java
Probably more
Go to the REGoth-Android
-Subfolder, run the following command to build the APK and install it on the connected device:
ANDROID_NDK_HOME=path/to/android-ndk ./gradlew installArmDebug
gcc-c++
cmake
cmake-data
libsndfile-devel
openal-soft-devel
flac-devel
libvorbis-devel
libjpeg-turbo-devel
freetype-devel
glew-devel
libXrandr-devel
libXinerama-devel
libxcb-devel
xcb-util-devel (provide randr extension)
xcb-util-image-devel
libXcursor-devel
systemd-devel (provide udev-devel)
vulkan-devel (now that the project use vulkan)
alsa-lib-devel (fedora 26 required)
sh
dnf install allThePackageAbove
cd path/To/Project
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4
# Debian Stretch
### Required packages
```gcc
gcc-c++
cmake
libxinerama-dev
libvulkan-dev
libxcursor-dev
libx11-xcb-dev
libxcb-image0-dev
libxcb-randr0-dev
libudev-dev
libopenal-dev
freeglut3-dev
libjpeg-dev
libfreetype6-dev
libxrandr-dev
libglew-dev
libsndfile1-dev
libasound2-dev
alsa-utils
alsa-oss
sh
apt-get install allThePackageAbove
cd path/To/Project
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4
# Ubuntu
TODO