gpt4 book ai didi

gyp - 如何构建谷歌breakpad

转载 作者:行者123 更新时间:2023-12-02 19:47:51 27 4
gpt4 key购买 nike

我完全不知道如何构建 Google 的 Breakpad。有一个 sln 文件,但它依赖于一个似乎没有关联 sln 的库。它似乎使用了一种叫做 gyp 的东西,我还没弄清楚如何开始工作。我试过了

 python gyp  ..\breakpad\src\client\windows\breakpad_client.gyp

这只会给出以下错误

Traceback (most recent call last):
File "gyp", line 18, in <module>
sys.exit(gyp.main(sys.argv[1:]))
File "pylib\gyp\__init__.py", line 445, in main
options.circular_check)
File "pylib\gyp\__init__.py", line 84, in Load
depth, generator_input_info, check, circular_check)
File "pylib\gyp\input.py", line 2165, in Load
VerifyNoGYPFileCircularDependencies(targets)
File "pylib\gyp\input.py", line 1429, in VerifyNoGYPFileCircularDependencies
' '.join(bad_files)
gyp.input.CircularException: Some files not reachable, cycle in .gyp file dependency
graph detected involving some or all of:
..\breakpad\src\client\windows\sender\crash_report_sender.gyp
..\breakpad\src\client\windows\h
andler\exception_handler.gyp ..\breakpad\src\client\windows\breakpad_client.gyp
..\breakpad\src\client\windows\unittests\client_tests.gyp
..\breakpad\src\client\windows\crash_generation\crash_generation.gyp

我无法理解这一点。我似乎也找不到任何文档。任何帮助将不胜感激。

最佳答案

您需要查看 gyp 的命令行选项。我遇到过同样的问题。解决方案是运行以​​下命令:

gyp --no-circular-check /path/to/build/file

关于gyp - 如何构建谷歌breakpad,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2925094/

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