Bugs item #2856540, was opened at 2009-09-10 16:49
Message generated for change (Tracker Item Submitted) made by cbrockman
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2856540&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Subversion TRUNK
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Charles Brockman (cbrockman)
Assigned to: Nobody/Anonymous (nobody)
Summary: [wxFreeChart] Files References Missing from MSVC Projects

Initial Comment:
In trying to build the wxFreeChart library and the sample program in Microsoft 
Visual C++ 2008 I received some linker errors due to missing file references in 
the WXFREECHART and wxFreeChartDemo_lib projects.

------ Build started: Project: wxFreeChartDemo_lib, Configuration: Static 
Unicode Debug Multilib Static Win32 ------
Linking...
democollection.obj : error LNK2001: unresolved external symbol "class ChartDemo 
* * bubbleDemos" (?bubbleDemos@@3PAPAVChartDemo@@A)
democollection.obj : error LNK2001: unresolved external symbol "int 
bubbleDemosCount" (?bubbleDemosCount@@3HA)
democollection.obj : error LNK2001: unresolved external symbol "class ChartDemo 
* * ganttDemos" (?ganttDemos@@3PAPAVChartDemo@@A)
democollection.obj : error LNK2001: unresolved external symbol "int 
ganttDemosCount" (?ganttDemosCount@@3HA)

To correct these errors I added bubbledemos.cpp and ganttdemos.cpp to the 
wxFreeChartDemo_lib project. With the next build I received these messages.

Linking...
bubbledemos.obj : error LNK2019: unresolved external symbol "public: __thiscall 
XYZRenderer::XYZRenderer(int,int)" (??0XYZRenderer@@q...@hh@Z) referenced in 
function "public: virtual class Chart * __thiscall BubbleDemo1::Create(void)" 
(?cre...@bubbledemo1@@UAEPAVChart@@XZ)
wxcode_msw28ud_freechart.lib(bubbleplot.obj) : error LNK2019: unresolved 
external symbol "public: void __thiscall XYZRenderer::Draw(class wxDC &,class 
wxRect,class Axis *,class Axis *,class XYZDataset *)" 
(?d...@xyzrenderer@@QAEXAAVwxDC@@VwxRect@@PAVAxis@@2PAVXYZDataset@@@Z) 
referenced in function "protected: virtual void __thiscall 
BubblePlot::DrawDatasets(class wxDC &,class wxRect)" 
(?drawdatas...@bubbleplot@@MAEXAAVwxDC@@VwxRect@@@Z)

I then added xyzrenderer.cpp and xyzrenderer.h to the WXFREECHART project. Now 
the sample program compiles, links and runs as expected.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2856540&group_id=51305

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to