2010-05-27 61 views
7

我完全失去了如何建立谷歌的breakpad。有一個sln文件,但它依賴於似乎沒有關聯sln的庫。它似乎使用了一種叫做gyp的方法,我還沒有想出如何工作。我試圖如何建立谷歌breakpad

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 

,我可以沒有任何意義了的。我似乎也找不到任何文件。任何幫助,將不勝感激。

回答

15

您需要查看gyp的命令行選項。我遇到過同樣的問題。解決方法是運行以下內容:

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