camke -G Ninja后ninja编译链接闪退问题
ninja
a small build system with a focus on speed
项目地址:https://gitcode.com/gh_mirrors/ni/ninja

·
最初使用win11进行cmake,构建完后执行ninja闪退
原因:win11或工程文件在C盘不兼容(我当时是win11系统,只有一个C盘)
解决:后为了验证自己的想法开了一个win10的虚拟机并分盘,工程文件放在E盘,再进行cmake、ninja,成功解决




a small build system with a focus on speed
最近提交(Master分支:7 个月前 )
649ec6cd
Fix depfile parser to support ? 2 个月前
e9033575
The `?` is actually valid on Unix filesystems, as well as on Windows
when it appears at the start of the path, as in `\\?\C:\foo` or
`//?/C:/foo`.
Before this patch, the depfile parser considered it as whitespace
and would mistakenly decompose `//?/C:/foo` into two separate paths
(`//` and `/C:/foo`) which broke Ninja incremental builds.
The major change in in src/depfile_parser.in.cc
Note that re2c version 3.1 was used to regenerate depfile_parser.cc
from that file.
Fixes #2568
2 个月前
更多推荐
所有评论(0)