Hi skaut,
have you done some changes in your "CodeBlocks-wx2.6.0.cbp" project file ?
if i compare it with my output, you have some unnecessary library path includes, like
-LC:\MinGW\wxWidgets-2.6.1\lib\gcc_dll\msw
and
you only should need this
-LC:\MinGW\wxWidgets-2.6.1\lib\gcc_dll
but it should not harm.
but in my project file CodeBlocks.exe links as
GUI executable with linker option "-mwindows" which is missing in your project definition !
your output
Project : Code::Blocks (wx2.6)
Compiler : GNU GCC Compiler (called directly)
Directory : D:\Progs\CodeBlocks\src\
--------------------------------------------------------------------------------
...
Switching to target: src
...
mingw32-g++.exe
-Ldevel -Lsrc\wxDockit\lib -Lsdk\tinyxml -LC:\MinGW\wxWidgets-2.6.1\lib\gcc_dll\msw
-LC:\MinGW\wxWidgets-2.6.1\lib\gcc_dll -LC:\CodeBlocks\lib
-o devel\codeblocks.exe
-lcodeblocks -lwxDockIt -lwxmsw26_stc -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwxmsw26
.objs\2.6\src\app.o .objs\2.6\src\dlgabout.o .objs\2.6\src\dlgaboutplugin.o .objs\2.6\src\environmentsettingsdlg.o .objs\2.6\src\impexpconfig.o .objs\2.6\src\main.o .objs\2.6\src\printdlg.o .objs\2.6\src\startherepage.o
.objs\2.6\src\app.o: In function `ZN11wxVideoModeC1Eiiii':
C:/MinGW/wxWidgets-2.6.1/include/wx/app.h:(.text+0x45): undefined reference to `_imp___ZN12wxAppConsole17CheckBuildOptionsEPKcS1_'
.objs\2.6\src\app.o: In function `WinMain':
D:/Progs/CodeBlocks/src/src/app.cpp:2
my output
Project : .my.CodeBlocks, 1.0-cvs HEAD, wx261
Compiler : GNU GCC Compiler (called directly)
Directory : D:\cpp\_projects\Codeblocks\_HEAD\src\
--------------------------------------------------------------------------------
Switching to target: src
...
mingw32-g++.exe
-Ldevel -Lsrc\wxDockit\lib -Lsdk\tinyxml -LD:\wx261\lib\gcc_dll
-o devel\codeblocks.exe
.objs\2.6\src\app.o .objs\2.6\src\dlgabout.o .objs\2.6\src\dlgaboutplugin.o .objs\2.6\src\environmentsettingsdlg.o .objs\2.6\src\impexpconfig.o .objs\2.6\src\main.o .objs\2.6\src\printdlg.o .objs\2.6\src\startherepage.o .objs\2.6\src\resources\resources.res
-lcodeblocks -lwxDockIt -lwxmsw26_stc -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwxmsw26 -mwindows
Process terminated with status 0 (0 minutes, 54 seconds)
0 errors, 0 warnings
you can compare your settings with my project file
[attachment deleted by admin]