wxFreeChart Link Error while building as DLL with wxWidget3

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
srinivas
In need of some credit
In need of some credit
Posts: 3
Joined: Sat Oct 25, 2014 11:58 am

wxFreeChart Link Error while building as DLL with wxWidget3

Postby srinivas » Fri Dec 05, 2014 9:41 am

I am trying to build wxFreeChart1.6 as dubug dll project using wxwidgets3.0.0 in visual studio12 but i am getting link error could some help me out of this.
link errors

Code: Select all

1>     Creating library ..\..\lib\vc_dll\wxFreeChart.lib and object ..\..\lib\vc_dll\wxFreeChart.exp
1>xyarearenderer.obj : error LNK2001: unresolved external symbol "class wxBrushList * wxTheBrushList" (?wxTheBrushList@@3PAVwxBrushList@@A)
1>renderer.obj : error LNK2019: unresolved external symbol "class wxPenList * wxThePenList" (?wxThePenList@@3PAVwxPenList@@A) referenced in function "public: struct std::_Wrap_alloc<class std::allocator<wchar_t> > __thiscall std::_Wrap_alloc<class std::allocator<wchar_t> >::select_on_container_copy_construction(void)const " (?select_on_container_copy_construction@?$_Wrap_alloc@V?$allocator@_W@std@@@std@@QBE?AU12@XZ)
1>xyplot.obj : error LNK2001: unresolved external symbol "void (__cdecl* wxTheAssertHandler)(class wxString const &,int,class wxString const &,class wxString const &,class wxString const &)" (?wxTheAssertHandler@@3P6AXABVwxString@@H000@ZA)
1>categoryaxis.obj : error LNK2001: unresolved external symbol "void (__cdecl* wxTheAssertHandler)(class wxString const &,int,class wxString const &,class wxString const &,class wxString const &)" (?wxTheAssertHandler@@3P6AXABVwxString@@H000@ZA)
1>xyplot.obj : error LNK2001: unresolved external symbol "bool wxTrapInAssert" (?wxTrapInAssert@@3_NA)
1>xyplot.obj : error LNK2001: unresolved external symbol "class wxMBConv * wxConvLibcPtr" (?wxConvLibcPtr@@3PAVwxMBConv@@A)
1>compdateaxis.obj : error LNK2001: unresolved external symbol "class wxMBConv * wxConvLibcPtr" (?wxConvLibcPtr@@3PAVwxMBConv@@A)
1>xyplot.obj : error LNK2001: unresolved external symbol "public: static unsigned int const wxString::npos" (?npos@wxString@@2IB)
1>xyrenderer.obj : error LNK2001: unresolved external symbol "public: static unsigned int const wxString::npos" (?npos@wxString@@2IB)
1>xyplot.obj : error LNK2001: unresolved external symbol "private: static unsigned long wxThread::ms_idMainThread" (?ms_idMainThread@wxThread@@0KA)
1>xyrenderer.obj : error LNK2001: unresolved external symbol "private: static unsigned long wxThread::ms_idMainThread" (?ms_idMainThread@wxThread@@0KA)
1>xyplot.obj : error LNK2001: unresolved external symbol "char const * const wxLOG_COMPONENT" (?wxLOG_COMPONENT@@3PBDB)
1>xyplot.obj : error LNK2019: unresolved external symbol "private: static bool wxLog::ms_doLog" (?ms_doLog@wxLog@@0_NA) referenced in function "public: virtual __thiscall RefObject::~RefObject(void)" (??1RefObject@@UAE@XZ)
1>xyrenderer.obj : error LNK2001: unresolved external symbol "private: static bool wxLog::ms_doLog" (?ms_doLog@wxLog@@0_NA)
1>xyrenderer.obj : error LNK2001: unresolved external symbol "private: static class wxClassInfo * wxClassInfo::sm_first" (?sm_first@wxClassInfo@@0PAV1@A)
1>xysimpledataset.obj : error LNK2019: unresolved external symbol "private: static class wxClassInfo * wxClassInfo::sm_first" (?sm_first@wxClassInfo@@0PAV1@A) referenced in function __unwindfunclet$??0?$Observable@VAxisObserver@@@@QAE@XZ$0
1>pieplot.obj : error LNK2001: unresolved external symbol "protected: static class wxStockGDI * wxStockGDI::ms_instance" (?ms_instance@wxStockGDI@@1PAV1@A)
1>plot.obj : error LNK2001: unresolved external symbol "protected: static class wxStockGDI * wxStockGDI::ms_instance" (?ms_instance@wxStockGDI@@1PAV1@A)
1>dateaxis.obj : error LNK2001: unresolved external symbol "class wxDateTime const wxDefaultDateTime" (?wxDefaultDateTime@@3VwxDateTime@@B)
1>compdateaxis.obj : error LNK2001: unresolved external symbol "private: static long const wxDateTime::TIME_T_FACTOR" (?TIME_T_FACTOR@wxDateTime@@0JB)
1>dateaxis.obj : error LNK2001: unresolved external symbol "private: static long const wxDateTime::TIME_T_FACTOR" (?TIME_T_FACTOR@wxDateTime@@0JB)
1>chartpanel.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxWindow::sm_eventTable" (?sm_eventTable@wxWindow@@1UwxEventTable@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?wxEVT_NULL@@3HB)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxFocusEvent> const wxEVT_SET_FOCUS" (?wxEVT_SET_FOCUS@@3V?$wxEventTypeTag@VwxFocusEvent@@@@B)
1>chartsplitpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxFocusEvent> const wxEVT_SET_FOCUS" (?wxEVT_SET_FOCUS@@3V?$wxEventTypeTag@VwxFocusEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxChildFocusEvent> const wxEVT_CHILD_FOCUS" (?wxEVT_CHILD_FOCUS@@3V?$wxEventTypeTag@VwxChildFocusEvent@@@@B)
1>chartsplitpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxChildFocusEvent> const wxEVT_CHILD_FOCUS" (?wxEVT_CHILD_FOCUS@@3V?$wxEventTypeTag@VwxChildFocusEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxNavigationKeyEvent> const wxEVT_NAVIGATION_KEY" (?wxEVT_NAVIGATION_KEY@@3V?$wxEventTypeTag@VwxNavigationKeyEvent@@@@B)
1>chartsplitpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxNavigationKeyEvent> const wxEVT_NAVIGATION_KEY" (?wxEVT_NAVIGATION_KEY@@3V?$wxEventTypeTag@VwxNavigationKeyEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_TOP" (?wxEVT_SCROLLWIN_TOP@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_BOTTOM" (?wxEVT_SCROLLWIN_BOTTOM@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_LINEUP" (?wxEVT_SCROLLWIN_LINEUP@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_LINEDOWN" (?wxEVT_SCROLLWIN_LINEDOWN@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_PAGEUP" (?wxEVT_SCROLLWIN_PAGEUP@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_PAGEDOWN" (?wxEVT_SCROLLWIN_PAGEDOWN@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_THUMBTRACK" (?wxEVT_SCROLLWIN_THUMBTRACK@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxScrollWinEvent> const wxEVT_SCROLLWIN_THUMBRELEASE" (?wxEVT_SCROLLWIN_THUMBRELEASE@@3V?$wxEventTypeTag@VwxScrollWinEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxSizeEvent> const wxEVT_SIZE" (?wxEVT_SIZE@@3V?$wxEventTypeTag@VwxSizeEvent@@@@B)
1>chartpanel.obj : error LNK2001: unresolved external symbol "class wxEventTypeTag<class wxPaintEvent> const wxEVT_PAINT" (?wxEVT_PAINT@@3V?$wxEventTypeTag@VwxPaintEvent@@@@B)
1>chartsplitpanel.obj : error LNK2019: unresolved external symbol "public: class wxAuiPaneButtonArray & __thiscall wxAuiPaneButtonArray::operator=(class wxAuiPaneButtonArray const &)" (??4wxAuiPaneButtonArray@@QAEAAV0@ABV0@@Z) referenced in function "public: __thiscall wxAuiPaneInfo::wxAuiPaneInfo(class wxAuiPaneInfo const &)" (??0wxAuiPaneInfo@@QAE@ABV0@@Z)
1>chartsplitpanel.obj : error LNK2019: unresolved external symbol "public: __thiscall wxAuiPaneButtonArray::~wxAuiPaneButtonArray(void)" (??1wxAuiPaneButtonArray@@QAE@XZ) referenced in function __unwindfunclet$??0wxAuiPaneInfo@@QAE@ABV0@@Z$3
1>chartsplitpanel.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wxAuiPaneInfo::IsValid(void)const " (?IsValid@wxAuiPaneInfo@@QBE_NXZ) referenced in function "public: class wxAuiPaneInfo & __thiscall wxAuiPaneInfo::DefaultPane(void)" (?DefaultPane@wxAuiPaneInfo@@QAEAAV1@XZ)
1>chartsplitpanel.obj : error LNK2019: unresolved external symbol "public: __thiscall wxAuiManager::wxAuiManager(class wxWindow *,unsigned int)" (??0wxAuiManager@@QAE@PAVwxWindow@@I@Z) referenced in function "public: __thiscall wxChartSplitPanel::wxChartSplitPanel(class wxWindow *,int,class wxPoint const &,class wxSize const &)" (??0wxChartSplitPanel@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@@Z)
1>chartsplitpanel.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wxAuiManager::AddPane(class wxWindow *,class wxAuiPaneInfo const &)" (?AddPane@wxAuiManager@@QAE_NPAVwxWindow@@ABVwxAuiPaneInfo@@@Z) referenced in function "public: void __thiscall wxChartSplitPanel::AddPlot(class Plot *,int,bool)" (?AddPlot@wxChartSplitPanel@@QAEXPAVPlot@@H_N@Z)
1>chartsplitpanel.obj : error LNK2019: unresolved external symbol "public: void __thiscall wxAuiManager::Update(void)" (?Update@wxAuiManager@@QAEXXZ) referenced in function "public: __thiscall wxChartSplitPanel::wxChartSplitPanel(class wxWindow *,int,class wxPoint const &,class wxSize const &)" (??0wxChartSplitPanel@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@@Z)
1>..\..\lib\vc_dll\wxFreeChart.dll : fatal error LNK1120: 39 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Return to “wxCode”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests