Question

Je suis totalement perdu sur la façon de construire la Breakpad de Google. Il y a un fichier sln, mais il dépend d'une bibliothèque qui ne semble pas avoir un associé sln. Il semble utiliser quelque chose appelé Gyp que je ne l'ai pas compris comment obtenir le fonctionnement. J'ai essayé

 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 peux aussi semble ne pas trouver de la documentation. Toute aide serait appréciée.

Était-ce utile?

La solution

Vous devez regarder la ligne de commande-options à Gyp. J'ai eu le même problème. La solution est d'exécuter ce qui suit:

gyp --no-circular-check /path/to/build/file
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top