A repository for pangolin on android
This repository is aimed at transplanting pangolin to android.Author of Pangolin is stevenlovegrove and source repository is:https://github.com/stevenlovegrove/Pangolin.Introduction about Pangolin detail can be found at source code's github page. Original Pangolin contains a method to transplant it to android however hard to achieve with some errors inside the CMakeLists and source code.I made a small change for Pangolin to make it suitable for OPENGL ES/ES2.
Find the latest version on Github:
git clone https://github.com/FangGet/pangolin_android.git
Compiled libs and examples for android can be found here: http://pan.baidu.com/s/1c2dXRXm;
- Android SDK;
- Android NDK(>r5e);
- Android-Cmake(given);
You should have installed Android SDK on your Linux and environment variables should have been setted properly. SDK have to be updated with version>android-8.
Android NDK can be only extracted to certain directory.
Android-Cmake may not perform properly on Windows.
Other dependencies for pangolin can be found athttps://github.com/FangGet/pangolin_android/tree/master/Pangolin.
pangolin_android uses CMake portable pre-build tool. Please excute the following at a shell (or the equivelent using a GUI):
git clone https://github.com/FangGet/pangolin_android.git
export $ANDROID_NDK=you android ndk root directory
cd pangolin_android
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../android-cmake/android.toolchain.cmake \
-DANDROID_NDK=$ANDROID_NDK \
-DCMAKE_BUILD_TYPE=Release \
-DANDROID_ABI="armeabi-v7a with NEON" \
-DANDROID_NATIVE_API_LEVEL=android-14 \
<source_path>
cmake --build
ANDROID_BUILD_TYPE:(must be specified)
- Debug
- Release
Android_ABI:
- armeabi
- armeabi-v7a
- armeabi-v7a with NEON
Please visit Github Issues to view and report problems with pangolin_android. I will try my best to answer it.
Contact with: fangasfrank@gmail.com