You have to compile wxWidgets library first.
You most likely only downloaded the source code.
See docs\msw\install.txt for directions on how to compile wxWidgets.
Here's the basic commands I use to compile wxWidgets; you can use it as a starting point.
CD wxWidgets-2.8.0\build\msw
SET PATH=C:\MinGW\bin;C:\MinGW\mingw32\bin
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 CLEAN
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
Thanks,
I was compiling this wxWidgets library and now I can to compile wx projects :)
but...
yet is little problem: my created 'exe' haves not wx 'lib' inside :(
this exe is small (ca 60kB) and I must to get wxWidgets dll :(
Hav can I to include this library to my exe?
Zenek
If you don't want to have to copy the wxWidgets DLL to your project, one solution is a static build of wxWidgets. To do a static build make sure SHARED=0. Note, you then have to change things in your project to use the static build. I don't use static builds in Code::Blocks but others do so it is possible.
Tim S
CD wxWidgets-2.8.0\build\msw
SET PATH=C:\MinGW\bin;C:\MinGW\mingw32\bin
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=0 MONOLITHIC=1 BUILD=release UNICODE=1 CLEAN
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=0 MONOLITHIC=1 BUILD=release UNICODE=1