PB wrote:Assuming you added the library...
I do not know whether it is the reason but with GCC, the order the libraries are listed matters. Is yours correct?
E.g. the library order (but for release build of v3.1) taken from a command line goes like
Code: Select all
lwxmsw31u_core -lwxbase31u -lwxpng -lwxzlib -lwxjpeg -lwxtiff -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -lshlwapi -lversion -luxtheme -loleacc
That was the problem! Thanks.
Mine was sorted this way:
Code: Select all
-lwxbase30ud_net
-lwxmsw30ud_xrc
-lwxmsw30ud_adv
-lwxmsw30ud_gl
-lwxmsw30ud_propgrid
-lwxmsw30ud_ribbon
-lwxmsw30ud_richtext
-lwxmsw30ud_stc
-lwxmsw30ud_webview
-lwxbase30ud_xml
-lwxregexud
-lwxscintillad
-lwxexpatd
-lwxjpegd
-lwxtiffd
-lwxmsw30ud_aui
-lwxmsw30ud_media
-lwxmsw30ud_html
-lwxmsw30ud_core
-lwxpngd
-lwxzlibd
-lwxbase30ud
-lkernel32
-luser32
-lgdi32
-lwinspool
-lcomdlg32
-ladvapi32
-lshell32
-lole32
-loleaut32
-luuid
-lcomctl32
-lwsock32
-lodbc32
-mwindows
I moved the jpeg and tiff under the _core and everything is well now. Thanks!
PB wrote:
BTW, your WXWIN variable is rather unusual, it should contain the root wxWidgets folder (in your case C:\SVILUPPO\Toolchains\wxWidgets-3.0.4, so you can reference it like $(WXWIN)/include, $(WXWIN)/gcc_lib etc.
That was just for building the widgets (i use a couple of batch files that sets the variable related to the current directory).
In Code::Blocks the WXWIN variable is exactly like you said.