如何构建谷歌breakpad

时间:2010-05-27 21:29:08

标签: gyp google-breakpad

我完全迷失了如何构建Google的破解版。有一个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

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

1 个答案:

答案 0 :(得分:15)

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

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