Solved

how to solve wxwindows programming  link errors in both windows and linux?

Posted on 2004-10-25
1,135 Views
Last Modified: 2013-11-17
i had done a "HelloWorld" program using VC++  in windows and using vi ditor in linux also.But in both platforms i got the same errors.i am using wxwindows2.3.4 in windows using VC++6.0.i have changed th project settings according to the wxwindows tutorials included some of the preprocessor header definitions and also included some library files also ,still  i am stuck with the following errors
filename:basic

basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl wxAppBase::CheckBuildOptions(class wxBuildOptions const &)" (__imp_?CheckBuildOptions@wxAppBase@@SA_NABVwxBuildOptions@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::ProcessMessage(void * *)" (?ProcessMessage@wxApp@@UAE_NPAPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::DoMessage(void * *)" (?DoMessage@wxApp@@UAEXPAPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::DoMessage(void)" (?DoMessage@wxApp@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxApp::GetPrintMode(void)const " (?GetPrintMode@wxApp@@UBEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::ProcessPendingEvents(void)" (?ProcessPendingEvents@wxAppBase@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::OnAssert(char const *,int,char const *,char const *)" (?OnAssert@wxAppBase@@UAEXPBDH00@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::FilterEvent(class wxEvent &)" (?FilterEvent@wxAppBase@@UAEHAAVwxEvent@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::SetActive(bool,class wxWindow *)" (?SetActive@wxAppBase@@UAEX_NPAVwxWindow@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::SetPrintMode(int)" (?SetPrintMode@wxApp@@UAEXH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::SetDisplayMode(class wxDisplayModeInfo const &)" (?SetDisplayMode@wxAppBase@@UAE_NABVwxDisplayModeInfo@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxDisplayModeInfo  __thiscall wxAppBase::GetDisplayMode(void)const " (?GetDisplayMode@wxAppBase@@UBE?AVwxDisplayModeInfo@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxIcon  __thiscall wxAppBase::GetStdIcon(int)const " (?GetStdIcon@wxAppBase@@UBE?AVwxIcon@@H@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxMessageOutput * __thiscall wxAppBase::CreateMessageOutput(void)" (?CreateMessageOutput@wxAppBase@@UAEPAVwxMessageOutput@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxLog * __thiscall wxAppBase::CreateLogTarget(void)" (?CreateLogTarget@wxAppBase@@UAEPAVwxLog@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnCmdLineError(class wxCmdLineParser &)" (?OnCmdLineError@wxAppBase@@UAE_NAAVwxCmdLineParser@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnCmdLineHelp(class wxCmdLineParser &)" (?OnCmdLineHelp@wxAppBase@@UAE_NAAVwxCmdLineParser@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnCmdLineParsed(class wxCmdLineParser &)" (?OnCmdLineParsed@wxAppBase@@UAE_NAAVwxCmdLineParser@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::OnInitCmdLine(class wxCmdLineParser &)" (?OnInitCmdLine@wxAppBase@@UAEXAAVwxCmdLineParser@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxWindow * __thiscall wxAppBase::GetTopWindow(void)const " (?GetTopWindow@wxAppBase@@UBEPAVwxWindow@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::IsActive(void)const " (?IsActive@wxAppBase@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::ProcessIdle(void)" (?ProcessIdle@wxApp@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Yield(bool)" (?Yield@wxApp@@UAE_N_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::Dispatch(void)" (?Dispatch@wxApp@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Pending(void)" (?Pending@wxApp@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Initialized(void)" (?Initialized@wxApp@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::ExitMainLoop(void)" (?ExitMainLoop@wxApp@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxApp::MainLoop(void)" (?MainLoop@wxApp@@UAEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppBase::OnFatalException(void)" (?OnFatalException@wxAppBase@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::OnExit(void)" (?OnExit@wxAppBase@@UAEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxAppBase::OnRun(void)" (?OnRun@wxAppBase@@UAEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxAppBase::OnInitGui(void)" (?OnInitGui@wxAppBase@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void * __thiscall wxEvtHandler::DoGetClientData(void)const " (?DoGetClientData@wxEvtHandler@@MBEPAXXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxEvtHandler::DoSetClientData(void *)" (?DoSetClientData@wxEvtHandler@@MAEXPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual class wxClientData * __thiscall wxEvtHandler::DoGetClientObject(void)const " (?DoGetClientObject@wxEvtHandler@@MBEPAVwxClientData@@XZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxEvtHandler::DoSetClientObject(class wxClientData *)" (?DoSetClientObject@wxEvtHandler@@MAEXPAVwxClientData@@@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual struct wxEventTable const * __thiscall wxApp::GetEventTable(void)const " (?GetEventTable@wxApp@@MBEPBUwxEventTable@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxEvtHandler::SearchEventTable(struct wxEventTable &,class wxEvent &)" (?SearchEventTable@wxEvtHandler@@UAE_NAAUwxEventTable@@AAVwxEvent@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxEvtHandler::ProcessEvent(class wxEvent &)" (?ProcessEvent@wxEvtHandler@@UAE_NAAVwxEvent@@@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual class wxObjectRefData * __thiscall wxObject::CloneRefData(class wxObjectRefData const *)const " (?CloneRefData@wxObject@@MBEPAVwxObjectRefData@@PBV2@@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual class wxObjectRefData * __thiscall wxObject::CreateRefData(void)const " (?CreateRefData@wxObject@@MBEPAVwxObjectRefData@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxApp::GetClassInfo(void)const " (?GetClassInfo@wxApp@@UBEPAVwxClassInfo@@XZ)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxApp::wxApp(void)" (__imp_??0wxApp@@QAE@XZ)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxApp::~wxApp(void)" (__imp_??1wxApp@@UAE@XZ)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxAppInitializer::wxAppInitializer(class wxApp * (__cdecl*)(void))" (__imp_??0wxAppInitializer@@QAE@P6APAVwxApp@@XZ@Z)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class wxApp *  wxTheApp" (__imp_?wxTheApp@@3PAVwxApp@@A)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl wxEntry(void *,void *,char *,int,bool)" (__imp_?wxEntry@@YAHPAX0PADH_N@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual unsigned long __thiscall wxFrame::GetDefaultIcon(void)const " (?GetDefaultIcon@wxFrame@@MBEKXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxFrame::IsMDIChild(void)const " (?IsMDIChild@wxFrame@@MBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::InternalSetMenuBar(void)" (?InternalSetMenuBar@wxFrame@@MAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::PositionToolBar(void)" (?PositionToolBar@wxFrame@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::PositionStatusBar(void)" (?PositionStatusBar@wxFrame@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::AttachMenuBar(class wxMenuBar *)" (?AttachMenuBar@wxFrame@@MAEXPAVwxMenuBar@@@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrameBase::DetachMenuBar(void)" (?DetachMenuBar@wxFrameBase@@MAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrameBase::PositionMenuBar(void)" (?PositionMenuBar@wxFrameBase@@MAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::DoGiveHelp(class wxString const &,bool)" (?DoGiveHelp@wxFrameBase@@UAEXABVwxString@@_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetToolBar(class wxToolBar *)" (?SetToolBar@wxFrameBase@@UAEXPAVwxToolBar@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxToolBar * __thiscall wxFrameBase::GetToolBar(void)const " (?GetToolBar@wxFrameBase@@UBEPAVwxToolBar@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxToolBar * __thiscall wxFrameBase::OnCreateToolBar(long,int,class wxString const &)" (?OnCreateToolBar@wxFrameBase@@UAEPAVwxToolBar@@JHABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxToolBar * __thiscall wxFrame::CreateToolBar(long,int,class wxString const &)" (?CreateToolBar@wxFrame@@UAEPAVwxToolBar@@JHABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusWidths(int,int const * const)" (?SetStatusWidths@wxFrameBase@@UAEXHQBH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetStatusText(class wxString const &,int)" (?SetStatusText@wxFrameBase@@UAEXABVwxString@@H@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxStatusBar * __thiscall wxFrameBase::GetStatusBar(void)const " (?GetStatusBar@wxFrameBase@@UBEPAVwxStatusBar@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxStatusBar * __thiscall wxFrame::OnCreateStatusBar(int,long,int,class wxString const &)" (?OnCreateStatusBar@wxFrame@@UAEPAVwxStatusBar@@HJHABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxStatusBar * __thiscall wxFrameBase::CreateStatusBar(int,long,int,class wxString const &)" (?CreateStatusBar@wxFrameBase@@UAEPAVwxStatusBar@@HJHABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxMenuBar * __thiscall wxFrameBase::GetMenuBar(void)const " (?GetMenuBar@wxFrameBase@@UBEPAVwxMenuBar@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrameBase::SetMenuBar(class wxMenuBar *)" (?SetMenuBar@wxFrameBase@@UAEXPAVwxMenuBar@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::SendSizeEvent(void)" (?SendSizeEvent@wxFrame@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxFrameBase::IsOneOfBars(class wxWindow const *)const " (?IsOneOfBars@wxFrameBase@@MBE_NPBVwxWindow@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::IsFullScreen(void)const " (?IsFullScreen@wxTopLevelWindowMSW@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxFrame::ShowFullScreen(bool,long)" (?ShowFullScreen@wxFrame@@UAE_N_NJ@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetIcons(class wxIconBundle const &)" (?SetIcons@wxTopLevelWindowMSW@@UAEXABVwxIconBundle@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::SetIcon(class wxIcon const &)" (?SetIcon@wxTopLevelWindowMSW@@UAEXABVwxIcon@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::IsIconized(void)const " (?IsIconized@wxTopLevelWindowMSW@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::IsMaximized(void)const " (?IsMaximized@wxTopLevelWindowMSW@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Iconize(bool)" (?Iconize@wxTopLevelWindowMSW@@UAEX_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Restore(void)" (?Restore@wxTopLevelWindowMSW@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxTopLevelWindowMSW::Maximize(bool)" (?Maximize@wxTopLevelWindowMSW@@UAEX_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall wxWindow::OnCtlColor(unsigned long,unsigned long,unsigned int,unsigned int,unsigned int,long)" (?OnCtlColor@wxWindow@@UAEKKKIIIJ@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::MSWDestroyWindow(void)" (?MSWDestroyWindow@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxFrame::MSWTranslateMessage(void * *)" (?MSWTranslateMessage@wxFrame@@MAE_NPAPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWProcessMessage(void * *)" (?MSWProcessMessage@wxWindow@@UAE_NPAPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWShouldPreProcessMessage(void * *)" (?MSWShouldPreProcessMessage@wxWindow@@UAE_NPAPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall wxWindow::MSWDefWindowProc(unsigned int,unsigned int,long)" (?MSWDefWindowProc@wxWindow@@UAEJIIJ@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall wxFrame::MSWWindowProc(unsigned int,unsigned int,long)" (?MSWWindowProc@wxFrame@@MAEJIIJ@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnMeasureItem(int,void * *)" (?MSWOnMeasureItem@wxWindow@@UAE_NHPAPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnDrawItem(int,void * *)" (?MSWOnDrawItem@wxWindow@@UAE_NHPAPAX@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnNotify(int,long,long *)" (?MSWOnNotify@wxWindow@@UAE_NHJPAJ@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWOnScroll(int,unsigned short,unsigned short,unsigned long)" (?MSWOnScroll@wxWindow@@UAE_NHGGK@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetupColours(void)" (?SetupColours@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::AdoptAttributesFromHWND(void)" (?AdoptAttributesFromHWND@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxWindow * __thiscall wxWindow::CreateWindowFromHWND(class wxWindow *,unsigned long)" (?CreateWindowFromHWND@wxWindow@@UAEPAV1@PAV1@K@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::MSWCommand(unsigned int,unsigned short)" (?MSWCommand@wxWindow@@UAE_NIG@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual unsigned long __thiscall wxTopLevelWindowMSW::MSWGetParent(void)const " (?MSWGetParent@wxTopLevelWindowMSW@@MBEKXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual unsigned long __thiscall wxTopLevelWindowMSW::MSWGetStyle(long,unsigned long *)const " (?MSWGetStyle@wxTopLevelWindowMSW@@MBEKJPAK@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::ContainsHWND(unsigned long)const " (?ContainsHWND@wxWindow@@UBE_NK@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::LoadNativeDialog(class wxWindow *,int &)" (?LoadNativeDialog@wxWindow@@UAE_NPAV1@AAH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::LoadNativeDialog(class wxWindow *,class wxString const &)" (?LoadNativeDialog@wxWindow@@UAE_NPAV1@ABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::DragAcceptFiles(bool)" (?DragAcceptFiles@wxWindow@@UAEX_N@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindowBase::AdjustForParentClientOrigin(int &,int &,int)const " (?AdjustForParentClientOrigin@wxWindowBase@@MBEXAAH0H@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::DoPopupMenu(class wxMenu *,int,int)" (?DoPopupMenu@wxWindow@@UAE_NPAVwxMenu@@HH@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoSetToolTip(class wxToolTip *)" (?DoSetToolTip@wxWindow@@MAEXPAVwxToolTip@@@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoMoveWindow(int,int,int,int)" (?DoMoveWindow@wxWindow@@MAEXHHHH@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::DoSetClientSize(int,int)" (?DoSetClientSize@wxFrame@@MAEXHH@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoSetSize(int,int,int,int,int)" (?DoSetSize@wxWindow@@MAEXHHHHH@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual class wxSize  __thiscall wxWindowBase::DoGetBestSize(void)const " (?DoGetBestSize@wxWindowBase@@MBE?AVwxSize@@XZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxFrame::DoGetClientSize(int *,int *)const " (?DoGetClientSize@wxFrame@@MBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoGetSize(int *,int *)const " (?DoGetSize@wxWindow@@MBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoGetPosition(int *,int *)const " (?DoGetPosition@wxWindow@@MBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoReleaseMouse(void)" (?DoReleaseMouse@wxWindow@@MAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxWindow::DoCaptureMouse(void)" (?DoCaptureMouse@wxWindow@@MAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual enum wxHitTest  __thiscall wxWindowBase::DoHitTest(int,int)const " (?DoHitTest@wxWindowBase@@MBE?AW4wxHitTest@@HH@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxTopLevelWindowBase::DoScreenToClient(int *,int *)const " (?DoScreenToClient@wxTopLevelWindowBase@@MBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxTopLevelWindowBase::DoClientToScreen(int *,int *)const " (?DoClientToScreen@wxTopLevelWindowBase@@MBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual enum wxBorder  __thiscall wxWindowBase::GetDefaultBorder(void)const " (?GetDefaultBorder@wxWindowBase@@MBE?AW4wxBorder@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall wxWindow::GetHandle(void)const " (?GetHandle@wxWindow@@UBEKXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Layout(void)" (?Layout@wxWindowBase@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetPositionConstraint(int *,int *)const " (?GetPositionConstraint@wxWindowBase@@UBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetClientSizeConstraint(int *,int *)const " (?GetClientSizeConstraint@wxWindowBase@@UBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::GetSizeConstraint(int *,int *)const " (?GetSizeConstraint@wxWindowBase@@UBEXPAH0@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::MoveConstraint(int,int)" (?MoveConstraint@wxWindowBase@@UAEXHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetSizeConstraint(int,int,int,int)" (?SetSizeConstraint@wxWindowBase@@UAEXHHHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::DoPhase(int)" (?DoPhase@wxWindowBase@@UAE_NH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::LayoutPhase2(int *)" (?LayoutPhase2@wxWindowBase@@UAE_NPAH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::LayoutPhase1(int *)" (?LayoutPhase1@wxWindowBase@@UAE_NPAH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetConstraintSizes(bool)" (?SetConstraintSizes@wxWindowBase@@UAEX_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxDropTarget * __thiscall wxWindowBase::GetDropTarget(void)const " (?GetDropTarget@wxWindowBase@@UBEPAVwxDropTarget@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetDropTarget(class wxDropTarget *)" (?SetDropTarget@wxWindow@@UAEXPAVwxDropTarget@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::ScrollPages(int)" (?ScrollPages@wxWindow@@UAE_NH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::ScrollLines(int)" (?ScrollLines@wxWindow@@UAE_NH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::ScrollWindow(int,int,class wxRect const *)" (?ScrollWindow@wxWindow@@UAEXHHPBVwxRect@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollRange(int)const " (?GetScrollRange@wxWindow@@UBEHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollThumb(int)const " (?GetScrollThumb@wxWindow@@UBEHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetScrollPos(int)const " (?GetScrollPos@wxWindow@@UBEHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetScrollPos(int,int,bool)" (?SetScrollPos@wxWindow@@UAEXHH_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetScrollbar(int,int,int,int,bool)" (?SetScrollbar@wxWindow@@UAEXHHHH_N@Z)
basic.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
)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetCharWidth(void)const " (?GetCharWidth@wxWindow@@UBEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindow::GetCharHeight(void)const " (?GetCharHeight@wxWindow@@UBEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::SetFont(class wxFont const &)" (?SetFont@wxWindow@@UAE_NABVwxFont@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::SetCursor(class wxCursor const &)" (?SetCursor@wxWindow@@UAE_NABVwxCursor@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::SetForegroundColour(class wxColour const &)" (?SetForegroundColour@wxWindowBase@@UAE_NABVwxColour@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::SetBackgroundColour(class wxColour const &)" (?SetBackgroundColour@wxWindowBase@@UAE_NABVwxColour@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::PrepareDC(class wxDC &)" (?PrepareDC@wxWindowBase@@UAEXAAVwxDC@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Thaw(void)" (?Thaw@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Freeze(void)" (?Freeze@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Clear(void)" (?Clear@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Update(void)" (?Update@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Refresh(bool,class wxRect const *)" (?Refresh@wxWindow@@UAEX_NPBVwxRect@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::HasCapture(void)const " (?HasCapture@wxWindowBase@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::WarpPointer(int,int)" (?WarpPointer@wxWindow@@UAEXHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetAcceleratorTable(class wxAcceleratorTable const &)" (?SetAcceleratorTable@wxWindowBase@@UAEXABVwxAcceleratorTable@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::InitDialog(void)" (?InitDialog@wxWindowBase@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::TransferDataFromWindow(void)" (?TransferDataFromWindow@wxWindowBase@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::TransferDataToWindow(void)" (?TransferDataToWindow@wxWindowBase@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::Validate(void)" (?Validate@wxWindowBase@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxValidator * __thiscall wxWindowBase::GetValidator(void)" (?GetValidator@wxWindowBase@@UAEPAVwxValidator@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetValidator(class wxValidator const &)" (?SetValidator@wxWindowBase@@UAEXABVwxValidator@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::RemoveChild(class wxWindowBase *)" (?RemoveChild@wxWindowBase@@UAEXPAV1@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::AddChild(class wxWindowBase *)" (?AddChild@wxWindowBase@@UAEXPAV1@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::Reparent(class wxWindowBase *)" (?Reparent@wxWindow@@UAE_NPAVwxWindowBase@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowBase::IsTopLevel(void)const " (?IsTopLevel@wxTopLevelWindowBase@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetTmpDefaultItem(class wxWindow *)" (?SetTmpDefaultItem@wxWindowBase@@UAEXPAVwxWindow@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxWindow * __thiscall wxWindowBase::SetDefaultItem(class wxWindow *)" (?SetDefaultItem@wxWindowBase@@UAEPAVwxWindow@@PAV2@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxWindow * __thiscall wxWindowBase::GetDefaultItem(void)const " (?GetDefaultItem@wxWindowBase@@UBEPAVwxWindow@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::AcceptsFocusFromKeyboard(void)const " (?AcceptsFocusFromKeyboard@wxWindowBase@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::AcceptsFocus(void)const " (?AcceptsFocus@wxWindowBase@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetFocusFromKbd(void)" (?SetFocusFromKbd@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetFocus(void)" (?SetFocus@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::GetThemeEnabled(void)const " (?GetThemeEnabled@wxWindowBase@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetThemeEnabled(bool)" (?SetThemeEnabled@wxWindowBase@@UAEX_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::MakeModal(bool)" (?MakeModal@wxWindowBase@@UAEX_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetExtraStyle(long)" (?SetExtraStyle@wxWindowBase@@UAEXJ@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindowBase::IsRetained(void)const " (?IsRetained@wxWindowBase@@UBE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall wxWindowBase::GetWindowStyleFlag(void)const " (?GetWindowStyleFlag@wxWindowBase@@UBEJXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetWindowStyleFlag(long)" (?SetWindowStyleFlag@wxWindow@@UAEXJ@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxWindow::Enable(bool)" (?Enable@wxWindow@@UAE_N_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowMSW::Show(bool)" (?Show@wxTopLevelWindowMSW@@UAE_N_N@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxSize  __thiscall wxWindowBase::GetBestVirtualSize(void)const " (?GetBestVirtualSize@wxWindowBase@@UBE?AVwxSize@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxSize  __thiscall wxWindowBase::DoGetVirtualSize(void)const " (?DoGetVirtualSize@wxWindowBase@@UBE?AVwxSize@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::DoSetVirtualSize(int,int)" (?DoSetVirtualSize@wxWindowBase@@UAEXHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxSize  __thiscall wxTopLevelWindowBase::GetMaxSize(void)const " (?GetMaxSize@wxTopLevelWindowBase@@UBE?AVwxSize@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindowBase::GetMinHeight(void)const " (?GetMinHeight@wxWindowBase@@UBEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxWindowBase::GetMinWidth(void)const " (?GetMinWidth@wxWindowBase@@UBEHXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetVirtualSizeHints(int,int,int,int)" (?SetVirtualSizeHints@wxWindowBase@@UAEXHHHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetSizeHints(int,int,int,int,int,int)" (?SetSizeHints@wxWindowBase@@UAEXHHHHHH@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::FitInside(void)" (?FitInside@wxWindowBase@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::Fit(void)" (?Fit@wxWindowBase@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxPoint  __thiscall wxFrameBase::GetClientAreaOrigin(void)const " (?GetClientAreaOrigin@wxFrameBase@@UBE?AVwxPoint@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::Lower(void)" (?Lower@wxWindow@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxFrame::Raise(void)" (?Raise@wxFrame@@UAEXXZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxString  __thiscall wxWindowBase::GetName(void)const " (?GetName@wxWindowBase@@UBE?AVwxString@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetName(class wxString const &)" (?SetName@wxWindowBase@@UAEXABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxString  __thiscall wxWindowBase::GetLabel(void)const " (?GetLabel@wxWindowBase@@UBE?AVwxString@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindowBase::SetLabel(class wxString const &)" (?SetLabel@wxWindowBase@@UAEXABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxString  __thiscall wxWindow::GetTitle(void)const " (?GetTitle@wxWindow@@UBE?AVwxString@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxWindow::SetTitle(class wxString const &)" (?SetTitle@wxWindow@@UAEXABVwxString@@@Z)
basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxTopLevelWindowBase::Destroy(void)" (?Destroy@wxTopLevelWindowBase@@UAE_NXZ)
basic.obj : error LNK2001: unresolved external symbol "protected: virtual struct wxEventTable const * __thiscall wxFrame::GetEventTable(void)const " (?GetEventTable@wxFrame@@MBEPBUwxEventTable@@XZ)
basic.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxFrame::GetClassInfo(void)const " (?GetClassInfo@wxFrame@@UBEPAVwxClassInfo@@XZ)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxAppBase::SetTopWindow(class wxWindow *)" (__imp_?SetTopWindow@wxAppBase@@QAEXPAVwxWindow@@@Z)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const  wxStatusLineNameStr" (__imp_?wxStatusLineNameStr@@3PBDB)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxFrame::wxFrame(class wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize const &,long,class wxString const &)" (__imp_??0wxFrame@@
QAE@PAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@J1@Z)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class wxPoint const  wxDefaultPosition" (__imp_?wxDefaultPosition@@3VwxPoint@@B)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class wxSize const  wxDefaultSize" (__imp_?wxDefaultSize@@3VwxSize@@B)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *,unsigned int)" (__imp_??0wxString@@QAE@PBDI@Z)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const  wxFrameNameStr" (__imp_?wxFrameNameStr@@3PBDB)
basic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxFrame::~wxFrame(void)" (__imp_??1wxFrame@@UAE@XZ)
Debug/basic.exe : fatal error LNK1120: 209 unresolved externals
Error executing link.exe.


i used  the following command for the compilation in linux
gcc <filename.cpp> `wx-config --libs --cflags` -o <filename>



Of course, I have tried to find an answer on wxWindows's
home page and many other pages on wxwindows programming link errors, but all install instructions and "readme" files give no details of these questions.
This is why I post this question here, and I hope
for helpful suggestions...

Thank you very much in advance...


lkr

0
Question by:lkr_aisro
    3 Comments
     
    LVL 45

    Expert Comment

    by:Kdo

    It sounds like you didn't attempt to link the wxWindows' library.  Do you have the library on your system?

    Kent
    0
     

    Author Comment

    by:lkr_aisro
    thank u very much for ur immediate response sir
    i dont have libray in my system.what i will do for intalling in my system?
    i hope u will give a solution to me
     thank you
    lkr
    0
     
    LVL 45

    Accepted Solution

    by:

    The errors that you see:

    basic.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::ProcessMessage(void * *)" (?ProcessMessage@wxApp@@UAE_NPAPAX@Z)
    basic.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxApp::DoMessage(void * *)" (?DoMessage@wxApp@@UAEXPAPAX@Z)
    etc...

    are very obviously C++ errors.  The routines seem to be part of the base system that would be on the "standard" library.

    Have you tried to re-install the product?  If not, give it a try.

    Also, check the "README" file or installation instructions.  Any special steps required to access the library should be in one of these files.


    Good Luck,
    Kent
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    845 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    5 Experts available now in Live!

    Get 1:1 Help Now