How to build google google-breakpad for windows?

RED SOFT ADAIR picture RED SOFT ADAIR · Sep 1, 2010 · Viewed 11k times · Source

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 CXXFLAGS=-m32 CFLAGS=-m32 CPPFLAGS=-m32 ./configure

results in

func_dirname ()
{
  # Extract subdirectory from the argument.
  func_dirname_result=NONE:0: m4: ERROR: EOF in string

after some seconds of executing scripts.

I searched form visual studio solution files, but they have been removed since revision 581.

So i found the related post How to build google breakpad.

But how do i install gyp? What prerequisites does it require? Or does anybody have a working (VC2005) sln file for all parts of google-breakpad ? Can anybody give me a step by step description on how to build it?

Answer

Ylisar picture Ylisar · Sep 9, 2010

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.