Closed ghost closed 3 years ago
to build the library from scratch
1- clone it from https://github.com/tzutalin/dlib-android
2- run envsetup first by python envsetup
3- ensure you have an appropriate NDK version 15c works well
4- set ndk path as global reference (bash_profile/environment)
5- run python build.py
6- copy libs folders to your android project
don't have to call loadLibrary it's already handled by dlib
Hi @tzutalin It would be of great help if you can let me know how to compile the .so files for android.
Settings; Android SDK: 26.1.1 Gradle: 3.5.2 NDK: 20.x (latest stable version)
Using CMakeLists.txt with the following settings on a Native C/C++ Prj
I am trying to compile dlib for android and am getting build erros as follows:
Using this to load the library
Thank you again for your help. Best Chandra