There was no
wxpng.lib,
wxjpeg.lib files, so I added
libwxjpeg.a and
libwxpng.a instead.
It then complains about some TIFF library and deflate something.. so I added
libwxtiff.a and
libwxzlib.a and it now compiles correctly and I can run it!
However the resulting exe file is 2.8 MB, after UPX 856 KB.
I read at
http://www.wxwidgets.org/wiki/index.php/Reducing_Executable_Size that unused library should be out,
the TIFF library alone is 300 KB. I suppose that adding the 4 .a files means that png,jpeg,tiff,zlib is included in the exe file
which means bigger exe size, am I right? I think the wizard should be able to exclude it (?)
Again, thanks for your assistance!