Comments (1)
It seems like you tried to build it for desktop operating system without a proper Android toolchain.
Please try something like that:
mkdir build
cd build
${ANDROID_HOME}/cmake/3.6.4111459/bin/cmake \
-Wno-dev \
-DCMAKE_SYSTEM_NAME=Android \
-DANDROID_PLATFORM=android-14 \
-DANDROID_ABI=armeabi-v7a \
-DANDROID_NDK=${ANDROID_NDK_ROOT} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake \
-DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DENABLE_LIBCORKSCREW=ON \
-DENABLE_LIBUNWIND=ON \
-DENABLE_LIBUNWINDSTACK=ON \
-DENABLE_CXXABI=ON \
-DENABLE_STACKSCAN=ON \
-DENABLE_INPROCESS=ON \
-DENABLE_OUTOFPROCESS=ON \
..
make
ANDROID_HOME variable should point to Android SDK location.
ANDROID_NDK_ROOT variable should point to Android NDK location.
from ndcrash.
Related Issues (6)
- elfxx.c:499:56: error: too few arguments to function call, expected 8, have 7 HOT 1
- increase buffer size HOT 5
- Is there a way to log stacktrace to file but don't write it to logcat HOT 1
- Help!External dependency build failed! HOT 1
- fatal error: 'android/log.h' file not found #include "android/log.h"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ndcrash.