Hi!
I have been trying to make wxWidgets Static work in Code::Blocks, but I really need your help as I have wasted so many hours trying to solve it by myself and I could not find a solution
I have compiled wxWidgets so many times, MONOLITHIC=0, MONOLITHIC=1, just Debug, just Release, Both, first Static, first Dynamic, etc....................
And I could not make it work
And I didn´t have any compiling errors!
So, my results (when compiling apps in Code::Blocks) are:
Dynamic Library: It´works perfectly fine. It works well in Code::Blocks and the code compiles as expected.
Static Library: It does never work. Here you are just some of the errors when building the app:
I am so sorry if this is too obvious. It is the first time I am dealing with C++ and programming outside Visual Studio and I really tried to solve it by myself, but not even google could help me.C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_window.o):window.cpp|| undefined reference to `OpenThemeData@8'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp|| undefined reference to `OpenThemeData@8'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_msw_statbox.o):statbox.cpp|| undefined reference to `OpenThemeData@8'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_imagjpeg.o):imagjpeg.cpp|| undefined reference to `jpeg_resync_to_restart'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_imagtiff.o):imagtiff.cpp|| undefined reference to `TIFFClientOpen'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp|| undefined reference to `OpenThemeData@8'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_uxtheme.o):uxtheme.cpp|| undefined reference to `IsAppThemed@0'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp|| undefined reference to `OpenThemeData@8'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_combo.o):combo.cpp|| undefined reference to `OpenThemeData@8'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp|| undefined reference to `OpenThemeData@8'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_access.o):access.cpp|| undefined reference to `CreateStdAccessibleObject@16'|
C:\wxWidgets-3.1.1\lib\gcc_lib\libwxmsw31u_core.a(corelib_systhemectrl.o):systhemectrl.cpp|| undefined reference to `SetWindowTheme@12'|
Thank you very much!