Skip to main content

History: MinGW Toolbox project migration

Source of version: 3 (current)

Copy to clipboard
            %prevogre%
{DIV(class="Layout_box1")}{SPLIT(colsize=15%|85%)}{img src="img/wiki_up/CBsplash.jpg" alt="CBsplash.jpg"}---
{DIV(class="bigBold")}Code::Blocks + MinGW C++ Toolbox project migration{DIV}{SPLIT}{DIV}

{maketoc}

For those migrating from Code::Blocks + MinGW + STLPort to Code::Blocks + MinGW, the following instructions should help make the switch easier.

!MinGW C++ Toolbox install Guide

Read the ((MinGW Toolbox Install Guide)).

!Code::Blocks Compiler / debugger settings
You must tell Code::Blocks where you installed the MinGW C++ Toolbox by following these instructions here: ((Code Blocks Compiler Setup))

!Project build options changes
used for both Debug and Release target build options:

* Compiler
** Other options
*** no changes required
** '#defines'
*** remove _STLP_NO_CUSTOM_IO and _STLP_USE_DYNAMIC_LIB

* Linker
** Other linker options:
*** no changes required
* Directories
** Compiler
*** remove $(OGRE_HOME)\stlport\stlport
** Linker
*** No changes required
* Build targets
** for debug build targets compiler defines remove the define: _STLP_DEBUG

After you make the changes to the your project settings you must do a rebuild so that everything gets recompiled with the proper headers.