How to build breakpad for windows

2,495 views
Skip to first unread message

diehard2

unread,
May 27, 2010, 6:11:52 PM5/27/10
to google-breakpad-dev
Hello, I'm trying to find out how to build breakpad for Visual Studio
2008. I see that there is a sln file for the client, but that this
depends upon a library that seems to be built with something called
gyp. That's as far as I've gotten as I can't seem to find any
documentation. The details of my travails are here
http://stackoverflow.com/questions/2925094/how-to-build-google-breakpad.
I would really appreciate any help. Thanks.

Petr Štetiar

unread,
Jun 10, 2010, 8:46:15 AM6/10/10
to google-br...@googlegroups.com
diehard2 <dieh...@gmail.com> [2010-05-27 15:11:52]:

Hi,

add this paths to your project's compiler include path:

google-breakpad/src
google-breakpad/src/client/windows

and this files to your sources:

google-breakpad/src/common/windows/guid_string.cc
google-breakpad/src/client/windows/handler/exception_handler.cc
google-breakpad/src/client/windows/crash_generation/client_info.cc
google-breakpad/src/client/windows/crash_generation/crash_generation_client.cc
google-breakpad/src/client/windows/crash_generation/crash_generation_server.cc
google-breakpad/src/client/windows/crash_generation/minidump_generator.cc

This is how I use breakpad in my project on Windows and it works. You don't
need to use GYP.

-- ynezz

Ted Mielczarek

unread,
Jun 11, 2010, 10:13:15 AM6/11/10
to google-br...@googlegroups.com

Hi there,

It's my understanding (although I haven't actually tried it), that
checking out the code using "gclient"[1] instead of using svn directly
will take care of running gyp for you.

-Ted

1. http://code.google.com/p/gclient/

Hans Larsen

unread,
Jun 17, 2010, 3:04:33 PM6/17/10
to google-br...@googlegroups.com
hey,

This is true, but you don't have to use gclient either. Just run the gyp executable in src/tools/gyp with the breakpad.gyp path as an argument. Or check the DEPS file to see what exactly gclient is running.

This question has been answered in the stackoverflow thread.
hans


--
You received this message because you are subscribed to the Google Groups "google-breakpad-dev" group.
To post to this group, send email to google-br...@googlegroups.com.
To unsubscribe from this group, send email to google-breakpad...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-breakpad-dev?hl=en.


Reply all
Reply to author
Forward
0 new messages