wxAUI and Linux

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.
archivator
Earned a small fee
Earned a small fee
Posts: 14
Joined: Fri Jul 14, 2006 8:56 am

Post by archivator »

It appears that I didn't have the -Wall flag on, so I missed some important warnings:

Code: Select all

g++ -Wall `wx-config --cflags` -g -W  -I/usr/local/lib/wx/include/gtk2-unicode-debug-2.7/ -I/usr/include -I/usr/local/include/wx-2.7  -c app.cpp -o Debug/obj/app.o
In file included from /usr/local/include/wx-2.7/wx/aui/aui.h:15,
                 from mainframe.h:7,
                 from app.h:7,
                 from app.cpp:1:
/usr/local/include/wx-2.7/wx/aui/framemanager.h:21:5: warning: "wxUSE_AUI" is not defined
In file included from /usr/local/include/wx-2.7/wx/aui/aui.h:16,
                 from mainframe.h:7,
                 from app.h:7,
                 from app.cpp:1:
/usr/local/include/wx-2.7/wx/aui/dockart.h:21:5: warning: "wxUSE_AUI" is not defined
In file included from /usr/local/include/wx-2.7/wx/aui/aui.h:17,
                 from mainframe.h:7,
                 from app.h:7,
                 from app.cpp:1:
/usr/local/include/wx-2.7/wx/aui/floatpane.h:21:5: warning: "wxUSE_AUI" is not defined
In file included from /usr/local/include/wx-2.7/wx/aui/aui.h:18,
                 from mainframe.h:7,
                 from app.h:7,
                 from app.cpp:1:
/usr/local/include/wx-2.7/wx/aui/auibook.h:22:5: warning: "wxUSE_AUI" is not defined
In file included from /usr/local/include/wx-2.7/wx/aui/aui.h:19,
                 from mainframe.h:7,
                 from app.h:7,
                 from app.cpp:1:
/usr/local/include/wx-2.7/wx/aui/tabmdi.h:15:5: warning: "wxUSE_AUI" is not defined
mainframe.h:29: error: ISO C++ forbids declaration of
Post Reply