Open GoogleCodeExporter opened 8 years ago
gyp --no-circular-check /path/to/build/file
refer:http://stackoverflow.com/questions/2925094/how-to-build-google-breakpad
Original comment by pengzuo...@gmail.com
on 31 Aug 2012 at 4:04
Ok, this solved it (despite I really don't know how I could know :D ), but now
it cannot be built... I'm using MSVC 2005 and get following errors:
1>------ Build started: Project: exception_handler, Configuration: Debug Win32
------
1>Compiling...
2>------ Build started: Project: crash_generation_server, Configuration: Debug
Win32 ------
2>Compiling...
1>exception_handler.cc
2>minidump_generator.cc
2>.\minidump_generator.cc(33) : fatal error C1083: Cannot open include file:
'avrfsdk.h': No such file or directory
2>Build log was saved at
"file://D:\Programming\breakpad\src\client\windows\Debug\obj\crash_generation_se
rver\BuildLog.htm"
2>crash_generation_server - 1 error(s), 0 warning(s)
1>.\exception_handler.cc(537) : error C2065: 'STATUS_INVALID_PARAMETER' :
undeclared identifier
1>.\exception_handler.cc(898) : error C2065: 'CancelCallback' : undeclared
identifier
1>.\exception_handler.cc(898) : error C2051: case expression not constant
1>.\exception_handler.cc(899) : error C2039: 'CheckCancel' : is not a member of
'_MINIDUMP_CALLBACK_OUTPUT'
1> C:\Program Files (x86)\Microsoft Visual Studio
8\Vc\PlatformSDK\include\DbgHelp.h(2609) : see declaration of
'_MINIDUMP_CALLBACK_OUTPUT'
1>.\exception_handler.cc(900) : error C2039: 'Cancel' : is not a member of
'_MINIDUMP_CALLBACK_OUTPUT'
1> C:\Program Files (x86)\Microsoft Visual Studio
8\Vc\PlatformSDK\include\DbgHelp.h(2609) : see declaration of
'_MINIDUMP_CALLBACK_OUTPUT'
1>Build log was saved at
"file://D:\Programming\breakpad\src\client\windows\Debug\obj\exception_handler\B
uildLog.htm"
1>exception_handler - 5 error(s), 0 warning(s)
3>------ Build started: Project: client_tests, Configuration: Debug Win32 ------
4>------ Build started: Project: crash_generation_app, Configuration: Debug
Win32 ------
3>Compiling...
4>Linking...
3>minidump_test.cc
4>LINK : fatal error LNK1104: cannot open file
'..\..\debug\lib\exception_handler.lib'
4>Build log was saved at
"file://D:\Programming\breakpad\src\client\windows\Debug\obj\crash_generation_ap
p\BuildLog.htm"
4>crash_generation_app - 1 error(s), 0 warning(s)
3>.\minidump_test.cc(198) : error C2065: 'MemoryInfoListStream' : undeclared
identifier
3>.\minidump_test.cc(198) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(199) : error C2065: 'ThreadInfoListStream' : undeclared
identifier
3>.\minidump_test.cc(199) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(200) : error C2065: 'HandleOperationListStream' :
undeclared identifier
3>.\minidump_test.cc(200) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(201) : error C2065: 'TokenStream' : undeclared identifier
3>.\minidump_test.cc(201) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(233) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(234) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(235) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(236) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(268) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(269) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(270) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(271) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(322) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(323) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(324) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(325) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(326) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(327) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(328) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>.\minidump_test.cc(329) : error C2512: 'testing::AssertionResult' : no
appropriate default constructor available
3>exception_handler_test.cc
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cstdio(33) :
warning C4995: 'gets': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cstdio(37) :
warning C4995: 'sprintf': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cstdio(40) :
warning C4995: 'vsprintf': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cstring(20) :
warning C4995: 'strcat': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cstring(21) :
warning C4995: 'strcpy': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cwchar(34) :
warning C4995: 'swprintf': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cwchar(35) :
warning C4995: 'vswprintf': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cwchar(37) :
warning C4995: 'wcscat': name was marked as #pragma deprecated
3>C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\include\cwchar(39) :
warning C4995: 'wcscpy': name was marked as #pragma deprecated
3>d:\Programming\breakpad\src\third_party\platformsdk_win7\files\Include\../../.
./../google_breakpad/processor/minidump.h(808) : warning C4244: 'return' :
conversion from 'const u_int64_t' to 'u_int32_t', possible loss of data
3>.\exception_handler_test.cc(275) : error C2065: 'MemoryInfoListStream' :
undeclared identifier
3>.\exception_handler_test.cc(275) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(276) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(277) : error C2065: 'ThreadInfoListStream' :
undeclared identifier
3>.\exception_handler_test.cc(277) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(278) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(279) : error C2065: 'HandleOperationListStream' :
undeclared identifier
3>.\exception_handler_test.cc(279) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(280) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(281) : error C2065: 'TokenStream' : undeclared
identifier
3>.\exception_handler_test.cc(281) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(282) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(346) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(347) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(348) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(349) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(350) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(351) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(352) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>.\exception_handler_test.cc(353) : error C2512: 'testing::AssertionResult' :
no appropriate default constructor available
3>Generating Code...
3>Build log was saved at
"file://D:\Programming\breakpad\src\client\windows\Debug\obj\client_tests\BuildL
og.htm"
3>client_tests - 44 error(s), 10 warning(s)
========== Build: 0 succeeded, 4 failed, 7 up-to-date, 0 skipped ==========
Original comment by meldapro...@gmail.com
on 5 Sep 2012 at 12:23
There's an unstated build dependency on the Windows Platform SDK (in order to
get the correct dbghelp.h and avrfsdk.h).
Original comment by d...@s2games.com
on 5 Apr 2013 at 5:56
Original issue reported on code.google.com by
bfulg...@gmail.com
on 14 Oct 2010 at 6:25