Sign in to follow this  
Ntvu

wxWidgets Won't Work

Recommended Posts

I just set up wxWidgets for Visual Studio 2005. I created a folder for wxwidgets in the include directory, then copied all of the header files there. Then I created a folder called wxwidgets in the lib directory. Then I went to C:\wxwidgets\build\msw\wx.dsw, compiled all of the projects there in Release version. The output was stored in a created folder called vc_msw where all of the object and library files were. I copied all the generated files to C:\Program Files\MSVisualStudio8\lib\wxwidgets. I think the problem may be from here. The problem is, my code won't work. There's no error in the code, but errors do come up when linking:
Error	226	fatal error LNK1120: 225 unresolved externals	C:\UserFolders\Ryan\wxtest\Release\wxtest.exe
Error	225	error LNK2001: unresolved external symbol _main	MSVCRT.lib
Error	222	error LNK2001: unresolved external symbol "wchar_t const * const wxFrameNameStr" (?wxFrameNameStr@@3QB_WB)	main.obj
Error	39	error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)	main.obj
Error	119	error LNK2001: unresolved external symbol "public: void __thiscall wxWindowBase::SetInitialSize(class wxSize const &)" (?SetInitialSize@wxWindowBase@@QAEXABVwxSize@@@Z)	main.obj
Error	3	error LNK2001: unresolved external symbol "public: void __thiscall wxObject::Ref(class wxObject const &)" (?Ref@wxObject@@QAEXABV1@@Z)	main.obj
Error	116	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetVirtualSizeHints(int,int,int,int)" (?SetVirtualSizeHints@wxWindowBase@@UAEXHHHH@Z)	main.obj
Error	107	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetValidator(class wxValidator const &)" (?SetValidator@wxWindowBase@@UAEXABVwxValidator@@@Z)	main.obj
Error	90	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetSizeConstraint(int,int,int,int)" (?SetSizeConstraint@wxWindowBase@@UAEXHHHH@Z)	main.obj
Error	94	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetConstraintSizes(bool)" (?SetConstraintSizes@wxWindowBase@@UAEX_N@Z)	main.obj
Error	89	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::MoveConstraint(int,int)" (?MoveConstraint@wxWindowBase@@UAEXHH@Z)	main.obj
Error	111	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::MakeModal(bool)" (?MakeModal@wxWindowBase@@UAEX_N@Z)	main.obj
Error	103	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::InitDialog(void)" (?InitDialog@wxWindowBase@@UAEXXZ)	main.obj
Error	84	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::InheritAttributes(void)" (?InheritAttributes@wxWindowBase@@UAEXXZ)	main.obj
Error	88	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetSizeConstraint(int *,int *)const " (?GetSizeConstraint@wxWindowBase@@UBEXPAH0@Z)	main.obj
Error	86	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetPositionConstraint(int *,int *)const " (?GetPositionConstraint@wxWindowBase@@UBEXPAH0@Z)	main.obj
Error	87	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetClientSizeConstraint(int *,int *)const " (?GetClientSizeConstraint@wxWindowBase@@UBEXPAH0@Z)	main.obj
Error	117	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::FitInside(void)" (?FitInside@wxWindowBase@@UAEXXZ)	main.obj
Error	118	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::Fit(void)" (?Fit@wxWindowBase@@UAEXXZ)	main.obj
Error	115	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::DoSetVirtualSize(int,int)" (?DoSetVirtualSize@wxWindowBase@@UAEXHH@Z)	main.obj
Error	101	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::ClearBackground(void)" (?ClearBackground@wxWindowBase@@UAEXXZ)	main.obj
Error	108	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::AddChild(class wxWindowBase *)" (?AddChild@wxWindowBase@@UAEXPAV1@@Z)	main.obj
Error	173	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::WarpPointer(int,int)" (?WarpPointer@wxWindow@@UAEXHH@Z)	main.obj
Error	171	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Update(void)" (?Update@wxWindow@@UAEXXZ)	main.obj
Error	169	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Thaw(void)" (?Thaw@wxWindow@@UAEXXZ)	main.obj
Error	168	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetWindowstyleFlag(long)" (?SetWindowstyleFlag@wxWindow@@UAEXJ@Z)	main.obj
Error	140	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetupColours(void)" (?SetupColours@wxWindow@@UAEXXZ)	main.obj
Error	160	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetScrollPos(int,int,bool)" (?SetScrollPos@wxWindow@@UAEXHH_N@Z)	main.obj
Error	161	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetScrollbar(int,int,int,int,bool)" (?SetScrollbar@wxWindow@@UAEXHHHH_N@Z)	main.obj
Error	180	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetLabel(class wxString const &)" (?SetLabel@wxWindow@@UAEXABVwxString@@@Z)	main.obj
Error	175	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetFocusFromKbd(void)" (?SetFocusFromKbd@wxWindow@@UAEXXZ)	main.obj
Error	176	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetFocus(void)" (?SetFocus@wxWindow@@UAEXXZ)	main.obj
Error	167	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetExtrastyle(long)" (?SetExtrastyle@wxWindow@@UAEXJ@Z)	main.obj
Error	151	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetDropTarget(class wxDropTarget *)" (?SetDropTarget@wxWindow@@UAEXPAVwxDropTarget@@@Z)	main.obj
Error	156	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::ScrollWindow(int,int,class wxRect const *)" (?ScrollWindow@wxWindow@@UAEXHHPBVwxRect@@@Z)	main.obj
Error	172	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Refresh(bool,class wxRect const *)" (?Refresh@wxWindow@@UAEX_NPBVwxRect@@@Z)	main.obj
Error	131	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::MSWDestroyWindow(void)" (?MSWDestroyWindow@wxWindow@@UAEXXZ)	main.obj
Error	178	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Lower(void)" (?Lower@wxWindow@@UAEXXZ)	main.obj
Error	162	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)	main.obj
Error	170	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Freeze(void)" (?Freeze@wxWindow@@UAEXXZ)	main.obj
Error	150	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::DragAcceptFiles(bool)" (?DragAcceptFiles@wxWindow@@UAEX_N@Z)	main.obj
Error	144	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::DissociateHandle(void)" (?DissociateHandle@wxWindow@@UAEXXZ)	main.obj
Error	145	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::AssociateHandle(void *)" (?AssociateHandle@wxWindow@@UAEXPAX@Z)	main.obj
Error	141	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::AdoptAttributesFromHWND(void)" (?AdoptAttributesFromHWND@wxWindow@@UAEXXZ)	main.obj
Error	58	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetTitle(class wxString const &)" (?SetTitle@wxTopLevelWindowMSW@@UAEXABVwxString@@@Z)	main.obj
Error	49	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetLayoutDirection(enum wxLayoutDirection)" (?SetLayoutDirection@wxTopLevelWindowMSW@@UAEXW4wxLayoutDirection@@@Z)	main.obj
Error	51	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetIcons(class wxIconBundle const &)" (?SetIcons@wxTopLevelWindowMSW@@UAEXABVwxIconBundle@@@Z)	main.obj
Error	52	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetIcon(class wxIcon const &)" (?SetIcon@wxTopLevelWindowMSW@@UAEXABVwxIcon@@@Z)	main.obj
Error	50	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Restore(void)" (?Restore@wxTopLevelWindowMSW@@UAEXXZ)	main.obj
Error	47	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::RequestUserAttention(int)" (?RequestUserAttention@wxTopLevelWindowMSW@@UAEXH@Z)	main.obj
Error	56	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Maximize(bool)" (?Maximize@wxTopLevelWindowMSW@@UAEX_N@Z)	main.obj
Error	54	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Iconize(bool)" (?Iconize@wxTopLevelWindowMSW@@UAEX_N@Z)	main.obj
Error	215	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::SetMinSize(class wxSize const &)" (?SetMinSize@wxTopLevelWindowBase@@UAEXABVwxSize@@@Z)	main.obj
Error	214	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::SetMaxSize(class wxSize const &)" (?SetMaxSize@wxTopLevelWindowBase@@UAEXABVwxSize@@@Z)	main.obj
Error	219	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::RemoveChild(class wxWindowBase *)" (?RemoveChild@wxTopLevelWindowBase@@UAEXPAVwxWindowBase@@@Z)	main.obj
Error	217	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::GetRectForTopLevelChildren(int *,int *,int *,int *)" (?GetRectForTopLevelChildren@wxTopLevelWindowBase@@UAEXPAH000@Z)	main.obj
Error	216	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::DoUpdateWindowUI(class wxUpdateUIEvent &)" (?DoUpdateWindowUI@wxTopLevelWindowBase@@UAEXAAVwxUpdateUIEvent@@@Z)	main.obj
Error	213	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowBase::DoSetSizeHints(int,int,int,int,int,int)" (?DoSetSizeHints@wxTopLevelWindowBase@@UAEXHHHHHH@Z)	main.obj
Error	18	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::UpdateWindowUI(long)" (?UpdateWindowUI@wxFrameBase@@UAEXJ@Z)	main.obj
Error	20	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetToolBar(class wxToolBar *)" (?SetToolBar@wxFrameBase@@UAEXPAVwxToolBar@@@Z)	main.obj
Error	22	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusWidths(int,int const * const)" (?SetStatusWidths@wxFrameBase@@UAEXHQBH@Z)	main.obj
Error	23	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusText(class wxString const &,int)" (?SetStatusText@wxFrameBase@@UAEXABVwxString@@H@Z)	main.obj
Error	24	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusBar(class wxStatusBar *)" (?SetStatusBar@wxFrameBase@@UAEXPAVwxStatusBar@@@Z)	main.obj
Error	26	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetMenuBar(class wxMenuBar *)" (?SetMenuBar@wxFrameBase@@UAEXPAVwxMenuBar@@@Z)	main.obj
Error	17	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::OnInternalIdle(void)" (?OnInternalIdle@wxFrameBase@@UAEXXZ)	main.obj
Error	19	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::DoMenuUpdates(class wxMenu *)" (?DoMenuUpdates@wxFrameBase@@UAEXPAVwxMenu@@@Z)	main.obj
Error	16	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::DoGiveHelp(class wxString const &,bool)" (?DoGiveHelp@wxFrameBase@@UAEXABVwxString@@_N@Z)	main.obj
Error	203	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::SendSizeEvent(void)" (?SendSizeEvent@wxFrame@@UAEXXZ)	main.obj
Error	206	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::Raise(void)" (?Raise@wxFrame@@UAEXXZ)	main.obj
Error	184	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::ProcessPendingEvents(void)" (?ProcessPendingEvents@wxAppConsole@@UAEXXZ)	main.obj
Error	185	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::HandleEvent(class wxEvtHandler *,void (__thiscall wxEvtHandler::*)(class wxEvent &),class wxEvent &)const " (?HandleEvent@wxAppConsole@@UBEXPAVwxEvtHandler@@P82@AEXAAVwxEvent@@@Z1@Z)	main.obj
Error	60	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::SetActive(bool,class wxWindow *)" (?SetActive@wxAppBase@@UAEX_NPAVwxWindow@@@Z)	main.obj
Error	61	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::OnInitCmdLine(class wxCmdLineParser &)" (?OnInitCmdLine@wxAppBase@@UAEXAAVwxCmdLineParser@@@Z)	main.obj
Error	70	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::ExitMainLoop(void)" (?ExitMainLoop@wxAppBase@@UAEXXZ)	main.obj
Error	71	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::Exit(void)" (?Exit@wxAppBase@@UAEXXZ)	main.obj
Error	7	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::WakeUpIdle(void)" (?WakeUpIdle@wxApp@@UAEXXZ)	main.obj
Error	9	error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::CleanUp(void)" (?CleanUp@wxApp@@UAEXXZ)	main.obj
Error	130	error LNK2001: unresolved external symbol "public: virtual void * __thiscall wxWindow::MSWGetBgBrushForChild(void *,void *)" (?MSWGetBgBrushForChild@wxWindow@@UAEPAXPAX0@Z)	main.obj
Error	41	error LNK2001: unresolved external symbol "public: virtual void * __thiscall wxTopLevelWindowMSW::MSWGetParent(void)const " (?MSWGetParent@wxTopLevelWindowMSW@@UBEPAXXZ)	main.obj
Error	42	error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall wxTopLevelWindowMSW::MSWGetstyle(long,unsigned long *)const " (?MSWGetstyle@wxTopLevelWindowMSW@@UBEKJPAK@Z)	main.obj
Error	64	error LNK2001: unresolved external symbol "public: virtual struct wxVideoMode __thiscall wxAppBase::GetDisplayMode(void)const " (?GetDisplayMode@wxAppBase@@UBE?AUwxVideoMode@@XZ)	main.obj
Error	134	error LNK2001: unresolved external symbol "public: virtual long __thiscall wxWindow::MSWDefWindowProc(unsigned int,unsigned int,long)" (?MSWDefWindowProc@wxWindow@@UAEJIIJ@Z)	main.obj
Error	201	error LNK2001: unresolved external symbol "public: virtual long __thiscall wxFrame::MSWWindowProc(unsigned int,unsigned int,long)" (?MSWWindowProc@wxFrame@@UAEJIIJ@Z)	main.obj
Error	158	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollThumb(int)const " (?GetScrollThumb@wxWindow@@UBEHH@Z)	main.obj
Error	157	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollRange(int)const " (?GetScrollRange@wxWindow@@UBEHH@Z)	main.obj
Error	159	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollPos(int)const " (?GetScrollPos@wxWindow@@UBEHH@Z)	main.obj
Error	163	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetCharWidth(void)const " (?GetCharWidth@wxWindow@@UBEHXZ)	main.obj
Error	164	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetCharHeight(void)const " (?GetCharHeight@wxWindow@@UBEHXZ)	main.obj
Error	152	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::AdjustForLayoutDirection(int,int,int)const " (?AdjustForLayoutDirection@wxWindow@@UBEHHHH@Z)	main.obj
Error	186	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppConsole::FilterEvent(class wxEvent &)" (?FilterEvent@wxAppConsole@@UAEHAAVwxEvent@@@Z)	main.obj
Error	74	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::OnRun(void)" (?OnRun@wxAppBase@@UAEHXZ)	main.obj
Error	73	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::OnExit(void)" (?OnExit@wxAppBase@@UAEHXZ)	main.obj
Error	72	error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::MainLoop(void)" (?MainLoop@wxAppBase@@UAEHXZ)	main.obj
Error	153	error LNK2001: unresolved external symbol "public: virtual enum wxLayoutDirection __thiscall wxWindow::GetLayoutDirection(void)const " (?GetLayoutDirection@wxWindow@@UBE?AW4wxLayoutDirection@@XZ)	main.obj
Error	63	error LNK2001: unresolved external symbol "public: virtual enum wxLayoutDirection __thiscall wxAppBase::GetLayoutDirection(void)const " (?GetLayoutDirection@wxAppBase@@UBE?AW4wxLayoutDirection@@XZ)	main.obj
Error	142	error LNK2001: unresolved external symbol "public: virtual class wxWindow * __thiscall wxWindow::CreateWindowFromHWND(class wxWindow *,void *)" (?CreateWindowFromHWND@wxWindow@@UAEPAV1@PAV1@PAX@Z)	main.obj
Error	65	error LNK2001: unresolved external symbol "public: virtual class wxWindow * __thiscall wxAppBase::GetTopWindow(void)const " (?GetTopWindow@wxAppBase@@UBEPAVwxWindow@@XZ)	main.obj
Error	21	error LNK2001: unresolved external symbol "public: virtual class wxToolBar * __thiscall wxFrameBase::OnCreateToolBar(long,int,class wxString const &)" (?OnCreateToolBar@wxFrameBase@@UAEPAVwxToolBar@@JHABVwxString@@@Z)	main.obj
Error	205	error LNK2001: unresolved external symbol "public: virtual class wxToolBar * __thiscall wxFrame::CreateToolBar(long,int,class wxString const &)" (?CreateToolBar@wxFrame@@UAEPAVwxToolBar@@JHABVwxString@@@Z)	main.obj
Error	95	error LNK2001: unresolved external symbol "public: virtual class wxString __thiscall wxWindowBase::GetHelpTextAtPoint(class wxPoint const &,enum wxHelpEvent::Origin)const " (?GetHelpTextAtPoint@wxWindowBase@@UBE?AVwxString@@ABVwxPoint@@W4Origin@wxHelpEvent@@@Z)	main.obj
Error	179	error LNK2001: unresolved external symbol "public: virtual class wxString __thiscall wxWindow::GetLabel(void)const " (?GetLabel@wxWindow@@UBE?AVwxString@@XZ)	main.obj
Error	57	error LNK2001: unresolved external symbol "public: virtual class wxString __thiscall wxTopLevelWindowMSW::GetTitle(void)const " (?GetTitle@wxTopLevelWindowMSW@@UBE?AVwxString@@XZ)	main.obj
Error	25	error LNK2001: unresolved external symbol "public: virtual class wxStatusBar * __thiscall wxFrameBase::CreateStatusBar(int,long,int,class wxString const &)" (?CreateStatusBar@wxFrameBase@@UAEPAVwxStatusBar@@HJHABVwxString@@@Z)	main.obj
Error	204	error LNK2001: unresolved external symbol "public: virtual class wxStatusBar * __thiscall wxFrame::OnCreateStatusBar(int,long,int,class wxString const &)" (?OnCreateStatusBar@wxFrame@@UAEPAVwxStatusBar@@HJHABVwxString@@@Z)	main.obj
Error	113	error LNK2001: unresolved external symbol "public: virtual class wxSize __thiscall wxWindowBase::GetWindowBorderSize(void)const " (?GetWindowBorderSize@wxWindowBase@@UBE?AVwxSize@@XZ)	main.obj
Error	114	error LNK2001: unresolved external symbol "public: virtual class wxSize __thiscall wxWindowBase::DoGetVirtualSize(void)const " (?DoGetVirtualSize@wxWindowBase@@UBE?AVwxSize@@XZ)	main.obj
Error	202	error LNK2001: unresolved external symbol "public: virtual class wxPoint __thiscall wxFrame::GetClientAreaOrigin(void)const " (?GetClientAreaOrigin@wxFrame@@UBE?AVwxPoint@@XZ)	main.obj
Error	189	error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxFrame::GetClassInfo(void)const " (?GetClassInfo@wxFrame@@UBEPAVwxClassInfo@@XZ)	main.obj
Error	13	error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxApp::GetClassInfo(void)const " (?GetClassInfo@wxApp@@UBEPAVwxClassInfo@@XZ)	main.obj
Error	106	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Validate(void)" (?Validate@wxWindowBase@@UAE_NXZ)	main.obj
Error	105	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::TransferDataToWindow(void)" (?TransferDataToWindow@wxWindowBase@@UAE_NXZ)	main.obj
Error	104	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::TransferDataFromWindow(void)" (?TransferDataFromWindow@wxWindowBase@@UAE_NXZ)	main.obj
Error	96	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::SetForegroundColour(class wxColour const &)" (?SetForegroundColour@wxWindowBase@@UAE_NABVwxColour@@@Z)	main.obj
Error	97	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::SetBackgroundColour(class wxColour const &)" (?SetBackgroundColour@wxWindowBase@@UAE_NABVwxColour@@@Z)	main.obj
Error	109	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Navigate(int)" (?Navigate@wxWindowBase@@UAE_NH@Z)	main.obj
Error	92	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::LayoutPhase2(int *)" (?LayoutPhase2@wxWindowBase@@UAE_NPAH@Z)	main.obj
Error	93	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::LayoutPhase1(int *)" (?LayoutPhase1@wxWindowBase@@UAE_NPAH@Z)	main.obj
Error	85	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Layout(void)" (?Layout@wxWindowBase@@UAE_NXZ)	main.obj
Error	112	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::IsShownOnScreen(void)const " (?IsShownOnScreen@wxWindowBase@@UBE_NXZ)	main.obj
Error	91	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::DoPhase(int)" (?DoPhase@wxWindowBase@@UAE_NH@Z)	main.obj
Error	100	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::DoIsExposed(int,int,int,int)const " (?DoIsExposed@wxWindowBase@@UBE_NHHHH@Z)	main.obj
Error	99	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::DoIsExposed(int,int)const " (?DoIsExposed@wxWindowBase@@UBE_NHH@Z)	main.obj
Error	146	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::UnregisterHotKey(int)" (?UnregisterHotKey@wxWindow@@UAE_NH@Z)	main.obj
Error	165	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::SetFont(class wxFont const &)" (?SetFont@wxWindow@@UAE_NABVwxFont@@@Z)	main.obj
Error	166	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::SetCursor(class wxCursor const &)" (?SetCursor@wxWindow@@UAE_NABVwxCursor@@@Z)	main.obj
Error	154	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::ScrollPages(int)" (?ScrollPages@wxWindow@@UAE_NH@Z)	main.obj
Error	155	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::ScrollLines(int)" (?ScrollLines@wxWindow@@UAE_NH@Z)	main.obj
Error	174	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::Reparent(class wxWindowBase *)" (?Reparent@wxWindow@@UAE_NPAVwxWindowBase@@@Z)	main.obj
Error	147	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::RegisterHotKey(int,int,int)" (?RegisterHotKey@wxWindow@@UAE_NHHH@Z)	main.obj
Error	133	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWShouldPreProcessMessage(struct tagMSG *)" (?MSWShouldPreProcessMessage@wxWindow@@UAE_NPAUtagMSG@@@Z)	main.obj
Error	132	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWProcessMessage(struct tagMSG *)" (?MSWProcessMessage@wxWindow@@UAE_NPAUtagMSG@@@Z)	main.obj
Error	139	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnScroll(int,unsigned short,unsigned short,void *)" (?MSWOnScroll@wxWindow@@UAE_NHGGPAX@Z)	main.obj
Error	138	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnNotify(int,long,long *)" (?MSWOnNotify@wxWindow@@UAE_NHJPAJ@Z)	main.obj
Error	136	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnMeasureItem(int,void * *)" (?MSWOnMeasureItem@wxWindow@@UAE_NHPAPAX@Z)	main.obj
Error	137	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnDrawItem(int,void * *)" (?MSWOnDrawItem@wxWindow@@UAE_NHPAPAX@Z)	main.obj
Error	143	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWCommand(unsigned int,unsigned short)" (?MSWCommand@wxWindow@@UAE_NIG@Z)	main.obj
Error	148	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::LoadNativeDialog(class wxWindow *,int &)" (?LoadNativeDialog@wxWindow@@UAE_NPAV1@AAH@Z)	main.obj
Error	149	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::LoadNativeDialog(class wxWindow *,class wxString const &)" (?LoadNativeDialog@wxWindow@@UAE_NPAV1@ABVwxString@@@Z)	main.obj
Error	129	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::IsDoubleBuffered(void)const " (?IsDoubleBuffered@wxWindow@@UBE_NXZ)	main.obj
Error	135	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::HandleSettingChange(unsigned int,long)" (?HandleSettingChange@wxWindow@@UAE_NIJ@Z)	main.obj
Error	177	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::Enable(bool)" (?Enable@wxWindow@@UAE_N_N@Z)	main.obj
Error	46	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::Show(bool)" (?Show@wxTopLevelWindowMSW@@UAE_N_N@Z)	main.obj
Error	44	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::SetTransparent(unsigned char)" (?SetTransparent@wxTopLevelWindowMSW@@UAE_NE@Z)	main.obj
Error	48	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::SetShape(class wxRegion const &)" (?SetShape@wxTopLevelWindowMSW@@UAE_NABVwxRegion@@@Z)	main.obj
Error	55	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::IsMaximized(void)const " (?IsMaximized@wxTopLevelWindowMSW@@UBE_NXZ)	main.obj
Error	53	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::IsIconized(void)const " (?IsIconized@wxTopLevelWindowMSW@@UBE_NXZ)	main.obj
Error	45	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::EnableCloseButton(bool)" (?EnableCloseButton@wxTopLevelWindowMSW@@UAE_N_N@Z)	main.obj
Error	43	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::CanSetTransparent(void)" (?CanSetTransparent@wxTopLevelWindowMSW@@UAE_NXZ)	main.obj
Error	220	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowBase::IsAlwaysMaximized(void)const " (?IsAlwaysMaximized@wxTopLevelWindowBase@@UBE_NXZ)	main.obj
Error	218	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowBase::Destroy(void)" (?Destroy@wxTopLevelWindowBase@@UAE_NXZ)	main.obj
Error	207	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxFrame::ShowFullScreen(bool,long)" (?ShowFullScreen@wxFrame@@UAE_N_NJ@Z)	main.obj
Error	37	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxEvtHandler::SearchEventTable(struct wxEventTable &,class wxEvent &)" (?SearchEventTable@wxEvtHandler@@UAE_NAAUwxEventTable@@AAVwxEvent@@@Z)	main.obj
Error	38	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxEvtHandler::ProcessEvent(class wxEvent &)" (?ProcessEvent@wxEvtHandler@@UAE_NAAVwxEvent@@@Z)	main.obj
Error	188	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppConsole::OnCmdLineHelp(class wxCmdLineParser &)" (?OnCmdLineHelp@wxAppConsole@@UAE_NAAVwxCmdLineParser@@@Z)	main.obj
Error	187	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppConsole::OnCmdLineError(class wxCmdLineParser &)" (?OnCmdLineError@wxAppConsole@@UAE_NAAVwxCmdLineParser@@@Z)	main.obj
Error	66	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::SendIdleEvents(class wxWindow *,class wxIdleEvent &)" (?SendIdleEvents@wxAppBase@@UAE_NPAVwxWindow@@AAVwxIdleEvent@@@Z)	main.obj
Error	67	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::ProcessIdle(void)" (?ProcessIdle@wxAppBase@@UAE_NXZ)	main.obj
Error	69	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::Pending(void)" (?Pending@wxAppBase@@UAE_NXZ)	main.obj
Error	75	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnInitGui(void)" (?OnInitGui@wxAppBase@@UAE_NXZ)	main.obj
Error	62	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnCmdLineParsed(class wxCmdLineParser &)" (?OnCmdLineParsed@wxAppBase@@UAE_NAAVwxCmdLineParser@@@Z)	main.obj
Error	68	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::Dispatch(void)" (?Dispatch@wxAppBase@@UAE_NXZ)	main.obj
Error	8	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Yield(bool)" (?Yield@wxApp@@UAE_N_N@Z)	main.obj
Error	6	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::OnExceptionInMainLoop(void)" (?OnExceptionInMainLoop@wxApp@@UAE_NXZ)	main.obj
Error	10	error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Initialize(int &,wchar_t * *)" (?Initialize@wxApp@@UAE_NAAHPAPA_W@Z)	main.obj
Error	27	error LNK2001: unresolved external symbol "public: virtual __thiscall wxFrameBase::~wxFrameBase(void)" (??1wxFrameBase@@UAE@XZ)	main.obj
Error	208	error LNK2001: unresolved external symbol "public: virtual __thiscall wxFrame::~wxFrame(void)" (??1wxFrame@@UAE@XZ)	main.obj
Error	181	error LNK2001: unresolved external symbol "public: virtual __thiscall wxFont::~wxFont(void)" (??1wxFont@@UAE@XZ)	main.obj
Error	182	error LNK2001: unresolved external symbol "public: virtual __thiscall wxColour::~wxColour(void)" (??1wxColour@@UAE@XZ)	main.obj
Error	11	error LNK2001: unresolved external symbol "public: virtual __thiscall wxApp::~wxApp(void)" (??1wxApp@@UAE@XZ)	main.obj
Error	224	error LNK2001: unresolved external symbol "public: static unsigned int const wxStringBase::npos" (?npos@wxStringBase@@2IB)	main.obj
Error	98	error LNK2001: unresolved external symbol "public: static struct wxVisualAttributes __cdecl wxWindowBase::GetClassDefaultAttributes(enum wxWindowVariant)" (?GetClassDefaultAttributes@wxWindowBase@@SA?AUwxVisualAttributes@@W4wxWindowVariant@@@Z)	main.obj
Error	102	error LNK2001: unresolved external symbol "public: static class wxWindow * __cdecl wxWindowBase::GetCapture(void)" (?GetCapture@wxWindowBase@@SAPAVwxWindow@@XZ)	main.obj
Error	110	error LNK2001: unresolved external symbol "public: static class wxWindow * __cdecl wxWindowBase::FindFocus(void)" (?FindFocus@wxWindowBase@@SAPAVwxWindow@@XZ)	main.obj
Error	183	error LNK2001: unresolved external symbol "public: static bool __cdecl wxAppConsole::CheckBuildOptions(char const *,char const *)" (?CheckBuildOptions@wxAppConsole@@SA_NPBD0@Z)	main.obj
Error	29	error LNK2001: unresolved external symbol "public: class wxStringBase & __thiscall wxStringBase::operator=(class wxStringBase const &)" (??4wxStringBase@@QAEAAV0@ABV0@@Z)	main.obj
Error	209	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@@HABVwxString@@ABVwxPoint@@ABVwxSize@@J1@Z)	main.obj
Error	28	error LNK2001: unresolved external symbol "public: __thiscall wxFrameBase::wxFrameBase(void)" (??0wxFrameBase@@QAE@XZ)	main.obj
Error	12	error LNK2001: unresolved external symbol "public: __thiscall wxApp::wxApp(void)" (??0wxApp@@QAE@XZ)	main.obj
Error	30	error LNK2001: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(wchar_t const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPB_WII@Z)	main.obj
Error	200	error LNK2001: unresolved external symbol "protected: void __thiscall wxFrame::Init(void)" (?Init@wxFrame@@IAEXXZ)	main.obj
Error	76	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindowBase::DoSetWindowVariant(enum wxWindowVariant)" (?DoSetWindowVariant@wxWindowBase@@MAEXW4wxWindowVariant@@@Z)	main.obj
Error	81	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindowBase::DoMoveInTabOrder(class wxWindow *,enum wxWindowBase::MoveKind)" (?DoMoveInTabOrder@wxWindowBase@@MAEXPAVwxWindow@@W4MoveKind@1@@Z)	main.obj
Error	77	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindowBase::AdjustForParentClientOrigin(int &,int &,int)const " (?AdjustForParentClientOrigin@wxWindowBase@@MBEXAAH0H@Z)	main.obj
Error	121	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoSetToolTip(class wxToolTip *)" (?DoSetToolTip@wxWindow@@MAEXPAVwxToolTip@@@Z)	main.obj
Error	125	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoSetSize(int,int,int,int,int)" (?DoSetSize@wxWindow@@MAEXHHHHH@Z)	main.obj
Error	123	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoReleaseMouse(void)" (?DoReleaseMouse@wxWindow@@MAEXXZ)	main.obj
Error	122	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoMoveWindow(int,int,int,int)" (?DoMoveWindow@wxWindow@@MAEXHHHH@Z)	main.obj
Error	126	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoGetSize(int *,int *)const " (?DoGetSize@wxWindow@@MBEXPAH0@Z)	main.obj
Error	127	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoGetPosition(int *,int *)const " (?DoGetPosition@wxWindow@@MBEXPAH0@Z)	main.obj
Error	124	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoCaptureMouse(void)" (?DoCaptureMouse@wxWindow@@MAEXXZ)	main.obj
Error	211	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxTopLevelWindowBase::DoScreenToClient(int *,int *)const " (?DoScreenToClient@wxTopLevelWindowBase@@MBEXPAH0@Z)	main.obj
Error	212	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxTopLevelWindowBase::DoClientToScreen(int *,int *)const " (?DoClientToScreen@wxTopLevelWindowBase@@MBEXPAH0@Z)	main.obj
Error	210	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxTopLevelWindowBase::DoCentre(int)" (?DoCentre@wxTopLevelWindowBase@@MAEXH@Z)	main.obj
Error	14	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrameBase::DetachMenuBar(void)" (?DetachMenuBar@wxFrameBase@@MAEXXZ)	main.obj
Error	193	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::PositionToolBar(void)" (?PositionToolBar@wxFrame@@MAEXXZ)	main.obj
Error	192	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::PositionStatusBar(void)" (?PositionStatusBar@wxFrame@@MAEXXZ)	main.obj
Error	196	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::InternalSetMenuBar(void)" (?InternalSetMenuBar@wxFrame@@MAEXXZ)	main.obj
Error	198	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::DoSetClientSize(int,int)" (?DoSetClientSize@wxFrame@@MAEXHH@Z)	main.obj
Error	199	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::DoGetClientSize(int *,int *)const " (?DoGetClientSize@wxFrame@@MBEXPAH0@Z)	main.obj
Error	197	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::AttachMenuBar(class wxMenuBar *)" (?AttachMenuBar@wxFrame@@MAEXPAVwxMenuBar@@@Z)	main.obj
Error	35	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxEvtHandler::DoSetClientObject(class wxClientData *)" (?DoSetClientObject@wxEvtHandler@@MAEXPAVwxClientData@@@Z)	main.obj
Error	33	error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxEvtHandler::DoSetClientData(void *)" (?DoSetClientData@wxEvtHandler@@MAEXPAX@Z)	main.obj
Error	194	error LNK2001: unresolved external symbol "protected: virtual void * __thiscall wxFrame::GetDefaultIcon(void)const " (?GetDefaultIcon@wxFrame@@MBEPAXXZ)	main.obj
Error	32	error LNK2001: unresolved external symbol "protected: virtual void * __thiscall wxEvtHandler::DoGetClientData(void)const " (?DoGetClientData@wxEvtHandler@@MBEPAXXZ)	main.obj
Error	191	error LNK2001: unresolved external symbol "protected: virtual struct wxEventTable const * __thiscall wxFrame::GetEventTable(void)const " (?GetEventTable@wxFrame@@MBEPBUwxEventTable@@XZ)	main.obj
Error	5	error LNK2001: unresolved external symbol "protected: virtual struct wxEventTable const * __thiscall wxApp::GetEventTable(void)const " (?GetEventTable@wxApp@@MBEPBUwxEventTable@@XZ)	main.obj
Error	79	error LNK2001: unresolved external symbol "protected: virtual enum wxHitTest __thiscall wxWindowBase::DoHitTest(int,int)const " (?DoHitTest@wxWindowBase@@MBE?AW4wxHitTest@@HH@Z)	main.obj
Error	80	error LNK2001: unresolved external symbol "protected: virtual enum wxBorder __thiscall wxWindowBase::GetDefaultBorder(void)const " (?GetDefaultBorder@wxWindowBase@@MBE?AW4wxBorder@@XZ)	main.obj
Error	78	error LNK2001: unresolved external symbol "protected: virtual class wxSize __thiscall wxWindowBase::DoGetBestSize(void)const " (?DoGetBestSize@wxWindowBase@@MBE?AVwxSize@@XZ)	main.obj
Error	2	error LNK2001: unresolved external symbol "protected: virtual class wxObjectRefData * __thiscall wxObject::CreateRefData(void)const " (?CreateRefData@wxObject@@MBEPAVwxObjectRefData@@XZ)	main.obj
Error	1	error LNK2001: unresolved external symbol "protected: virtual class wxObjectRefData * __thiscall wxObject::CloneRefData(class wxObjectRefData const *)const " (?CloneRefData@wxObject@@MBEPAVwxObjectRefData@@PBV2@@Z)	main.obj
Error	190	error LNK2001: unresolved external symbol "protected: virtual class wxEventHashTable & __thiscall wxFrame::GetEventHashTable(void)const " (?GetEventHashTable@wxFrame@@MBEAAVwxEventHashTable@@XZ)	main.obj
Error	4	error LNK2001: unresolved external symbol "protected: virtual class wxEventHashTable & __thiscall wxApp::GetEventHashTable(void)const " (?GetEventHashTable@wxApp@@MBEAAVwxEventHashTable@@XZ)	main.obj
Error	34	error LNK2001: unresolved external symbol "protected: virtual class wxClientData * __thiscall wxEvtHandler::DoGetClientObject(void)const " (?DoGetClientObject@wxEvtHandler@@MBEPAVwxClientData@@XZ)	main.obj
Error	59	error LNK2001: unresolved external symbol "protected: virtual class wxAppTraits * __thiscall wxAppBase::CreateTraits(void)" (?CreateTraits@wxAppBase@@MAEPAVwxAppTraits@@XZ)	main.obj
Error	83	error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxWindowBase::TryValidator(class wxEvent &)" (?TryValidator@wxWindowBase@@MAE_NAAVwxEvent@@@Z)	main.obj
Error	82	error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxWindowBase::TryParent(class wxEvent &)" (?TryParent@wxWindowBase@@MAE_NAAVwxEvent@@@Z)	main.obj
Error	128	error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxWindow::DoPopupMenu(class wxMenu *,int,int)" (?DoPopupMenu@wxWindow@@MAE_NPAVwxMenu@@HH@Z)	main.obj
Error	15	error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxFrameBase::IsOneOfBars(class wxWindow const *)const " (?IsOneOfBars@wxFrameBase@@MBE_NPBVwxWindow@@@Z)	main.obj
Error	36	error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxEvtHandler::TryParent(class wxEvent &)" (?TryParent@wxEvtHandler@@MAE_NAAVwxEvent@@@Z)	main.obj
Error	31	error LNK2001: unresolved external symbol "protected: static class wxAppConsole * wxAppConsole::ms_appInstance" (?ms_appInstance@wxAppConsole@@1PAV1@A)	main.obj
Error	120	error LNK2001: unresolved external symbol "protected: static class wxAppConsole * (__cdecl* wxAppConsole::ms_appInitFn)(void)" (?ms_appInitFn@wxAppConsole@@1P6APAV1@XZA)	main.obj
Error	195	error LNK2001: unresolved external symbol "protected: bool __thiscall wxFrame::MSWDoTranslateMessage(class wxFrame *,struct tagMSG *)" (?MSWDoTranslateMessage@wxFrame@@IAE_NPAV1@PAUtagMSG@@@Z)	main.obj
Error	40	error LNK2001: unresolved external symbol "int __cdecl wxEntry(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int)" (?wxEntry@@YAHPAUHINSTANCE__@@0PADH@Z)	main.obj
Error	221	error LNK2001: unresolved external symbol "class wxWindow * __cdecl wxGetTopLevelParent(class wxWindow *)" (?wxGetTopLevelParent@@YAPAVwxWindow@@PAV1@@Z)	main.obj
Error	223	error LNK2001: unresolved external symbol "class wxPoint const wxDefaultPosition" (?wxDefaultPosition@@3VwxPoint@@B)	main.obj
And my code: (which has no problems)
[source lang=cpp]
#include <wx/wx.h>

