Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

visual studio 2005 - How to build google google-breakpad for windows?

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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:

srcoolsgypgyp.bat srcclientwindowsreakpad_client.gyp

This will generate visual studio sln files for you.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...