2010-05-27 4 views
7

Je suis complètement perdu sur la façon de construire le breakpad de Google. Il y a un fichier sln, mais cela dépend d'une bibliothèque qui ne semble pas avoir de sln associé. Il semble utiliser quelque chose appelé gyp que je n'ai pas compris comment travailler. J'ai essayéComment construire google breakpad

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

et qui donne juste les erreurs suivantes

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 

Ce que je ne peux pas faire un sens à. Je n'arrive pas non plus à trouver de documentation. Toute aide serait appréciée.

Répondre

15

Vous devez regarder les options de ligne de commande à gyp. J'ai eu le même problème. La solution consiste à exécuter les opérations suivantes:

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