FangGet / pangolin_android

a repository for pangolin on android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pangolin_android

A repository for pangolin on android

MainPage

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.

Code

Find the latest version on Github:

 git clone https://github.com/FangGet/pangolin_android.git

Standalone Libs And Examples

Compiled libs and examples for android can be found here: http://pan.baidu.com/s/1c2dXRXm;

Dependencies

  • 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.

Building

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

Issues

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

About

a repository for pangolin on android


Languages

Language:C++ 78.0%Language:CMake 10.5%Language:C 9.8%Language:Objective-C++ 1.6%Language:Objective-C 0.1%Language:Cuda 0.1%