Coder Social home page Coder Social logo

Comments (1)

ivanarh avatar ivanarh commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.