external symbol error in AlarmBrowser ,Dashboard and

Started by antonyvasanth, December 10, 2008, 03:48:18 PM

Previous topic - Next topic

antonyvasanth

Hi victor ,

I have got the following link errors.I don't have idea on what library i have to add to overcome this error. please help me to resolve the same. Thanks. I am using wxWidgets 2.8.9 . I don't have the libraries for this version.



1.
--------------------Configuration: mcpAlarmBrowser - Win32 Debug--------------------
Linking...
   Creating library Debug/AlarmBrowser.lib and object Debug/AlarmBrowser.exp
LINK : warning LNK4049: locally defined symbol ""public: __thiscall wxEventHashTable::wxEventHashTable(struct wxEventTable const &)" (??0wxEventHashTable@@QAE@ABUwxEventTable@@@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: __thiscall wxEventHashTable::~wxEventHashTable(void)" (??1wxEventHashTable@@QAE@XZ)" imported
LINK : warning LNK4049: locally defined symbol ""int const wxEVT_NULL" (?wxEVT_NULL@@3HB)" imported
alarm_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxDCBase::DrawLabel(class wxString const &,class wxRect const &,int,int)" (__imp_?DrawLabel@wxDCBase@@QAEXABVwxString@@ABVwxRect@@HH@Z)
node_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxDCBase::DrawLabel(class wxString const &,class wxRect const &,int,int)" (__imp_?DrawLabel@wxDCBase@@QAEXABVwxString@@ABVwxRect@@HH@Z)
alarm_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxRect::wxRect(int,int,int,int)" (__imp_??0wxRect@@QAE@HHHH@Z)
node_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxRect::wxRect(int,int,int,int)" (__imp_??0wxRect@@QAE@HHHH@Z)

dashboard.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxSizer::Remove(class wxSizer *)" (?Remove@wxSizer@@UAE_NPAV1@@Z)
dashboard.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxSizer::Remove(int)" (?Remove@wxSizer@@UAE_NH@Z)
dashboard.obj : error LNK2001: unresolved external symbol "public: virtual class wxSizerItem * __thiscall wxSizer::Insert(unsigned int,class wxSizerItem *)" (?Insert@wxSizer@@UAEPAVwxSizerItem@@IPAV2@@Z)
dashboard.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxBoxSizer::GetClassInfo(void)const " (?GetClassInfo@wxBoxSizer@@UBEPAVwxClassInfo@@XZ)
dashboard.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxCommandEvent::~wxCommandEvent(void)" (__imp_??1wxCommandEvent@@UAE@XZ)
dashboard.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxEvtHandler::AddPendingEvent(class wxEvent &)" (__imp_?AddPendingEvent@wxEvtHandler@@QAEXAAVwxEvent@@@Z)

2.
--------------------Configuration: mcpObjectBrowser - Win32 Debug--------------------
Linking...
   Creating library Debug/ObjectBrowser.lib and object Debug/ObjectBrowser.exp

graphview.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxTimer::GetClassInfo(void)const " (?GetClassInfo@wxTimer@@UBEPAVwxClassInfo@@XZ)
nodelastval.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxTimer::GetClassInfo(void)const " (?GetClassInfo@wxTimer@@UBEPAVwxClassInfo@@XZ)
graphview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxTimer::wxTimer(class wxEvtHandler *,int)" (__imp_??0wxTimer@@QAE@PAVwxEvtHandler@@H@Z)
nodelastval.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxTimer::wxTimer(class wxEvtHandler *,int)" (__imp_??0wxTimer@@QAE@PAVwxEvtHandler@@H@Z)


view.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxControlBase::DoUpdateWindowUI(class wxUpdateUIEvent &)" (?DoUpdateWindowUI@wxControlBase@@UAEXAAVwxUpdateUIEvent@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxControlBase::SetFont(class wxFont const &)" (?SetFont@wxControlBase@@UAE_NABVwxFont@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxListCtrl::SetForegroundColour(class wxColour const &)" (?SetForegroundColour@wxListCtrl@@UAE_NABVwxColour@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxListCtrl::SetBackgroundColour(class wxColour const &)" (?SetBackgroundColour@wxListCtrl@@UAE_NABVwxColour@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual struct wxVisualAttributes __thiscall wxListCtrl::GetDefaultAttributes(void)const " (?GetDefaultAttributes@wxListCtrl@@UBE?AUwxVisualAttributes@@XZ)
view.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxListCtrl::SetWindowStyleFlag(long)" (?SetWindowStyleFlag@wxListCtrl@@UAEXJ@Z)

3.
--------------------Configuration: mcpDashboard - Win32 Debug--------------------
Linking...
   Creating library Debug/Dashboard.lib and object Debug/Dashboard.exp
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall wxListEvent::GetColumn(void)const " (__imp_?GetColumn@wxListEvent@@QBEHXZ)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxListView::ClearColumnImage(int)" (__imp_?ClearColumnImage@wxListView@@QAEXH@Z)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxListView::GetNextSelected(long)const " (__imp_?GetNextSelected@wxListView@@QBEJJ@Z)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned long __thiscall wxListCtrl::GetItemData(long)const " (__imp_?GetItemData@wxListCtrl@@QBEKJ@Z)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxListView::GetFirstSelected(void)const " (__imp_?GetFirstSelected@wxListView@@QBEJXZ)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall wxListCtrl::GetSelectedItemCount(void)const " (__imp_?GetSelectedItemCount@wxListCtrl@@QBEHXZ)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxImageList::~wxImageList(void)" (__imp_??1wxImageList@@UAE@XZ)
objview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxImageList::~wxImageList(void)" (__imp_??1wxImageList@@UAE@XZ)

overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxBoxSizer::wxBoxSizer(int)" (__imp_??0wxBoxSizer@@QAE@H@Z)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxBoxSizer::~wxBoxSizer(void)" (__imp_??1wxBoxSizer@@UAE@XZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxListCtrl::InsertItem(long,class wxString const &)" (__imp_?InsertItem@wxListCtrl@@QAEJJABVwxString@@@Z)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) bool __cdecl wxLaunchDefaultBrowser(class wxString const &,int)" (__imp_?wxLaunchDefaultBrowser@@YA_NABVwxString@@H@Z)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall wxStringBase::c_str(void)const " (__imp_?c_str@wxStringBase@@QBEPBDXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxTextUrlEvent::GetURLStart(void)const " (__imp_?GetURLStart@wxTextUrlEvent@@QBEJXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxTextUrlEvent::GetURLEnd(void)const " (__imp_?GetURLEnd@wxTextUrlEvent@@QBEJXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMouseEvent::LeftDown(void)const " (__imp_?LeftDown@wxMouseEvent@@QBE_NXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class wxMouseEvent const & __thiscall wxTextUrlEvent::GetMouseEvent(void)const " (__imp_?GetMouseEvent@wxTextUrlEvent@@QBEABVwxMouseEvent@@XZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxTextCtrl::~wxTextCtrl(void)" (__imp_??1wxTextCtrl@@UAE@XZ)

Regards,

Antony Vasanth.