WxWidget Installation

Follow the steps below to install Wxwidgets in Codeblocks with MingW compiler.


Download and Install the latest setup binaries from Codeblocks, WxWidget and Mingw.


Add the above installed location into the system path. Open windows console and run the below commands.

  • cd (Wxwidget location)buildmsw
  • mingw32-make -f makefile.gcc clean
  • mingw32-make -f makefile.gcc BUILD=debug SHARED=0 MONOLITHIC=1 UNICODE=1
  • mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=1 UNICODE=1

Notes: wxWidgets 3.1.2 emptied the advanced library (so you can get rid of wxmsw31ud_adv) and removed automatic linking to some libraries, p.e. libuxtheme and liboleacc. Add those libraries (they are in the MinGW folder) to the project and build again. It will work.

Be the first to comment

Leave a Reply

Your email address will not be published.


*