Problems compiling wxFreeChart : undefined reference to Aui

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
robert
In need of some credit
In need of some credit
Posts: 8
Joined: Wed Dec 01, 2004 6:39 pm

Problems compiling wxFreeChart : undefined reference to Aui

Post by robert »

Hello,

I use wxWidgets 2.92 on Windows wich is compiled with mingw using the following commandline:

mingw32-make -f makefile.gcc SHELL=CMD MONOLITHIC=0 SHARED=1 UNICODE=1 BUILD=release

Now I wanted to use wxFreeChart from wxCode an compiled it like that:

mingw32-make -f makefile.gcc SHELL=CMD WX_UNICODE=1 WX_DEBUG=0 WX_SHARED=1 WX_MONOLITHIC=0

It compiles almost to the end and finds a problem in the chartsplitpanel with lots of undefined reference to AuiXXX
(like AuiManage, AuiPaneInfo and AuiPaneButtonArray).

Does anyone know what I am missing? Thanks a lot.

edit:

I had a closer look on the compile output and figured out, that the aui-lib was not included. So I looked for the appropriate part in the makefile.gcc and just added

-lwxmsw29u_aui

Now it compiles. But that should work without manually changing the makefile, shouldn't it?
Post Reply