class Simple : public wxFrame
{
public:
	Simple(const wxString &title);
}; 

Simple::Simple(const wxString &title) : wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxSize(600, 400))
{
	Centre();
}

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

IMPLEMENT_APP(MyApp);

bool MyApp::OnInit()
{
	Simple *simple = new Simple(wxT("wx Widgets Test"));
	simple->Show(true);

	return true;
}

What's wrong? I think it's because I didn't set up the files in the lib directory correctly, but I don't know how to set it up. I am new with using wxWidgets.

Share this post


Link to post
Share on other sites
This is mainly a copy of my lib setup notes for wx widgets, follow best you can, let me know if you get stuck

(WXDIR) = wxWidgets root src dir

for me it is D:\Dev\Programming\Tools\Libraries\wxMSW-2.8.10

- build solution "wx.dsw" from "(WXDIR)\build\msw"
- config "Debug" output libs build from "wx.dsw" will be placed in "(WXDIR)\lib\vc_lib"

- make IDE aware of include dir

"(WXDIR)\include" (main wx includes)
"(WXDIR)\contrib\include" (additional dependencies)
"(WXDIR)\lib\vc_lib\mswd" (for setup.h)
"(WXDIR)\lib\vc_dll\mswd" ("DLL Debug" config)

- make IDE aware of lib dir

"(WXDIR)\lib\vc_lib" (built wx libs)
"(WXDIR)\contrib\lib" (additional libs)
"(WXDIR)\lib\vc_dll" ("DLL Debug" config)

- change run-time lib to "Multi-threaded Debug (/Mtd)" in IDE for new wx projects (depending on how libs were built)
- change character set from unicode to not set in IDE for new wx projects
- add lib dependencies generated from output build to new wx project

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this