Is there some sort of issue with wxAuiNotebook and GCC or is it me ...
It does work in msvc.
Stupid simple app, a frame and a sizer.
Statically linked.
wxWidgets 3.1.1 (git master) built with MinGW 5.3.0 like so ...
Code: Select all
mingw32-make -f makefile.gcc BUILD=debug SHARED=0 RUNTIME_LIBS=static UNICODE=1
Adding a wxAuiNotebook object to the project causes the following error:
Code: Select all
T:/wxWidgets/wxWidgets/lib/gcc_lib/libwxmsw31ud_aui.a(auilib_floatpane.o): In function `_static_initialization_and_destruction_0':
T:\wxWidgets\wxWidgets\build\msw/../../src/aui/floatpane.cpp:38: undefined reference to `wxMiniFrame::ms_classInfo'
T:/wxWidgets/wxWidgets/lib/gcc_lib/libwxmsw31ud_aui.a(auilib_floatpane.o): In function `ZN11wxMiniFrameC2EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelS4_':
T:\wxWidgets\wxWidgets\build\msw/../../include/wx/msw/minifram.h:42: undefined reference to `vtable for wxMiniFrame'
T:/wxWidgets/wxWidgets/lib/gcc_lib/libwxmsw31ud_aui.a(auilib_floatpane.o): In function `ZN11wxMiniFrameD2Ev':
T:\wxWidgets\wxWidgets\build\msw/../../include/wx/msw/minifram.h:16: undefined reference to `vtable for wxMiniFrame'
collect2.exe: error: ld returned 1 exit status
Thanks all
-Enjoy : )_~