From wxPack

Tutorials: CodeBlocks

Purpose

This tutorial is to describe how to setup a windows machine with everything you need to develop wxWidgets applications with Code::Blocks using MinGW Gcc as the compiler. Right now the nightly build is going to be covered because it is the best for the task.

Prerequisites

Steps

  1. Install MinGW 5.1.3 gcc 3.4.5.
    Choose candidate and be sure to select g++ because it is normally unchecked during the install. For this tutorial I am going to assume you are installing it to C:\MinGW.
  2. Install GDB v6.3-2 debugger.
    Just install this with the default settings.
  3. Install 7-Zip.
    This is used to decompress the Code::Blocks nightly build.
  4. Extract the three .7z files you downloaded for the Code::Blocks nightly build to C:\Program Files\CodeBlocks
    1. Extract Code::Blocks nightly build.
    2. Extract Unicode Windows wxWidget dll.
    3. Extract MinGW run-time.
  5. Install wxPack. (During the install you can unselect any of the build types you are not going to use. Example, if you know you are only going to use gcc then uncheck the Visual C++ 7.1 build of wxWidgets.)
  6. Now open Code::Blocks and make sure when you make new wxWidgets project that you fill in the Global variable to the location you choose during the wxPack installation.

You are now ready to start using Code::Blocks to develop wxWidgets application.

For more details on using Code::Blocks to create a wxWidgets application please look here

Retrieved from http://wxpack.sourceforge.net/Tutorials/CodeBlocks
Page last modified on November 07, 2007, at 01:37 PM