/Library/Developer/CommandLineTools/usr/bin/make librime
/Library/Developer/CommandLineTools/usr/bin/make -C librime xcode/deps
/Library/Developer/CommandLineTools/usr/bin/make -f xcode.mk deps
/Library/Developer/CommandLineTools/usr/bin/make -f deps.mk
cd /Users/joel/squirrel/librime/deps/googletest; \
cmake . -Bbuild \
-DBUILD_GMOCK:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_INSTALL_PREFIX:PATH="/Users/joel/squirrel/librime" \
&& cmake --build build --target install
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is AppleClang 15.0.0.15000100
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - broken
CMake Error at /usr/local/Cellar/cmake/3.27.6/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"/Library/Developer/CommandLineTools/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/Users/joel/squirrel/librime/deps/googletest/build/CMakeFiles/CMakeScratch/TryCompile-byXNZg'
Run Build Command(s): /usr/local/Cellar/cmake/3.27.6/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_81745/fast
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_81745.dir/build.make CMakeFiles/cmTC_81745.dir/build
Building C object CMakeFiles/cmTC_81745.dir/testCCompiler.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min= -MD -MT CMakeFiles/cmTC_81745.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_81745.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_81745.dir/testCCompiler.c.o -c /Users/joel/squirrel/librime/deps/googletest/build/CMakeFiles/CMakeScratch/TryCompile-byXNZg/testCCompiler.c
clang: error: invalid version number in '-mmacosx-version-min='
make[6]: *** [CMakeFiles/cmTC_81745.dir/testCCompiler.c.o] Error 1
make[5]: *** [cmTC_81745/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:10 (project)
-- Configuring incomplete, errors occurred!
make[4]: *** [gtest] Error 1
make[3]: *** [deps] Error 2
make[2]: *** [xcode/deps] Error 2
make[1]: *** [librime/lib/libmarisa.a] Error 2
make: *** [lib/librime.1.dylib] Error 2
按照 https://github.com/rime/squirrel/blob/master/INSTALL.md 这个markdown build 但是失败。
prerequisites 是 xcode 的话执行make,Executable requires at least macOS 13.0, but is being run on macOS 10.16, and so is exiting. 但是xcode version是15
prerequisites 用 CTL 的话(不是特别清楚能不能用,只知道xcode的环境更全)执行make
所以现在本地是build不了。希望能得到指导。
环境(觉得比较重要的): macos 13.6 cpu intel i7
先行谢过!🙇