代码节点:
NDK路径:
环境变量配置:
(base) PS F:\Project\GitHub\mars\mars> python.exe .\build_android.py
Enter menu:
- Clean && build mars.
- Build incrementally mars.
- Clean && build xlog.
- Exit
3
ndk path:D:\Program Files\Android\Sdk\ndk\20.1.5948944
==BUILD_DESCRIPTION==Revision: 6c71f72 .description table { margin: 10px 0 15px 0; border-collapse: collapse; font-family: Helvetica, "Hiragino Sans GB", Arial, sans-serif; font-size: 11px; line-height: 16px; color: #737373; background-color: white; margin: 10px 12px 10px 12px;}.description td,th { border: 1px solid #ddd; padding: 3px 10px; }.description th { padding: 5px 10px; }.description a { color: #0069d6; }.description a:hover { color: #0050a3; text-decoration: none; }.description h5 { font-size: 14px; }
PublicComponent
KEY | VALUE |
---|---|
Branch | master |
BuildTag | |
BuildTime | 2024-04-16 23:31:36 |
Revision | 6c71f72 |
build cmd:cmake "F:\Project\GitHub\mars\mars" -G "Unix Makefiles" -DANDROID_ABI="arm64-v8a" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=D:\Program Files\Android\Sdk\ndk\20.1.5948944/build/cmake/android.toolchain.cmake -DANDROID_TOOLCHAIN=clang -DANDROID_NDK=D:\Program Files\Android\Sdk\ndk\20.1.5948944 -DANDROID_PLATFORM=android-21 -DANDROID_STL="c++_shared" && cmake --build . --target libzstd_static marsxlog --config Release -- -j8
CMake Error: The source directory "F:/Project/GitHub/mars/mars/cmake_build/Android/Files/Android/Sdk/ndk/20.1.5948944" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!
(base) PS F:\Project\GitHub\mars\mars> python --version
Python 3.11.5
1条答案
按热度按时间cpjpxq1n1#
很明显的错误。CMake Error: The source directory "F:/Project/GitHub/mars/mars/cmake_build/Android/Files/Android/Sdk/ndk/20.1.5948944" does not exist.