CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set.
ninja
a small build system with a focus on speed
项目地址:https://gitcode.com/gh_mirrors/ni/ninja

·
完整错误
Error:CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Configuration failed.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> executing external native build for cmake /Users/yeliang/Desktop/Projects/Douyin/app/CMakeLists.txt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
解决方法记录
对我来说最后的管用的方式是,直接把cmake的版本降下来了。
之前的版本是3.10.2,我直接改为了3.6.4。




a small build system with a focus on speed
最近提交(Master分支:25 天前 )
47ed2d24
Bump actions/checkout from 4 to 5 17 天前
2e719411
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> 26 天前
更多推荐
所有评论(0)