Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Development
  3. external symbol error in AlarmBrowser ,Dashboard and

external symbol error in AlarmBrowser ,Dashboard and

Scheduled Pinned Locked Moved Development
windows
1 Posts 1 Posters 20.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    A
    antonyvasanth
    wrote on last edited by
    #1

    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.

    --------------------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)

    --------------------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)

    --------------------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.

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups