build cmd:cmake "/Users/michael/github/mars/mars" -DANDROID_ABI="armeabi" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/Users/michael/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake -DANDROID_TOOLCHAIN=clang -DANDROID_NDK=/Users/michael/Library/Android/sdk/ndk/23.1.7779620 -DANDROID_PLATFORM=android-21 -DANDROID_STL="c++_shared" && cmake --build . --target libzstd_static marsxlog --config Release -- -j8
-- CMAKE_INSTALL_PREFIX=/Users/michael/github/mars/mars/cmake_build/Android
-- CMAKE_INSTALL_PREFIX=/Users/michael/github/mars/mars/cmake_build/Android
CMake Error at /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/Platform/Android-Determine.cmake:367 (message):
Android: Unknown ABI CMAKE_ANDROID_ARCH_ABI='armeabi'.
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDetermineSystem.cmake:160 (include)
comm/CMakeLists.txt:6 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!
2条答案
按热度按时间zz2j4svz1#
环境变量没有设置,就是没有找到make程序。
wribegjk2#
一个基于docker的xlog解码器
https://github.com/izouxv/xlog