gpt4 book ai didi

build-process - gclient 运行 Hook 失败

转载 作者:行者123 更新时间:2023-12-04 02:53:57 25 4
gpt4 key购买 nike

我正在尝试在 Windows 下构建 Chrome,我使用 tortoiseSVN 获得了 Chromium 主干,我相信我一切都正确,但是当我运行“gclient runhooks”时,我收到错误:“错误:客户端未配置;请参阅‘gclient 配置’ ”。

现在,我知道这是因为我在同一目录中没有“.gclient”文件,但是我在项目的任何地方都找不到 .gclient 文件。我试图自己创建 .gclient 文件,但它说缺少解决方案。

我可能遗漏了一些东西,有人可以帮我吗?我很困!
谢谢!

最佳答案

上述解决方案已过时。使用 SVN 存储库运行会导致:

Error: 
The chromium code repository has migrated completely to git.
Your SVN-based checkout is now obsolete; you need to create a brand-new
git checkout by following these instructions:

http://www.chromium.org/developers/how-tos/get-the-code

现在你需要像这样创建一个 .gclient 文件
solutions = [
{
"managed": False,
"name": "src",
"url": "https://chromium.googlesource.com/chromium/src.git",
"custom_deps": {},
"deps_file": ".DEPS.git",
"safesync_url": "",
},
]

并做:
gclient sync

关于build-process - gclient 运行 Hook 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8684282/

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