mars
mars copied to clipboard
mac os 12.0.1 编译xlog出错
cmake版本:cmake version 3.22.1
ndk版本:20.0.5594570
Last login: Thu Aug 4 12:00:34 on ttys000 jack@jackdeMacBook-Pro ~ % cd /Users/jack/Documents/mars-master/mars jack@jackdeMacBook-Pro mars % python build_android.py Enter menu: 1. Clean && build mars. 2. Build incrementally mars. 3. Clean && build xlog. 4. Exit 3 ndk path:/Users/jack/Library/Android/sdk/ndk/20.0.5594570 fatal: 不是 git 仓库(或者任何父目录):.git fatal: 不是 git 仓库(或者任何父目录):.git [[==BUILD_DESCRIPTION==]]Revision:
PublicComponent
KEY | VALUE |
---|---|
Branch | |
BuildTag | |
BuildTime | 2022-08-04 12:05:31 |
Revision |
"/Users/jack/Library/Android/sdk/ndk/20.0.5594570/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/jack/Documents/mars-master/mars/cmake_build/Android/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_b8949/fast && xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
comm/CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/jack/Documents/mars-master/mars/cmake_build/Android/CMakeFiles/CMakeOutput.log".
See also "/Users/jack/Documents/mars-master/mars/cmake_build/Android/CMakeFiles/CMakeError.log".
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!
jack@jackdeMacBook-Pro mars %
望回复谢谢