News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Troubles linking with the wxWidgets static libraries

Started by DCelso, August 22, 2008, 10:35:16 AM

Previous topic - Next topic

DCelso

Hello to all,
I have troubles when I want link my application with static libraries for do a standalone executable. The trouble is that it seams still using dynamic libraries because the compiler errors says lines like this one:
C:/programs/codeblocks/workspace/condoServer/condoServerMain.cpp:174: undefined reference to `__imp___ZN7wxFrameD2Ev'

I attach a word file with the entire explanation.

Earlier thanks to all.

[attachment deleted by admin]

TDragon

[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

DCelso

Thanks,
is necesary add the next libraries too:

libkernel32.a
libuser32.a
libgdi32.a
libwinspool.a
libcomdlg32.a
libadvapi32.a
libshell32.a
libole32.a
liboleaut32.a
libuuid.a
libcomctl32.a
libwsock32.a
libodbc32.a