User forums > Using Code::Blocks
Help setting up wxWidgets
Xorlium:
nope, not found that file.
Searched for lib*.a
I have:
libwx_base-2.6.dll.a
libwx_base_net-2.6.dll.a
libwx_base_xml-2.6.dll.a
libwx_msw_adv-2.6.dll.a
libwx_msw_core-2.6.dll.a
libwx_msw_html-2.6.dll.a
libwx_msw_media-2.6.dll.a
libwx_msw_qa-2.6.dll.a
libwx_msw_xrc-2.6.dll.a
libwxexpat-2.6.a
libwxjpeg-2.6.a
libwxpng-2.6.a
libwxregex-2.6.a
libwxtiff-2.6.a
libwxzlib-2.6.a
I've tried with base, core and adv. (since those are the ones that sound more... tryable)
Maybe in 2.6 there is something different, maybe I just did something wrong when compiling wxwidgets?
Xorlium:
Damn it, one full day lost trying to get a simple program to run...
There is a file called ld.exe inside of my mingw/bin folder. I ran "ld --help" and there IS an option to --enable-auto-import, but I don't know how to tell codeblocks to tell it to use it.
Anonymous:
Try with libwx_msw_core-2.6.dll.a - that seems to be the one.
Xorlium:
Unless I call both libwx_msw_core-2.6.dll.a and libwx_base-2.6.dll.a it gives me tons of compile errors of "undefined reference to..."
And if I call them both, then I get only 1 error. The vtable one.
Thanks!
rickg22:
hmmm try disabling the auto-import switch in GCC. add --disable-auto-import to your compiler (or linker?) switches. Then probably you'll get an undefined reference. But maybe it's some configuration error...
did you try to move libwx_base BEFORE libwx_msw_core, in your linker libraries?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version