Hi,
I have some linker issues when using wxDockit with
wxWIdgets compiled as a monolithic static lib.
mingw32-g++.exe
-LD:\Logiciels\wxWidgets-2.6.2\lib\gcc_lib
-L.\wxdockit\lib\gcc_lib -LD:\Logiciels\CodeBlocks\lib
-o SmartTester.exe .objs\MsgDockBar.o
.objs\ProjDockBar.o .objs\SCardResMgr.o .objs\Utils.o
.objs\app.o .objs\configmanager.o .objs\MainFrame.o
-lwxmsw26 -lwxdockit -lwinspool -lwinmm -lshell32
-lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lwsock32
-lopengl32 -lglu32 -lole32 -loleaut32 -luuid -lwxjpeg
-lwxpng -lwxtiff -lwxzlib -lwxexpat -lwxregex
-lwinscard -mwindows
.\wxdockit\lib\gcc_lib/libwxdockit.a(wxdockit_lib_slidebar.o):slidebar.cpp:(.text+0x322e):
undefined reference to `wxEVT_CALCULATE_LAYOUT'
.\wxdockit\lib\gcc_lib/libwxdockit.a(wxdockit_lib_slidebar.o):slidebar.cpp:(.text+0x324c):
undefined reference to `wxEVT_QUERY_LAYOUT_INFO'
.\wxdockit\lib\gcc_lib/libwxdockit.a(wxdockit_lib_layoutmanager.o):layoutmanager.cpp:(.text+0x1ce6):
undefined reference to
`wxLayoutAlgorithm::LayoutMDIFrame(wxMDIParentFrame*,
wxRect*)'
.\wxdockit\lib\gcc_lib/libwxdockit.a(wxdockit_lib_layoutmanager.o):layoutmanager.cpp:(.text+0x2065):
undefined reference to
`wxLayoutAlgorithm::LayoutWindow(wxWindow*, wxWindow*)'
.\wxdockit\lib\gcc_lib/libwxdockit.a(wxdockit_lib_dockhost.o):dockhost.cpp:(.text+0x2e8e):
undefined reference to `wxEVT_CALCULATE_LAYOUT'
collect2: ld returned 1 exit status
How can I fix it ?