How to build google google-breakpad for windows?

前端 未结 2 1735
渐次进展
渐次进展 2020-12-19 01:51

I am trying to build google breakpad for windows. I don\'t get it. I tried installed autoconf and m4 for Windows which seems to work. But running

m4 CXXFLAG         


        
相关标签:
2条回答
  • 2020-12-19 02:13

    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.

    0 讨论(0)
  • 2020-12-19 02:34

    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.

    0 讨论(0)
提交回复
热议问题