Compiling wxWidgets 2.4.2 to develop Code::Blocks (MSW)
These are the instructions to Install and compile wxWidgets 2.4.2 so you can later compile Code::Blocks on your own.
NOTE: The instructions are MS Windows (TM) specific, but some could be applied to other platforms as well
NOTE: This article is under construction. More info can be found in the forums.
Install MinGW
If you don't have the Code::Blocks+MinGW bundle, grab the latest MINGW stuff (including MSYS) from the MINGW site and install it under a directory you like. In this tutorial we're assumming you're installing MINGW under C:\MINGW.
NOTE: The files are compressed in the tar.gz format. You need a third-party extraction utility to unzip them.
The files I (Rick) have installed are:
- gcc-core-3.4.2-20040916-1.tar.gz
- gcc-g++-3.4.2-20040916-1.tar.gz
- MSYS-1.0.10.exe
- mingw-runtime-3.7.tar.gz
- mingw-utils-0.3.tar.gz
- w32api-3.2.tar.gz
- binutils-2.15.91-20040904-1.tar.gz
- gdb-5.2.1-1.exe
- mingw32-make-3.80.0-3.exe
Set up MSYS
The MSYS package allows you to run unix scripts with Mingw. Think of it as a "mini-linux emulator". When you run the executable installer, it will provide a link to msys.bat. If it doesn't appear in your desktop, search for it in your programs menu.
The wxWidgets 2.4.2 compilation must be run from inside MSYS. Drive C is found under /c/, drive D under /d/ and so on.
Download and Install the wxWidgets source code
Under construction.
Build wxWidgets
Under construction.
Build the STC library
Under construction.
Build the XRC library
Under construction.
Copy the files to your mingw directory or set up the paths
Under construction.