How to build google google-breakpad for windows?

烈酒焚心 提交于 2019-12-01 03:21:23

This is really poorly explained in the documentation, but actually gyp is already present if you've done an ordinary checkout of breakpad. Open a command prompt and place yourself in the root ( google-breakpad-read-only if you're going by the instructions ). Then just do:

src\tools\gyp\gyp.bat src\client\windows\breakpad_client.gyp

This will generate visual studio sln files for you.

AhmedBM

The latest master of breakpad (March 15th 2016) does not include gyp, which is used to generate the solution files. The best thing to do would be to simply check it out and install it; gyp does, however, require Python 2.7 so make sure Python is accessible in the path.

git clone https://chromium.googlesource.com/external/gyp
cd gyp
python setup.py install

Now your gyp installation will work; simply invoke gyp.bat on src\client\windows\breakpad_client.gyp. (gyp is checked out one directory below breakpad in my case; change it accordingly to your setup)

..\gyp\gyp.bat src\client\windows\breakpad_client.gyp --no-circular-check

The solution files should now be present.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!