如何构建谷歌breakpad
我完全不知道如何构建谷歌的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
,我无法理解这些错误。我似乎也找不到任何文档。任何帮助将不胜感激。
I'm totally lost on how to build Google's breakpad. There is a sln file, but it depends on a library that doesn't seem to have an associated sln. It seems to use something called gyp that I haven't figured out how to get working. I tried
python gyp ..\breakpad\src\client\windows\breakpad_client.gyp
and that just gives the following errors
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
Which I can't make any sense out of. I also can't seem to find any documentation. Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要查看 gyp 的命令行选项。我有同样的问题。解决方案是运行以下命令:
You need to look at the command-line-options to gyp. I had the same issue. The solution is to run the following: