Huge Problem with compiling wxFreeChart

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Earned a small fee
Earned a small fee
Posts: 10
Joined: Wed Aug 04, 2021 11:47 am

Huge Problem with compiling wxFreeChart

Post by codeks » Wed Aug 04, 2021 11:51 am

I have installed latest wxWidgets 3.1.5 and GTK3 with prefix to a /home folder
and have configured wxFreeChart using

Code: Select all

--with-wxdir=/full/wxWidgets/prefix/path --with-wx-config=/full/wxWidgets/wx-config/path --prefix=/home/prefix/path
when I try to 'make' I get:

Code: Select all

./src/xy/xydynamicdataset.cpp: In member function ‘void XYDynamicSerie::AddXY(const wxRealPointArray&)’:
./src/xy/xydynamicdataset.cpp:99:34: error: expected ‘;’ before ‘if’
   99 |     WX_APPEND_ARRAY(m_data, data)
      |                                  ^
      |                                  ;
  100 | 
  101 |     if (m_dataset != NULL) {
Thanks in advance!!

Site Admin
Site Admin
Posts: 4082
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Huge Problem with compiling wxFreeChart

Post by DavidHart » Wed Aug 04, 2021 2:50 pm


Does ./src/xy/xydynamicdataset.cpp contain

Code: Select all

#include <wx/dynarray.h>
as that's what ... 7edd37a9c7 asks for?



Post Reply