User forums > Help
Troubles linking with the wxWidgets static libraries
(1/1)
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:
Remove the preprocessor definition "WXUSINGDLL".
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
Navigation
[0] Message Index
Go to full version