I follow this link step by step:[http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world#Let.27s_add_some_fireworks ] and create a helloworld project.
Project setting : Build options-> Linker settings Link libraries: C:\Dev\wxWidgets2.8\lib\gcc_dll\libwxjpeg.a ... so many *.a files I added. I think its enough. Search directories: Linker : C:\Dev\wxWidgets2.8\lib\gcc_dll ;C:\Dev\wxWidgets2.8\lib\gcc_lib;C:\Dev\CodeBlocks\share\CodeBlocks\plugins .(these directories I added.)
But my project can buil , but link error show:
bin\TestwxMain.o||In function `ZNK12wxWindowBase10GetMinSizeEv':|
)]+0x47)||undefined reference to `_imp___Z10wxOnAssertPKwiPKcS0_S0_'|
bin\TestwxApp.o||In function `ZN12wxAppConsole16OnFatalExceptionEv':|
C:\Dev\wxWidgets2.8\include\wx\app.h:(.rdata$_ZTV9TestwxApp[vtable for TestwxApp]+0x90)||undefined reference to `wxAppConsole::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)'|
C:\Dev\wxWidgets2.8\include\wx\app.h:(.rdata$_ZTV9TestwxApp[vtable for TestwxApp]+0x94)||undefined reference to `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)'|
||=== Build finished: 3 errors, 0 warnings ===
I think there is lib can not load, would you help me ? And told me how to setting its parameters.
Thanks,best regards.