gpt4 book ai didi

Cmake错误: could not load cache

转载 作者:行者123 更新时间:2023-12-01 20:27:12 41 4
gpt4 key购买 nike

我正在使用 Cmake 尝试为 Eclipse 构建一个项目。当我尝试运行 Cmake 时,出现以下错误:

Error: could not load cache
Error: Batch build stopped due to Eclipse CDT4 - Unix Makefiles error.
---- Time Elapsed: 3 secs ----
Error: could not load cache
Error: Batch build stopped due to Eclipse CDT4 - Unix Makefiles error.

我完全不知道是什么原因造成的。我知道我正在正确的目录中运行 Cmake 并且存在 CMakeCache.txt 文件。有人能指出我解决这个问题的正确方向吗?

最佳答案

如果您使用的是 CLion,可以使用文件---“重新加载 CMake 项目”。

我在使用 git force pull 后遇到了这个问题,Reload CMake Project 解决了它。

关于Cmake错误: could not load cache,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16319292/

41 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com