News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

About wxWidgets helloworld error

Started by creator.sg, November 02, 2009, 09:34:40 AM

Previous topic - Next topic

creator.sg

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'Neutral
)]+0x47)||undefined reference to `_imp___Z10wxOnAssertPKwiPKcS0_S0_'|
bin\TestwxApp.o||In function `ZN12wxAppConsole16OnFatalExceptionEv'Neutral
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.

Jenna

Do not post the same question in two (or more) different subforums.

Topic locked !