We have google breakpad compiled a Windows 7 64-bit desktop and Windows 7 32-bit laptop, both using Visual Studio 2008. We are trying to compile our Qt 4 app to include breakpad. Here’s the pertinent section of the .pro file:
INCLUDEPATH += ./third_party/google_breakpad/src
linux-g++:LIBS += -L$${PWD}/third_party/build/google_breakpad/$${BUILD_MODE}/src/client/linux -lbreakpad_client
win32:LIBS += -L$${PWD}/third_party/google_breakpad/src/client/windows/Debug/lib -lexception_handler -lcrash_generation_client -lcommon
It compiles, but when we link, we get:
main.obj:: error: unresolved external symbol “public: __thiscall google_breakpad::ExceptionHandler::ExceptionHandle r(class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,bool (__cdecl*)(void ,struct EXCEPTION_POINTERS *,struct MDRawAssertionInfo *),bool (_cdecl)(unsigned short const *,unsigned short const *,void *,struct _EXCEPTION_POINTERS *,struct MDRawAssertionInfo *,bool),void *,int)†(??0ExceptionHandler@google_breakpad@@QAE@ABV?$bas ic_string@GU?$char_traits@G@std@@V?$allocator@G@2@ @std@@P6A_NPAXPAU_EXCEPTION_POINTERS@@PAUMDRawAsse rtionInfo@@@ZP6A_NPBG5123_N@Z1H@Z) referenced in function _main
We’ve verified the constructor signature using dumpbin. We’ve also tried bringing our app into Visual Studio 2008 using the Qt plugin and we get the same error. Any ideas? Thanks!
Bookmarks