Answer the question
In order to leave comments, you need to log in
Compiling an android application on Ubuntu?
cmake runs without errors with these options
CC=clang CXX=clang++ cmake -D BUILD_TESTS=OFF -D ARCH="armv7-a" -ldl -D STATIC=ON -D BUILD_64=OFF -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D BUILD_TAG="android" -D BOOST_ROOT=/opt/android/boost_1_65_1 -D BOOST_LIBRARYDIR=/opt/android/boost_1_65_1/android32/lib -DCMAKE_C_COMPILER="/usr/bin/clang" -DCMAKE_CXX_COMPILER="/usr/bin/clang++" -D CMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -D BOOST_IGNORE_SYSTEM_PATHS_DEFAULT=ON
error: unknown target CPU 'armv7-a'
Answer the question
In order to leave comments, you need to log in
Explain what the error means, because for the clang collector we set the percent. unclear help.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question