I am having a lot of problems building wxWidgets (Git master branch) samples using Static wxWidgets (Git master branch).
I had to add two libraries which I knew to add because I read it somewhere to reduce the linker errors.
But, it still had a linker error that looks like an wxWidgets bug.
The two libraries I added were "version" and "shlwapi".
The remaining linker error looks like an MinGW32 and wxWidgets bug. I am using MinGW32 TDM GCC version 4.7.1
libwxmsw31ud_core.a(corelib_msw_checklst.o): In function `ZN18wxCheckListBoxItem10OnDrawItemER4wxDCRK6wxRectN16wxOwnerDrawnBase10wxODActionENS5_10wxODStatusE':
C:\SourceCode\OpenSourceCode\VC_Repos\Libs\wx\wxWidgets-git\build\msw/../../src/msw/checklst.cpp:162: undefined reference to `GetLayout@4'
Now building wxWidgets 3.1.0 Static libs to see if the problem is new or old.
Edit: Looked at source code and the problem looks like a new wxWidgets and MinGW32 bug.
In other words, the final link error should NOT happen in wxWidgets version 3.1.0.
But, the link errors fixed by adding "version" and "shlwapi" will likely happen when using wxWidgets 3.1.0 and MinGW GCC.
Tim S.