Linking Errors using Visual C++ Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
FrankRuppel
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Feb 12, 2007 9:10 pm

Linking Errors using Visual C++

Post by FrankRuppel »

Hi,

i tried the hello world tutorial from this page and got 242 linking errors... can someone help me with this?

Code: Select all

Linking...
test2.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl wxAppConsole::CheckBuildOptions(char const *,char const *)" (?CheckBuildOptions@wxAppConsole@@SA_NPBD0@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::SetActive(bool,class wxWindow *)" (?SetActive@wxAppBase@@UAEX_NPAVwxWindow@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::SendIdleEvents(class wxWindow *,class wxIdleEvent &)" (?SendIdleEvents@wxAppBase@@UAE_NPAVwxWindow@@AAVwxIdleEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::ProcessIdle(void)" (?ProcessIdle@wxAppBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::Dispatch(void)" (?Dispatch@wxAppBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::Pending(void)" (?Pending@wxAppBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::ExitMainLoop(void)" (?ExitMainLoop@wxAppBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::MainLoop(void)" (?MainLoop@wxAppBase@@UAEHXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxAppTraits * __thiscall wxAppBase::CreateTraits(void)" (?CreateTraits@wxAppBase@@MAEPAVwxAppTraits@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::OnAssert(char const *,int,char const *,char const *)" (?OnAssert@wxAppConsole@@UAEXPBDH00@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::WakeUpIdle(void)" (?WakeUpIdle@wxApp@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Yield(bool)" (?Yield@wxApp@@UAE_N_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::ProcessPendingEvents(void)" (?ProcessPendingEvents@wxAppConsole@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::HandleEvent(class wxEvtHandler *,void (__thiscall wxEvtHandler::*)(class wxEvent &),class wxEvent &)const " (?HandleEvent@wxAppConsole@@UBEXPAVwxEvt
Handler@@P82@AEXAAVwxEvent@@@Z1@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppConsole::FilterEvent(class wxEvent &)" (?FilterEvent@wxAppConsole@@UAEHAAVwxEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxMessageOutput * __thiscall wxAppConsole::CreateMessageOutput(void)" (?CreateMessageOutput@wxAppConsole@@UAEPAVwxMessageOutput@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxLog * __thiscall wxAppConsole::CreateLogTarget(void)" (?CreateLogTarget@wxAppConsole@@UAEPAVwxLog@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppConsole::OnCmdLineError(class wxCmdLineParser &)" (?OnCmdLineError@wxAppConsole@@UAE_NAAVwxCmdLineParser@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppConsole::OnCmdLineHelp(class wxCmdLineParser &)" (?OnCmdLineHelp@wxAppConsole@@UAE_NAAVwxCmdLineParser@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnCmdLineParsed(class wxCmdLineParser &)" (?OnCmdLineParsed@wxAppBase@@UAE_NAAVwxCmdLineParser@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::OnInitCmdLine(class wxCmdLineParser &)" (?OnInitCmdLine@wxAppBase@@UAEXAAVwxCmdLineParser@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::Exit(void)" (?Exit@wxAppBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::OnExceptionInMainLoop(void)" (?OnExceptionInMainLoop@wxApp@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::CleanUp(void)" (?CleanUp@wxApp@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::OnExit(void)" (?OnExit@wxAppBase@@UAEHXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::OnRun(void)" (?OnRun@wxAppBase@@UAEHXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnInitGui(void)" (?OnInitGui@wxAppBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Initialize(int &,char * *)" (?Initialize@wxApp@@UAE_NAAHPAPAD@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void * __thiscall wxEvtHandler::DoGetClientData(void)const " (?DoGetClientData@wxEvtHandler@@MBEPAXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxEvtHandler::DoSetClientData(void *)" (?DoSetClientData@wxEvtHandler@@MAEXPAX@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxClientData * __thiscall wxEvtHandler::DoGetClientObject(void)const " (?DoGetClientObject@wxEvtHandler@@MBEPAVwxClientData@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxEvtHandler::DoSetClientObject(class wxClientData *)" (?DoSetClientObject@wxEvtHandler@@MAEXPAVwxClientData@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxEventHashTable & __thiscall wxApp::GetEventHashTable(void)const " (?GetEventHashTable@wxApp@@MBEAAVwxEventHashTable@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual struct wxEventTable const * __thiscall wxApp::GetEventTable(void)const " (?GetEventTable@wxApp@@MBEPBUwxEventTable@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxEvtHandler::TryParent(class wxEvent &)" (?TryParent@wxEvtHandler@@MAE_NAAVwxEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxEvtHandler::SearchEventTable(struct wxEventTable &,class wxEvent &)" (?SearchEventTable@wxEvtHandler@@UAE_NAAUwxEventTable@@AAVwxEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxEvtHandler::ProcessEvent(class wxEvent &)" (?ProcessEvent@wxEvtHandler@@UAE_NAAVwxEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxObjectRefData * __thiscall wxObject::CloneRefData(class wxObjectRefData const *)const " (?CloneRefData@wxObject@@MBEPAVwxObjectRefData@@PBV2@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxObjectRefData * __thiscall wxObject::CreateRefData(void)const " (?CreateRefData@wxObject@@MBEPAVwxObjectRefData@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxApp::GetClassInfo(void)const " (?GetClassInfo@wxApp@@UBEPAVwxClassInfo@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: __thiscall wxApp::wxApp(void)" (??0wxApp@@QAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxApp::~wxApp(void)" (??1wxApp@@UAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "int __cdecl wxEntry(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int)" (?wxEntry@@YAHPAUHINSTANCE__@@0PADH@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void * __thiscall wxFrame::GetDefaultIcon(void)const " (?GetDefaultIcon@wxFrame@@MBEPAXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::InternalSetMenuBar(void)" (?InternalSetMenuBar@wxFrame@@MAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::PositionToolBar(void)" (?PositionToolBar@wxFrame@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::PositionStatusBar(void)" (?PositionStatusBar@wxFrame@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::AttachMenuBar(class wxMenuBar *)" (?AttachMenuBar@wxFrame@@MAEXPAVwxMenuBar@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrameBase::DetachMenuBar(void)" (?DetachMenuBar@wxFrameBase@@MAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::DoGiveHelp(class wxString const &,bool)" (?DoGiveHelp@wxFrameBase@@UAEXABVwxString@@_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::DoMenuUpdates(class wxMenu *)" (?DoMenuUpdates@wxFrameBase@@UAEXPAVwxMenu@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetToolBar(class wxToolBar *)" (?SetToolBar@wxFrameBase@@UAEXPAVwxToolBar@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxToolBar * __thiscall wxFrameBase::OnCreateToolBar(long,int,class wxString const &)" (?OnCreateToolBar@wxFrameBase@@UAEPAVwxToolBar@@JHABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxToolBar * __thiscall wxFrame::CreateToolBar(long,int,class wxString const &)" (?CreateToolBar@wxFrame@@UAEPAVwxToolBar@@JHABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusWidths(int,int const * const)" (?SetStatusWidths@wxFrameBase@@UAEXHQBH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusBar(class wxStatusBar *)" (?SetStatusBar@wxFrameBase@@UAEXPAVwxStatusBar@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxStatusBar * __thiscall wxFrame::OnCreateStatusBar(int,long,int,class wxString const &)" (?OnCreateStatusBar@wxFrame@@UAEPAVwxStatusBar@@HJHABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetMenuBar(class wxMenuBar *)" (?SetMenuBar@wxFrameBase@@UAEXPAVwxMenuBar@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::SendSizeEvent(void)" (?SendSizeEvent@wxFrame@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxFrameBase::IsOneOfBars(class wxWindow const *)const " (?IsOneOfBars@wxFrameBase@@MBE_NPBVwxWindow@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::GetRectForTopLevelChildren(int *,int *,int *,int *)" (?GetRectForTopLevelChildren@wxTopLevelWindowBase@@UAEXPAH000@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::RequestUserAttention(int)" (?RequestUserAttention@wxTopLevelWindowMSW@@UAEXH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::SetShape(class wxRegion const &)" (?SetShape@wxTopLevelWindowMSW@@UAE_NABVwxRegion@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxFrame::ShowFullScreen(bool,long)" (?ShowFullScreen@wxFrame@@UAE_N_NJ@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetIcons(class wxIconBundle const &)" (?SetIcons@wxTopLevelWindowMSW@@UAEXABVwxIconBundle@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetIcon(class wxIcon const &)" (?SetIcon@wxTopLevelWindowMSW@@UAEXABVwxIcon@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::IsIconized(void)const " (?IsIconized@wxTopLevelWindowMSW@@UBE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::IsMaximized(void)const " (?IsMaximized@wxTopLevelWindowMSW@@UBE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Iconize(bool)" (?Iconize@wxTopLevelWindowMSW@@UAEX_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Restore(void)" (?Restore@wxTopLevelWindowMSW@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Maximize(bool)" (?Maximize@wxTopLevelWindowMSW@@UAEX_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall wxWindow::MSWGetBgBrushForChild(void *,void *)" (?MSWGetBgBrushForChild@wxWindow@@UAEPAXPAX0@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::MSWDestroyWindow(void)" (?MSWDestroyWindow@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxFrame::MSWTranslateMessage(struct tagMSG *)" (?MSWTranslateMessage@wxFrame@@MAE_NPAUtagMSG@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWProcessMessage(struct tagMSG *)" (?MSWProcessMessage@wxWindow@@UAE_NPAUtagMSG@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWShouldPreProcessMessage(struct tagMSG *)" (?MSWShouldPreProcessMessage@wxWindow@@UAE_NPAUtagMSG@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall wxWindow::MSWDefWindowProc(unsigned int,unsigned int,long)" (?MSWDefWindowProc@wxWindow@@UAEJIIJ@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall wxFrame::MSWWindowProc(unsigned int,unsigned int,long)" (?MSWWindowProc@wxFrame@@MAEJIIJ@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnMeasureItem(int,void * *)" (?MSWOnMeasureItem@wxWindow@@UAE_NHPAPAX@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnDrawItem(int,void * *)" (?MSWOnDrawItem@wxWindow@@UAE_NHPAPAX@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnNotify(int,long,long *)" (?MSWOnNotify@wxWindow@@UAE_NHJPAJ@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnScroll(int,unsigned short,unsigned short,void *)" (?MSWOnScroll@wxWindow@@UAE_NHGGPAX@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetupColours(void)" (?SetupColours@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::AdoptAttributesFromHWND(void)" (?AdoptAttributesFromHWND@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxWindow * __thiscall wxWindow::CreateWindowFromHWND(class wxWindow *,void *)" (?CreateWindowFromHWND@wxWindow@@UAEPAV1@PAV1@PAX@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWCommand(unsigned int,unsigned short)" (?MSWCommand@wxWindow@@UAE_NIG@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void * __thiscall wxTopLevelWindowMSW::MSWGetParent(void)const " (?MSWGetParent@wxTopLevelWindowMSW@@MBEPAXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual unsigned long __thiscall wxTopLevelWindowMSW::MSWGetStyle(long,unsigned long *)const " (?MSWGetStyle@wxTopLevelWindowMSW@@MBEKJPAK@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::LoadNativeDialog(class wxWindow *,int &)" (?LoadNativeDialog@wxWindow@@UAE_NPAV1@AAH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::LoadNativeDialog(class wxWindow *,class wxString const &)" (?LoadNativeDialog@wxWindow@@UAE_NPAV1@ABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::DragAcceptFiles(bool)" (?DragAcceptFiles@wxWindow@@UAEX_N@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindowBase::DoSetWindowVariant(enum wxWindowVariant)" (?DoSetWindowVariant@wxWindowBase@@MAEXW4wxWindowVariant@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindowBase::AdjustForParentClientOrigin(int &,int &,int)const " (?AdjustForParentClientOrigin@wxWindowBase@@MBEXAAH0H@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::DoPopupMenu(class wxMenu *,int,int)" (?DoPopupMenu@wxWindow@@UAE_NPAVwxMenu@@HH@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoSetToolTip(class wxToolTip *)" (?DoSetToolTip@wxWindow@@MAEXPAVwxToolTip@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoMoveWindow(int,int,int,int)" (?DoMoveWindow@wxWindow@@MAEXHHHH@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::DoSetClientSize(int,int)" (?DoSetClientSize@wxFrame@@MAEXHH@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoSetSize(int,int,int,int,int)" (?DoSetSize@wxWindow@@MAEXHHHHH@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxSize __thiscall wxWindowBase::DoGetBestSize(void)const " (?DoGetBestSize@wxWindowBase@@MBE?AVwxSize@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::DoGetClientSize(int *,int *)const " (?DoGetClientSize@wxFrame@@MBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoGetSize(int *,int *)const " (?DoGetSize@wxWindow@@MBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoGetPosition(int *,int *)const " (?DoGetPosition@wxWindow@@MBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoReleaseMouse(void)" (?DoReleaseMouse@wxWindow@@MAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoCaptureMouse(void)" (?DoCaptureMouse@wxWindow@@MAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual enum wxHitTest __thiscall wxWindowBase::DoHitTest(int,int)const " (?DoHitTest@wxWindowBase@@MBE?AW4wxHitTest@@HH@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxTopLevelWindowBase::DoScreenToClient(int *,int *)const " (?DoScreenToClient@wxTopLevelWindowBase@@MBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxTopLevelWindowBase::DoClientToScreen(int *,int *)const " (?DoClientToScreen@wxTopLevelWindowBase@@MBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual enum wxBorder __thiscall wxWindowBase::GetDefaultBorder(void)const " (?GetDefaultBorder@wxWindowBase@@MBE?AW4wxBorder@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindowBase::DoMoveInTabOrder(class wxWindow *,enum wxWindowBase::MoveKind)" (?DoMoveInTabOrder@wxWindowBase@@MAEXPAVwxWindow@@W4MoveKind@1@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::InheritAttributes(void)" (?InheritAttributes@wxWindowBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::DissociateHandle(void)" (?DissociateHandle@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::AssociateHandle(void *)" (?AssociateHandle@wxWindow@@UAEXPAX@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::OnInternalIdle(void)" (?OnInternalIdle@wxFrameBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Layout(void)" (?Layout@wxWindowBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetPositionConstraint(int *,int *)const " (?GetPositionConstraint@wxWindowBase@@UBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetClientSizeConstraint(int *,int *)const " (?GetClientSizeConstraint@wxWindowBase@@UBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetSizeConstraint(int *,int *)const " (?GetSizeConstraint@wxWindowBase@@UBEXPAH0@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::MoveConstraint(int,int)" (?MoveConstraint@wxWindowBase@@UAEXHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetSizeConstraint(int,int,int,int)" (?SetSizeConstraint@wxWindowBase@@UAEXHHHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::DoPhase(int)" (?DoPhase@wxWindowBase@@UAE_NH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::LayoutPhase2(int *)" (?LayoutPhase2@wxWindowBase@@UAE_NPAH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::LayoutPhase1(int *)" (?LayoutPhase1@wxWindowBase@@UAE_NPAH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetConstraintSizes(bool)" (?SetConstraintSizes@wxWindowBase@@UAEX_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetDropTarget(class wxDropTarget *)" (?SetDropTarget@wxWindow@@UAEXPAVwxDropTarget@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::ScrollPages(int)" (?ScrollPages@wxWindow@@UAE_NH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::ScrollLines(int)" (?ScrollLines@wxWindow@@UAE_NH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::ScrollWindow(int,int,class wxRect const *)" (?ScrollWindow@wxWindow@@UAEXHHPBVwxRect@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollRange(int)const " (?GetScrollRange@wxWindow@@UBEHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollThumb(int)const " (?GetScrollThumb@wxWindow@@UBEHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollPos(int)const " (?GetScrollPos@wxWindow@@UBEHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetScrollPos(int,int,bool)" (?SetScrollPos@wxWindow@@UAEXHH_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetScrollbar(int,int,int,int,bool)" (?SetScrollbar@wxWindow@@UAEXHHHH_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::DoUpdateWindowUI(class wxUpdateUIEvent &)" (?DoUpdateWindowUI@wxTopLevelWindowBase@@UAEXAAVwxUpdateUIEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::UpdateWindowUI(long)" (?UpdateWindowUI@wxFrameBase@@UAEXJ@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::GetTextExtent(class wxString const &,int *,int *,int *,int *,class wxFont const *)const " (?GetTextExtent@wxWindow@@UBEXABVwxString@@PAH111PBVwxFont@@@Z
)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetCharWidth(void)const " (?GetCharWidth@wxWindow@@UBEHXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetCharHeight(void)const " (?GetCharHeight@wxWindow@@UBEHXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::SetCursor(class wxCursor const &)" (?SetCursor@wxWindow@@UAE_NABVwxCursor@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::SetFont(class wxFont const &)" (?SetFont@wxWindow@@UAE_NABVwxFont@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::SetForegroundColour(class wxColour const &)" (?SetForegroundColour@wxWindowBase@@UAE_NABVwxColour@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::SetBackgroundColour(class wxColour const &)" (?SetBackgroundColour@wxWindowBase@@UAE_NABVwxColour@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Thaw(void)" (?Thaw@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Freeze(void)" (?Freeze@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::ClearBackground(void)" (?ClearBackground@wxWindowBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Update(void)" (?Update@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Refresh(bool,class wxRect const *)" (?Refresh@wxWindow@@UAEX_NPBVwxRect@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::WarpPointer(int,int)" (?WarpPointer@wxWindow@@UAEXHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::UnregisterHotKey(int)" (?UnregisterHotKey@wxWindow@@UAE_NH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::RegisterHotKey(int,int,int)" (?RegisterHotKey@wxWindow@@UAE_NHHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::InitDialog(void)" (?InitDialog@wxWindowBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::TransferDataFromWindow(void)" (?TransferDataFromWindow@wxWindowBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::TransferDataToWindow(void)" (?TransferDataToWindow@wxWindowBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Validate(void)" (?Validate@wxWindowBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetValidator(class wxValidator const &)" (?SetValidator@wxWindowBase@@UAEXABVwxValidator@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::RemoveChild(class wxWindowBase *)" (?RemoveChild@wxWindowBase@@UAEXPAV1@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::AddChild(class wxWindowBase *)" (?AddChild@wxWindowBase@@UAEXPAV1@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::Reparent(class wxWindowBase *)" (?Reparent@wxWindow@@UAE_NPAVwxWindowBase@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Navigate(int)" (?Navigate@wxWindowBase@@UAE_NH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetFocusFromKbd(void)" (?SetFocusFromKbd@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetFocus(void)" (?SetFocus@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::MakeModal(bool)" (?MakeModal@wxWindowBase@@UAEX_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetWindowStyleFlag(long)" (?SetWindowStyleFlag@wxWindow@@UAEXJ@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::Enable(bool)" (?Enable@wxWindow@@UAE_N_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::Show(bool)" (?Show@wxTopLevelWindowMSW@@UAE_N_N@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxSize __thiscall wxWindowBase::DoGetVirtualSize(void)const " (?DoGetVirtualSize@wxWindowBase@@UBE?AVwxSize@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::DoSetVirtualSize(int,int)" (?DoSetVirtualSize@wxWindowBase@@UAEXHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxSize __thiscall wxTopLevelWindowBase::GetMaxSize(void)const " (?GetMaxSize@wxTopLevelWindowBase@@UBE?AVwxSize@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetVirtualSizeHints(int,int,int,int)" (?SetVirtualSizeHints@wxWindowBase@@UAEXHHHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::DoSetSizeHints(int,int,int,int,int,int)" (?DoSetSizeHints@wxWindowBase@@UAEXHHHHHH@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::FitInside(void)" (?FitInside@wxWindowBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::Fit(void)" (?Fit@wxWindowBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxPoint __thiscall wxFrame::GetClientAreaOrigin(void)const " (?GetClientAreaOrigin@wxFrame@@UBE?AVwxPoint@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Lower(void)" (?Lower@wxWindow@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::Raise(void)" (?Raise@wxFrame@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxString __thiscall wxWindow::GetTitle(void)const " (?GetTitle@wxWindow@@UBE?AVwxString@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetTitle(class wxString const &)" (?SetTitle@wxWindow@@UAEXABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowBase::Destroy(void)" (?Destroy@wxTopLevelWindowBase@@UAE_NXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxEventHashTable & __thiscall wxFrame::GetEventHashTable(void)const " (?GetEventHashTable@wxFrame@@MBEAAVwxEventHashTable@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual struct wxEventTable const * __thiscall wxFrame::GetEventTable(void)const " (?GetEventTable@wxFrame@@MBEPBUwxEventTable@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxWindowBase::TryParent(class wxEvent &)" (?TryParent@wxWindowBase@@MAE_NAAVwxEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxWindowBase::TryValidator(class wxEvent &)" (?TryValidator@wxWindowBase@@MAE_NAAVwxEvent@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxFrame::GetClassInfo(void)const " (?GetClassInfo@wxFrame@@UBEPAVwxClassInfo@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxFrame::~wxFrame(void)" (??1wxFrame@@UAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusText(class wxString const &,int)" (?SetStatusText@wxFrameBase@@UAEXABVwxString@@H@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxStatusBar * __thiscall wxFrameBase::CreateStatusBar(int,long,int,class wxString const &)" (?CreateStatusBar@wxFrameBase@@UAEPAVwxStatusBar@@HJHABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "char const * const wxStatusLineNameStr" (?wxStatusLineNameStr@@3PBDB)
test2.obj : error LNK2001: unresolved external symbol "char const * const wxFrameNameStr" (?wxFrameNameStr@@3PBDB)
test2.obj : error LNK2001: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(char const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPBDII@Z)
test2.obj : error LNK2001: unresolved external symbol "public: static unsigned int const wxStringBase::npos" (?npos@wxStringBase@@2IB)
test2.obj : error LNK2001: unresolved external symbol "public: class wxStringBase & __thiscall wxStringBase::operator=(class wxStringBase const &)" (??4wxStringBase@@QAEAAV0@ABV0@@Z)
test2.obj : error LNK2001: unresolved external symbol "void __cdecl wxAssert(int,char const *,int,char const *,char const *)" (?wxAssert@@YAXHPBDH00@Z)
test2.obj : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB)
test2.obj : error LNK2001: unresolved external symbol "public: void __thiscall wxObject::Ref(class wxObject const &)" (?Ref@wxObject@@QAEXABV1@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: bool __thiscall wxAcceleratorTable::operator==(class wxAcceleratorTable const &)const " (??8wxAcceleratorTable@@QBE_NABV0@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: static class wxWindow * __cdecl wxWindowBase::GetCapture(void)" (?GetCapture@wxWindowBase@@SAPAVwxWindow@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: static struct wxVisualAttributes __cdecl wxWindowBase::GetClassDefaultAttributes(enum wxWindowVariant)" (?GetClassDefaultAttributes@wxWindowBase@@SA?AUwxVisualAttributes@@W4wxWindowVaria
nt@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: static class wxAppConsole * wxAppConsole::ms_appInstance" (?ms_appInstance@wxAppConsole@@1PAV1@A)
test2.obj : error LNK2001: unresolved external symbol "class wxWindowList wxTopLevelWindows" (?wxTopLevelWindows@@3VwxWindowList@@A)
test2.obj : error LNK2001: unresolved external symbol "protected: static class wxAppConsole * (__cdecl* wxAppConsole::ms_appInitFn)(void)" (?ms_appInitFn@wxAppConsole@@1P6APAV1@XZA)
test2.obj : error LNK2001: unresolved external symbol "class wxWindow * __cdecl wxGetTopLevelParent(class wxWindow *)" (?wxGetTopLevelParent@@YAPAVwxWindow@@PAV1@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: static class wxWindow * __cdecl wxWindowBase::FindFocus(void)" (?FindFocus@wxWindowBase@@SAPAVwxWindow@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxFrameBase::~wxFrameBase(void)" (??1wxFrameBase@@UAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: bool __thiscall wxFrame::Create(class wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize const &,long,class wxString const &)" (?Create@wxFrame@@QAE_NPAVwxWindow@@H
ABVwxString@@ABVwxPoint@@ABVwxSize@@J1@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: void __thiscall wxFrame::Init(void)" (?Init@wxFrame@@IAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: __thiscall wxFrameBase::wxFrameBase(void)" (??0wxFrameBase@@QAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxMenuBase::DoDestroy(class wxMenuItem *)" (?DoDestroy@wxMenuBase@@MAE_NPAVwxMenuItem@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxMenuBase::DoDelete(class wxMenuItem *)" (?DoDelete@wxMenuBase@@MAE_NPAVwxMenuItem@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxMenuItem * __thiscall wxMenu::DoRemove(class wxMenuItem *)" (?DoRemove@wxMenu@@UAEPAVwxMenuItem@@PAV2@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxMenuItem * __thiscall wxMenu::DoInsert(unsigned int,class wxMenuItem *)" (?DoInsert@wxMenu@@UAEPAVwxMenuItem@@IPAV2@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxMenuItem * __thiscall wxMenu::DoAppend(class wxMenuItem *)" (?DoAppend@wxMenu@@UAEPAVwxMenuItem@@PAV2@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxMenuBase::Detach(void)" (?Detach@wxMenuBase@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxMenu::Attach(class wxMenuBarBase *)" (?Attach@wxMenu@@UAEXPAVwxMenuBarBase@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxMenu::SetTitle(class wxString const &)" (?SetTitle@wxMenu@@UAEXABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxString __thiscall wxMenuBase::GetHelpString(int)const " (?GetHelpString@wxMenuBase@@UBE?AVwxString@@H@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxMenuBase::SetHelpString(int,class wxString const &)" (?SetHelpString@wxMenuBase@@UAEXHABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxMenuBase::FindItem(class wxString const &)const " (?FindItem@wxMenuBase@@UBEHABVwxString@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxMenu::Break(void)" (?Break@wxMenu@@UAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxEventHashTable & __thiscall wxEvtHandler::GetEventHashTable(void)const " (?GetEventHashTable@wxEvtHandler@@MBEAAVwxEventHashTable@@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual struct wxEventTable const * __thiscall wxEvtHandler::GetEventTable(void)const " (?GetEventTable@wxEvtHandler@@MBEPBUwxEventTable@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxMenu::GetClassInfo(void)const " (?GetClassInfo@wxMenu@@UBEPAVwxClassInfo@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxMenuBase::~wxMenuBase(void)" (??1wxMenuBase@@UAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "private: void __thiscall wxMenu::Init(void)" (?Init@wxMenu@@AAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxMenuItem * __thiscall wxMenuBase::DoRemove(class wxMenuItem *)" (?DoRemove@wxMenuBase@@MAEPAVwxMenuItem@@PAV2@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxMenuItem * __thiscall wxMenuBase::DoInsert(unsigned int,class wxMenuItem *)" (?DoInsert@wxMenuBase@@MAEPAVwxMenuItem@@IPAV2@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual class wxMenuItem * __thiscall wxMenuBase::DoAppend(class wxMenuItem *)" (?DoAppend@wxMenuBase@@MAEPAVwxMenuItem@@PAV2@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxMenuBase::Attach(class wxMenuBarBase *)" (?Attach@wxMenuBase@@UAEXPAVwxMenuBarBase@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxEvtHandler::GetClassInfo(void)const " (?GetClassInfo@wxEvtHandler@@UBEPAVwxClassInfo@@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxEvtHandler::~wxEvtHandler(void)" (??1wxEvtHandler@@UAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: void __thiscall wxMenuBase::Init(long)" (?Init@wxMenuBase@@IAEXJ@Z)
test2.obj : error LNK2001: unresolved external symbol "public: __thiscall wxEvtHandler::wxEvtHandler(void)" (??0wxEvtHandler@@QAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxObject::GetClassInfo(void)const " (?GetClassInfo@wxObject@@UBEPAVwxClassInfo@@XZ)
test2.obj : error LNK2001: unresolved external symbol "private: void __thiscall wxListBase::Init(enum wxKeyType)" (?Init@wxListBase@@AAEXW4wxKeyType@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: void __thiscall wxObject::UnRef(void)" (?UnRef@wxObject@@QAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxListBase::~wxListBase(void)" (??1wxListBase@@UAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "protected: class wxNodeBase * __thiscall wxListBase::Find(class wxListKey const &)const " (?Find@wxListBase@@IBEPAVwxNodeBase@@ABVwxListKey@@@Z)
test2.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxwxMenuItemListNode::DeleteData(void)" (?DeleteData@wxwxMenuItemListNode@@MAEXXZ)
test2.obj : error LNK2001: unresolved external symbol "public: __thiscall wxNodeBase::wxNodeBase(class wxListBase *,class wxNodeBase *,class wxNodeBase *,void *,class wxListKey const &)" (??0wxNodeBase@@QAE@PAVwxListBase@@PAV0@1PAXABVwxListKey@@@Z)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxNodeBase::~wxNodeBase(void)" (??1wxNodeBase@@UAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: __thiscall wxBaseArrayPtrVoid::wxBaseArrayPtrVoid(void)" (??0wxBaseArrayPtrVoid@@QAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: __thiscall wxBaseArrayPtrVoid::~wxBaseArrayPtrVoid(void)" (??1wxBaseArrayPtrVoid@@QAE@XZ)
test2.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall wxMenu::~wxMenu(void)" (??1wxMenu@@UAE@XZ)
Debug/test2.exe : fatal error LNK1120: 241 unresolved externals
Error executing link.exe.

and here ist the code of the programm:

Code: Select all

#include "wx/wx.h"

class MyApp : public wxApp {
	virtual bool OnInit();
};


class MyFrame : public wxFrame {

public:
	MyFrame(const wxString &title, const wxPoint &pos, const wxSize &size);
};


IMPLEMENT_APP(MyApp)

bool MyApp::OnInit(){
	MyFrame *frame = new MyFrame("Hello World", wxPoint(50,50), wxSize(450,340));
	frame->Show(TRUE);
	SetTopWindow(frame);
	return TRUE;
}

MyFrame::MyFrame(const wxString &title, const wxPoint &pos, const wxSize &size): wxFrame((wxFrame *)NULL, -1, title, pos, size){
	wxMenu *menuFile = new wxMenu;
	CreateStatusBar();
	SetStatusText( "Welcome to wxWidgets!" );

}

Greetings Frank
toxicBunny
Super wx Problem Solver
Super wx Problem Solver
Posts: 424
Joined: Tue Jul 12, 2005 8:44 pm
Location: Alabama, USA

Post by toxicBunny »

It looks as though you haven't included the wxWidgets libraries. What compiler, operating system, and version of wxWidgets are you using? Have you downloaded the wxWidgets source and built the libraries? Have you added the necessary libraries to your project or specified them on the command line?

-Scott
wxMSW 2.6.2, VS 2002, 2003 and 2005, Code::Blocks and mingw, Windows XP Pro
FrankRuppel
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Feb 12, 2007 9:10 pm

Post by FrankRuppel »

Hi ok, i could reduce the errors to 167...

i linked the library files: wxmsw26d_core.lib wxbase26d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib

as it is explained in http://www.wxwidgets.org/wiki/index.php ... r_VCpp_6.0

but there are still "unresolved external symbol" errors... and "already defined" errors which came from the LIBCD.lib...

(i use winxp, visual c++ 6.0, wxwidgets 2.6.3)


Code: Select all

[size=9]
Linking...
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _exit already defined in LIBCD.lib(crt0dat.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _wcslen already defined in LIBCD.lib(wcslen.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isalpha already defined in LIBCD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isdigit already defined in LIBCD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _toupper already defined in LIBCD.lib(toupper.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isspace already defined in LIBCD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __vsnprintf already defined in LIBCD.lib(vsnprint.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strstr already defined in LIBCD.lib(strstr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strchr already defined in LIBCD.lib(strchr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _isalnum already defined in LIBCD.lib(_ctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncpy already defined in LIBCD.lib(strncpy.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _getenv already defined in LIBCD.lib(getenv.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _time already defined in LIBCD.lib(time.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _abort already defined in LIBCD.lib(abort.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncat already defined in LIBCD.lib(strncat.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __snprintf already defined in LIBCD.lib(snprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strftime already defined in LIBCD.lib(strftime.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _localtime already defined in LIBCD.lib(localtim.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fflush already defined in LIBCD.lib(fflush.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sprintf already defined in LIBCD.lib(sprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _atoi already defined in LIBCD.lib(atox.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __stricmp already defined in LIBCD.lib(stricmp.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _calloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __close already defined in LIBCD.lib(close.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __read already defined in LIBCD.lib(read.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __write already defined in LIBCD.lib(write.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __commit already defined in LIBCD.lib(commit.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sscanf already defined in LIBCD.lib(sscanf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fclose already defined in LIBCD.lib(fclose.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __get_osfhandle already defined in LIBCD.lib(osfinfo.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fprintf already defined in LIBCD.lib(fprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _gmtime already defined in LIBCD.lib(gmtime.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __CrtSetDbgFlag already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _mbstowcs already defined in LIBCD.lib(mbstowcs.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _wcstombs already defined in LIBCD.lib(wcstombs.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __strdup already defined in LIBCMTD.lib(strdup.obj)
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
wxmsw26d_core.lib(dcprint.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(quantize.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(clipcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(timer.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(timercmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(popupwin.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(scrlwing.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(printwin.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(printdlg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dataobj.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(enhmeta.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(popupcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(bookctrl.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(nbkbase.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(valtext.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(imagbmp.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(artstd.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(filedlg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(prntbase.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(paper.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(xpmdecod.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(lboxcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(clipbrd.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(tipwin.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dobjcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dcscreen.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(panelg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(ownerdrw.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(stockitem.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(image.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(uxtheme.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(oleutils.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(notebook.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(msgdlg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(textdlgg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(colordlg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(choicdgg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(fontutil.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(cmndata.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(fontdlg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(settcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(statline.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(fldlgcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dialog.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(listctrl.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dlgcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(artprov.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(sizer.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(cshelp.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(layout.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dib.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(choice.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(combobox.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(choiccmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(ctrlsub.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(statbox.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(radiobut.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(textcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(slider95.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(checkbox.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(scrolbar.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(stattext.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(statbmp.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(listbox.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(spinbutt.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(bmpbuttn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(brush.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(bitmap.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dcmemory.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(spinctrl.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dcbase.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(textctrl.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(cursor.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(menuitem.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(palette.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(font.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(fontcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(button.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dcclient.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(containr.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(gdiobj.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(droptgt.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(tooltip.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(control.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(ctrlcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(icon.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(region.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(iconbndl.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(statbr95.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(tbar95.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(tbarbase.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(statusbr.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(statbar.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(pen.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(mdi.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(utilsgui.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(dc.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(colour.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(settings.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(fontmap.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(gsockmsw.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(msgout.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(utilscmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(validate.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(evtloop.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(event.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(logg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(menucmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(menu.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(gdiimage.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(gdicmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(nativdlg.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(wincmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(datacmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(accel.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(framecmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(toplvcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(toplevel.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(window.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(appcmn.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(app.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(main.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
wxmsw26d_core.lib(frame.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ)
Debug/test2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.[/size]
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

Hi, could you provide more information? What is your system, your compiler, your wxWidgets version, your compiler, etc.

It seems like you're not linking properly - if you could provide the command-line arguments sent to the linker that could be of great help
biplab
I live to help wx-kind
I live to help wx-kind
Posts: 194
Joined: Fri Feb 17, 2006 4:16 am
Location: Singapore
Contact:

Post by biplab »

This is probably a mismatch between the way you compiled ur wx lib and the way u r linking it.

By default wx gets compiled with Dynamic CRT. So check whether u r using /MD[d] option to compile ur app. If not use it.

Also add /NODEFAULTLIB:libc[d].lib and /NODEFAULTLIB:libcmt[d].lib to linker. That should solve the library conflict u r facing.

If it doesn't solve ur prob then please post full details of project, wx lib, os, etc.

Regards,

Biplab
Blog: http://biplab.in

IDE: Code::Blocks
Compilers: GCC, MSVC, etc. ;)
OS: WinXP-SP2 & Linux.
FrankRuppel
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Feb 12, 2007 9:10 pm

Post by FrankRuppel »

Hi and thanks for your support...

i have now installed the new version of wxwidgets (2.8 ) and i followed your instructions... without any success :( (i still get unresolved external symbol errors)

first i compiled the wx lib (without errors)
than i set the path in windows
i set the directories in vc++ for the include files and the lib files correct as it is explained in many tutorials
for the debug version i linked under project settings the following libs: wxmsw28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib
i tried to build the debug version with different runtime libraries: Debug Multithreaded and Debug Multithreaded DLL... if i use the first one (Debug Multithreaded DLL) i got no "already defined errors" as i got if i use Debug Multithreaded

i got the following errors:

Code: Select all

Linking...
wxmsw28d_core.lib(app.obj) : error LNK2001: unresolved external symbol __imp__InitCommonControls@0
wxmsw28d_core.lib(statbr95.obj) : error LNK2001: unresolved external symbol __imp__CreateStatusWindowA@16
wxmsw28d_core.lib(spinbutt.obj) : error LNK2001: unresolved external symbol __imp__CreateUpDownControl@48
wxmsw28d_core.lib(listctrl.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIconSize@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIconSize@12
wxmsw28d_core.lib(listctrl.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Draw@24
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Draw@24
wxmsw28d_core.lib(listctrl.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetImageCount@4
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetImageCount@4
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Create@20
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Create@20
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Destroy@4
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Destroy@4
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Add@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Add@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_AddMasked@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_ReplaceIcon@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_ReplaceIcon@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Replace@16
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Remove@8
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_SetBkColor@8
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIcon@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_SetDragCursorImage@16
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_BeginDrag@16
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_EndDrag@0
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_DragMove@8
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_DragEnter@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_DragLeave@4
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidToStringA@8
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__RpcStringFreeA@4
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidCreate@4
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidFromStringA@8
Debug/test3.exe : fatal error LNK1120: 25 unresolved externals
Error executing link.exe.
i dont get it.. what is wrong?

my system: windowsxp prof, using VC++ 6.0 IDE, wxwidgets 2.8
biplab
I live to help wx-kind
I live to help wx-kind
Posts: 194
Joined: Fri Feb 17, 2006 4:16 am
Location: Singapore
Contact:

Post by biplab »

Add the following libraries, too.

Code: Select all

kernel32.lib
user32.lib
gdi32.lib
comctl32.lib
rpcrt4.lib
wsock32.lib
oleacc.lib
winspool.lib
comdlg32.lib
advapi32.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
They are necessary, at least the Top 5. Just add them all and the problems should be solved. :)
Blog: http://biplab.in

IDE: Code::Blocks
Compilers: GCC, MSVC, etc. ;)
OS: WinXP-SP2 & Linux.
FrankRuppel
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Feb 12, 2007 9:10 pm

Post by FrankRuppel »

Yes, you are right!!! Now i can start to programm. Many thanks :)
biplab
I live to help wx-kind
I live to help wx-kind
Posts: 194
Joined: Fri Feb 17, 2006 4:16 am
Location: Singapore
Contact:

Post by biplab »

Nice to hear that.

If you're satisfied then Close this thread by accepting my answer (So that I get some credits ;)) and also to help others who are facing simialr problems.
Blog: http://biplab.in

IDE: Code::Blocks
Compilers: GCC, MSVC, etc. ;)
OS: WinXP-SP2 & Linux.
Post Reply