Link errors while building wxFreechart as dll project

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

Link errors while building wxFreechart as dll project

Post by srinivas »

Getting link errors while building wxFreecChart as dll project using wxWidgets3.00 in visual studio

Code: Select all

Error	59	error C2491: 'Axis::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\axis\axis.cpp	14
Error	199	error C2491: 'BarRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\bars\barrenderer.cpp	220
Error	96	error C2491: 'CategoryAxis::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\axis\categoryaxis.cpp	13
Error	212	error C2491: 'CategoryDataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\category\categorydataset.cpp	12
Error	237	error C2491: 'CategorySimpleDataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\category\categorysimpledataset.cpp	47
Error	306	error C2491: 'Dataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\dataset.cpp	26
Error	126	error C2491: 'DateAxis::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\axis\dateaxis.cpp	12
Error	337	error C2491: 'GanttDataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\gantt\ganttdataset.cpp	12
Error	357	error C2491: 'GanttRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\gantt\ganttrenderer.cpp	12
Error	138	error C2491: 'LabelAxis::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\axis\labelaxis.cpp	13
Error	381	error C2491: 'Legend::labelsSpacing' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\legend.cpp	12
Error	150	error C2491: 'LogarithmicNumberAxis::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\axis\logarithmicnumberaxis.cpp	13
Error	161	error C2491: 'NumberAxis::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\axis\numberaxis.cpp	46
Error	431	error C2491: 'OHLCDataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\ohlc\ohlcdataset.cpp	12
Error	466	error C2491: 'Renderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\renderer.cpp	12
Error	264	error C2491: 'wxChartPanel::sm_eventHashTable' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\chartpanel.cpp	33
Error	261	error C2491: 'wxChartPanel::sm_eventTable' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\chartpanel.cpp	33
Error	267	error C2491: 'wxChartPanel::sm_eventTableEntries' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\chartpanel.cpp	33
Error	551	error C2491: 'XYAreaRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xyarearenderer.cpp	16
Error	558	error C2491: 'XYDataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xydataset.cpp	13
Error	582	error C2491: 'XYDynamicDataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xydynamicdataset.cpp	17
Error	570	error C2491: 'XYDynamicSerie::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xydynamicdataset.cpp	14
Error	622	error C2491: 'XYHistoRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xyhistorenderer.cpp	13
Error	635	error C2491: 'XYLineRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xylinerenderer.cpp	13
Error	632	error C2491: 'XYLineRendererBase::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xylinerenderer.cpp	12
Error	638	error C2491: 'XYLineStepRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xylinerenderer.cpp	14
Error	663	error C2491: 'XYRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xyrenderer.cpp	12
Error	677	error C2491: 'XYSimpleDataset::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xy\xysimpledataset.cpp	16
Error	507	error C2491: 'XYZRenderer::ms_classInfo' : definition of dllimport static data member not allowed	D:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\xyz\xyzrenderer.cpp	13
	696	IntelliSense: cannot define dllimport entity	d:\wxWidgets-3.0.0\wxWidgets-3.0.0\src\chart\category\categorysimpledataset.cpp	47
Post Reply