Building wxWidgets 2.8.6 linker error with VS2005

konokono matatu.konokono at gmail.com
Tue Nov 6 08:04:48 PST 2007


Hi all,
I'm trying to build wxWidgets 2.8.6 with VS2005, but I get the following 
errors compiling the 'core' project:

1>Linking...
1>   Creating library ..\..\lib\vc_dll\wxmsw28d_core.lib and object 
..\..\lib\vc_dll\wxmsw28d_core.exp
1>app.obj : error LNK2019: unresolved external symbol "protected: 
virtual class wxString __thiscall 
wxAppTraitsBase::GetAssertStackTrace(void)" 
(?GetAssertStackTrace at wxAppTraitsBase@@MAE?AVwxString@@XZ) referenced in 
function "public: virtual bool __thiscall wxApp::Yield(bool)" 
(?Yield at wxApp@@UAE_N_N at Z)
1>appcmn.obj : error LNK2001: unresolved external symbol "protected: 
virtual class wxString __thiscall 
wxAppTraitsBase::GetAssertStackTrace(void)" 
(?GetAssertStackTrace at wxAppTraitsBase@@MAE?AVwxString@@XZ)
1>msgout.obj : error LNK2001: unresolved external symbol "protected: 
virtual class wxString __thiscall 
wxAppTraitsBase::GetAssertStackTrace(void)" 
(?GetAssertStackTrace at wxAppTraitsBase@@MAE?AVwxString@@XZ)
1>rendcmn.obj : error LNK2001: unresolved external symbol "protected: 
virtual class wxString __thiscall 
wxAppTraitsBase::GetAssertStackTrace(void)" 
(?GetAssertStackTrace at wxAppTraitsBase@@MAE?AVwxString@@XZ)
1>utilscmn.obj : error LNK2001: unresolved external symbol "protected: 
virtual class wxString __thiscall 
wxAppTraitsBase::GetAssertStackTrace(void)" 
(?GetAssertStackTrace at wxAppTraitsBase@@MAE?AVwxString@@XZ)
1>..\..\lib\vc_dll\wxmsw28d_core_vc_custom.dll : fatal error LNK1120: 1 
unresolved externals

I've tried to include appbase.cpp (where 
wxAppTraitsBase::GetAssertStackTrace is defined), but I get other 
errors. Does anyone know where is the problem?

Thanks in advance,
Paolo





More information about the wx-users mailing list