[wxWin 2.8.7] Build error

Steven Van Ingelgem steven at vaningelgem.be
Mon Dec 31 17:07:07 PST 2007


Ok, the other errors were probably because I loaded up both the static
as well as the dynamic build and they got somehow screwed up.

Here is where the errors are happening:
Project: qa, Configuration: DLL Unicode Debug Win32 ------
Project: qa, Configuration: DLL Debug Win32 ------

debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: unsigned int __thiscall
wxStackFrameBase::GetLine(void)const "
(__imp_?GetLine at wxStackFrameBase@@QBEIXZ) referenced in function
"protected: virtual void __thiscall XmlStackWalker::OnStackFrame(class
wxStackFrame const &)"
(?OnStackFrame at XmlStackWalker@@MAEXABVwxStackFrame@@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class wxString __thiscall
wxStackFrameBase::GetFileName(void)const "
(__imp_?GetFileName at wxStackFrameBase@@QBE?AVwxString@@XZ) referenced
in function "protected: virtual void __thiscall
XmlStackWalker::OnStackFrame(class wxStackFrame const &)"
(?OnStackFrame at XmlStackWalker@@MAEXABVwxStackFrame@@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: bool __thiscall
wxStackFrameBase::HasSourceLocation(void)const "
(__imp_?HasSourceLocation at wxStackFrameBase@@QBE_NXZ) referenced in
function "protected: virtual void __thiscall
XmlStackWalker::OnStackFrame(class wxStackFrame const &)"
(?OnStackFrame at XmlStackWalker@@MAEXABVwxStackFrame@@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: unsigned int __thiscall
wxStackFrameBase::GetOffset(void)const "
(__imp_?GetOffset at wxStackFrameBase@@QBEIXZ) referenced in function
"protected: virtual void __thiscall XmlStackWalker::OnStackFrame(class
wxStackFrame const &)"
(?OnStackFrame at XmlStackWalker@@MAEXABVwxStackFrame@@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class wxString __thiscall
wxStackFrameBase::GetName(void)const "
(__imp_?GetName at wxStackFrameBase@@QBE?AVwxString@@XZ) referenced in
function "protected: virtual void __thiscall
XmlStackWalker::OnStackFrame(class wxStackFrame const &)"
(?OnStackFrame at XmlStackWalker@@MAEXABVwxStackFrame@@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: unsigned int __thiscall
wxStackFrameBase::GetLevel(void)const "
(__imp_?GetLevel at wxStackFrameBase@@QBEIXZ) referenced in function
"protected: virtual void __thiscall XmlStackWalker::OnStackFrame(class
wxStackFrame const &)"
(?OnStackFrame at XmlStackWalker@@MAEXABVwxStackFrame@@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
wxStackWalker::Walk(unsigned int,unsigned int)"
(__imp_?Walk at wxStackWalker@@UAEXII at Z) referenced in function "public:
virtual bool __thiscall wxDebugReport::AddContext(enum
wxDebugReport::Context)"
(?AddContext at wxDebugReport@@UAE_NW4Context at 1@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
wxStackWalker::WalkFromException(void)"
(__imp_?WalkFromException at wxStackWalker@@UAEXXZ) referenced in
function "public: virtual bool __thiscall
wxDebugReport::AddContext(enum wxDebugReport::Context)"
(?AddContext at wxDebugReport@@UAE_NW4Context at 1@@Z)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
wxStackWalker::wxStackWalker(char const *)"
(__imp_??0wxStackWalker@@QAE at PBD@Z) referenced in function "public:
__thiscall XmlStackWalker::XmlStackWalker(class wxXmlNode *)"
(??0XmlStackWalker@@QAE at PAVwxXmlNode@@@Z)
debugrpt.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall wxStackWalker::Walk(unsigned int,unsigned
int)" (?Walk at wxStackWalker@@UAEXII at Z)
debugrpt.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall wxStackWalker::WalkFromException(void)"
(?WalkFromException at wxStackWalker@@UAEXXZ)
debugrpt.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
wxStackWalker::~wxStackWalker(void)" (__imp_??1wxStackWalker@@UAE at XZ)
referenced in function "public: virtual __thiscall
XmlStackWalker::~XmlStackWalker(void)" (??1XmlStackWalker@@UAE at XZ)
..\..\lib\vc_dll\wxmsw28d_qa_vc_custom.dll : fatal error LNK1120: 12
unresolved externals




Project: core, Configuration: DLL Debug Win32 ------
Project: core, Configuration: DLL Unicode Debug Win32 ------
==> Errors of Bob


What I did:
download the wxMSW sources from the website. Extract them to c:\tmp,
loaded up wx_dll & said yes to all. then build -> batch build, select
all & build...




More information about the wx-users mailing list