Thank you for the quick reply.
First of all I just managed to compile my hello world app successfully and nearly fell off my seat with shock! :shock:
After 3 days of trial and error and grepping for missing references in .a files, here is the golden list of linker options you need for mingw. The order was the last thing I was missing.
-lwx_msw_core-2.6
-lwx_base-2.6
-mthreads
-lrpcrt4
-loleaut32
-lole32
-luuid
-lwinspool
-lwinmm
-lshell32
-lcomctl32
-lcomdlg32
-lctl3d32
-ladvapi32
-lwsock32
-lgdi32
-lmingwex
After optimising for size and some UPX magic I have a beautiful 618 KB self contained app
Now I can finally start learning the WX API. I wish building and linking third party libraries wasn't so difficult. Boost took me days to get working too :oops:
I did originally post this in the wxwidget forums but I was wondering if there were any Code::Block specific settings I was missing.
Right, time to burn this project file to CD and shove it in a safety deposit box because I never want to go through that again :lol: