I have wxWidgets 2.8.11 installed on my Windows XP box. I am using MSYS/mingw. 
I try building wxFreeChart v1.6 by first doing a "configure". I get the 
message:

 ----------------------------------------------------------------
  Configuration for WXFREECHART 1.4 successfully completed.
  Summary of main configuration settings for WXFREECHART:
  - DEBUG build
  - ANSI mode
  - STATIC mode

  The wxWidgets build which will be used by WXFREECHART 1.4
  has the following settings:
  - DEBUG build
  - ANSI mode
  - STATIC mode
  - VERSION: 2.8.11
  - PORT: msw

  Now, just run make.
 ----------------------------------------------------------------

This seems OK... although I donk know why it says WXFREECHART 1.4, since I 
downloaded version 1.6.

When I do make, it seems to build the library OK, then it compiles the samples 
OK. When it tried to link the demos, I get an error:

.
.
.
g++ -o sample/wxFreeChartDemo_lib.exe wxFreeChartDemo_lib_bardemos.o 
wxFreeChartDemo_lib_bubbledemos.o wxFreeChartDemo_lib_combinedaxisdemos.o 
wxFreeChartDemo_lib_demo.o wxFreeChartDemo_lib_democollection.o 
wxFreeChartDemo_lib_ganttdemos.o wxFreeChartDemo_lib_markersdemos.o 
wxFreeChartDemo_lib_multipleaxisdemos.o wxFreeChartDemo_lib_ohlcdemos.o 
wxFreeChartDemo_lib_timeseriesdemos.o wxFreeChartDemo_lib_xydemos.o  -L./lib -
L./lib -mwindows    -lwxcode_mswd_freechart-2.8 -L/usr/local/lib  -mthreads  -
Wl,--subsystem,windows -mwindows /usr/local/lib/libwx_mswd_core-
2.8.a /usr/local/lib/libwx_based-2.8.a /usr/local/lib/libwx_mswd_aui-2.8
.a -lwxregexd-2.8 -lwxexpatd-2.8 -lwxtiffd-2.8 -lwxjpegd-2.8 -lwxpngd-2.8 -
lwxzlibd-2.8 -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -
lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32

wxFreeChartDemo_lib_demo.o: In function 
`ZN9MainFrame7OnAboutER14wxCommandEvent': 
d:/gh/freechart/./sample/demo.cpp:179: undefined reference to `wxAboutBox
(wxAboutDialogInfo const&)'
D:/GH/msys/1.0/local/lib/libwx_mswd_aui-2.8.a(auilib_auibar.o): In function 
`ZNK12wxWindowBase14GetVirtualSizeEv':
d:/gh/wx/wxWidgets-2.8.11/MY_FILES/../include/wx/dcbuffer.h:
(.text$_ZN12wxBufferedDC4InitEP4wxDCRK6wxSizei[wxBufferedDC::Init(wxDC*, 
wxSize const&, int)]+0x39):
 undefined reference to `wxBufferedDC::UseBuffer(int, int)'
D:/GH/msys/1.0/local/lib/libwx_mswd_aui-2.8.a(auilib_floatpane.o): In function 
`Z41__static_initialization_and_destruction_0ii':
d:/gh/wx/wxWidgets-2.8.11/MY_FILES/../src/aui/floatpane.cpp:39: undefined 
reference to `wxMiniFrame::ms_classInfo'
D:/GH/msys/1.0/local/lib/libwx_mswd_aui-2.8.a(auilib_floatpane.o): In function 
`ZNK12wxWindowBase10IsRetainedEv':
d:/gh/wx/wxWidgets-2.8.11/MY_FILES/../include/wx/window.h:
(.text$_ZN11wxMiniFrameD2Ev[wxMiniFrame::~wxMiniFrame()]+0xb): undefined 
reference to `vtable for wxMiniFrame'
d:/gh/wx/wxWidgets-2.8.11/MY_FILES/../include/wx/window.h:
(.text$_ZN11wxMiniFram
eC2EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelS4_[wxMiniFrame::wxMiniFrame
(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long, 
wxString const&)]+0x4c): undefined reference to `vtable for wxMiniFrame'
collect2: ld returned 1 exit status
make: *** [sample/wxFreeChartDemo_lib.exe] Error 1

__________________

Any ideas what is going on?





------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to