<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wobien</id>
	<title>Code::Blocks - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wobien"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/Wobien"/>
	<updated>2026-05-22T21:16:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_(MSW)&amp;diff=5147</id>
		<title>Compiling wxWidgets 2.6.2 to develop Code::Blocks (MSW)</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_(MSW)&amp;diff=5147"/>
		<updated>2007-12-23T11:25:13Z</updated>

		<summary type="html">&lt;p&gt;Wobien: /* Installing MinGW */ made link to Installing wxWidgets 2.8.6&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the instructions for compiling wxWidgets for use with Code::Blocks. They are primarily intended in preparation for compiling Code::Blocks itself but (hopefully) may also help installing wxWidgets for general development using that framework.&lt;br /&gt;
&lt;br /&gt;
Although these instructions are targeted at the Windows operating system, it should be possible to apply them with slight adjustments to other platforms, since we make use of MinGW.&lt;br /&gt;
&lt;br /&gt;
==Warning==&lt;br /&gt;
From november 2007 onwards you need wxWidgets 2.8.6 to develop Code::Blocks. See: [[Compiling wxWidgets 2.8.6 to develop Code::Blocks (MSW)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing MinGW ==&lt;br /&gt;
'''If you have installed the Code::Blocks and MinGW bundle, or already installed MinGW on your own, you can skip this section.'''&lt;br /&gt;
&lt;br /&gt;
Grab the latest MinGW files from the [http://www.mingw.org/download.shtml MinGW download site] and install them into a directory of your choice.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' In these instructions we call the MinGW directory ''&amp;lt;MINGW&amp;gt;'', therefore you have to replace it with your corresponding directory.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The files are compressed tarballs. You may need a third-party extraction utility like [http://www.7-zip.org/ 7-Zip] in order to extract them.&lt;br /&gt;
&lt;br /&gt;
You need at least the following files:&lt;br /&gt;
* [http://prdownloads.sf.net/mingw/gcc-core-3.4.2-20040916-1.tar.gz?download gcc-core-3.4.2-20040916-1.tar.gz]&lt;br /&gt;
* [http://prdownloads.sf.net/mingw/gcc-g++-3.4.2-20040916-1.tar.gz?download gcc-g++-3.4.2-20040916-1.tar.gz]&lt;br /&gt;
* [http://prdownloads.sf.net/mingw/mingw-runtime-3.7.tar.gz?download mingw-runtime-3.7.tar.gz]&lt;br /&gt;
* [http://prdownloads.sf.net/mingw/mingw-utils-0.3.tar.gz?download mingw-utils-0.3.tar.gz]&lt;br /&gt;
* [http://prdownloads.sf.net/mingw/w32api-3.2.tar.gz?download w32api-3.2.tar.gz]&lt;br /&gt;
* [http://prdownloads.sf.net/mingw/binutils-2.15.91-20040904-1.tar.gz?download binutils-2.15.91-20040904-1.tar.gz]&lt;br /&gt;
* [http://prdownloads.sf.net/mingw/mingw32-make-3.80.0-3.exe?download mingw32-make-3.80.0-3.exe]&lt;br /&gt;
* [http://prdownloads.sourceforge.net/mingw/gdb-6.3-2.exe?download?download gdb-6.3-2.exe] (GDB is not mandatory, but useful for debugging purposes)&lt;br /&gt;
&lt;br /&gt;
After successful installation of the above, make sure you have the following directories included in your PATH environment variable:&lt;br /&gt;
* &amp;lt;MINGW&amp;gt;\bin;&lt;br /&gt;
* &amp;lt;MINGW&amp;gt;\mingw32\bin;&lt;br /&gt;
&lt;br /&gt;
(You can add them by right-clicking the ''My Computer'' icon on your desktop and selecting ''Properties''. Then select the ''Advanced'' tab and choose ''Environment Variables''.)&lt;br /&gt;
&lt;br /&gt;
== Installing the wxWidgets source code ==&lt;br /&gt;
The wxWidgets 2.6.2 distribution can be found at the [http://www.wxwidgets.org/dl_msw2.htm#stable wxWidgets download site]. (Note that there is also a winhelp file available.) You can choose between an installer and a zip file. You can just get the zip file because the installer is also a zipped version.&lt;br /&gt;
&lt;br /&gt;
If you use the plain zip version, make sure to unzip using the full path. Otherwise the directories won't be created correctly.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For the remainder of these instructions we call the wxWidgets directory ''&amp;lt;WXWIN&amp;gt;''. You have to change it to your corresponding directory (e.g. &amp;quot;c:\wxWidgets-2.6.2&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' You do not need MSYS. Furthermore, you cannot have MSYS in your path, or the wxWidgets compilation will fail. Thus, if you have MSYS installed, ensure that ''&amp;lt;MSYS&amp;gt;\bin'' '''is not''' in your path before compiling wxWidgets. wxWidgets must be compiled from a &amp;quot;regular&amp;quot; command line (like cmd.exe), not from a Unix-like shell. The same problem could arise if Cygwin is in the path.&lt;br /&gt;
&lt;br /&gt;
== Checking make version ==&lt;br /&gt;
If you didn't install MinGW yourself you have to ensure you are using a recent enough version of the make utility. Open a command prompt and type:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -v&amp;lt;/tt&amp;gt;&lt;br /&gt;
The version should read 3.80 or greater, else you need to install a newer version.&lt;br /&gt;
&lt;br /&gt;
== Building wxWidgets ==&lt;br /&gt;
Now it is time to compile wxWidgets, open the command promt and change to the wxWidgets directory:&lt;br /&gt;
 &amp;lt;tt&amp;gt;cd &amp;lt;WXWIN&amp;gt;\build\msw&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE: The following instructions do not work with MSYS, or other forms of Unix on Windows.'''&lt;br /&gt;
&lt;br /&gt;
Now the first thing to do is to clean up the source:&lt;br /&gt;
 mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean &lt;br /&gt;
'''NOTE:''' Make sure you use exactly the same options for this step and for the build step below. The clean target uses these variables and only cleans the specified version of the generated object and library files (so it will actually not clean the intended files if these variables are not identical).&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If you still have problems with compiling after cleaning, you could try to manually remove the gcc_msw directory under the build\msw directory. This directory is the place where the object files are stored.&lt;br /&gt;
&lt;br /&gt;
When everything is clean you can start actually compiling wxWidgets:&lt;br /&gt;
 mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' These options are the officially supported Code::Blocks options. If you want another version of wxWidgets (debug or non-unicode) you still have to make sure you build a MONOLITHIC version (one big DLL) for linking Code::Blocks against.&lt;br /&gt;
&lt;br /&gt;
Now you can get a cup of coffee or do something else because this step takes some time. Make sure there was no compilation error before you continue.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If you're having errors because of libjpeg, you might want to look at [http://sourceforge.net/tracker/?func=detail&amp;amp;atid=309863&amp;amp;aid=1606032&amp;amp;group_id=9863 this patch]&lt;br /&gt;
&lt;br /&gt;
== Compiling Code::Blocks ==&lt;br /&gt;
=== Setting up paths ===&lt;br /&gt;
Before finally compiling Code::Blocks itself, you need to setup the paths:&lt;br /&gt;
*Open the Code::Blocks project (CodeBlocks.cbp).&lt;br /&gt;
*It will ask you to define a [[Global compiler variables|Global variable]]&lt;br /&gt;
*Set the path to where you have wxWidgets installed (e.g. &amp;quot;c:\wxWidgets-2.6.2&amp;quot;).&lt;br /&gt;
*Compile Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
=== Post compilation steps ===&lt;br /&gt;
When the compilation process is finished, simply run the update.bat script. It will ensure that all resource files Code::Blocks uses are in the right place and up to date.&lt;br /&gt;
&lt;br /&gt;
== Building wxWidgets 2.6.2 using VC++ Toolkit 2003 ==&lt;br /&gt;
I'll just throw in my notes on the process for both compiler versions as getting VC++ toolkit to work is quite a pain. Code::Blocks needs a couple of changes to support wxWidgets with the VC++ toolkit seamlessly.&lt;br /&gt;
&lt;br /&gt;
install VCToolkitSetup.exe &amp;lt;br&amp;gt;&lt;br /&gt;
install PlatformSDK &amp;lt;br&amp;gt;&lt;br /&gt;
install .NET Framework SDK Version 1.1 &amp;lt;br&amp;gt;&lt;br /&gt;
run PlatformSDK-&amp;gt;'''Run all''' Windows XP 32-bit Build Environment (Retail) batch files '''(find them in '''PlatformSDK\Setup''')''' &amp;lt;br&amp;gt;&lt;br /&gt;
C:\Program Files\Microsoft Visual C++ Toolkit 2003\'''Vc7\bin'''\vcvars32.bat (not needed) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''The following environment vars must be set/modified/added via 'Control Panel | System | Advanced | Environment Variables'.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
set DOTNETSDK=C:\Program Files\Microsoft.NET\SDK\v1.1 (not needed) &amp;lt;br&amp;gt;&lt;br /&gt;
set MSVC=C:\Program Files\Microsoft Visual C++ Toolkit 2003 &amp;lt;br&amp;gt;&lt;br /&gt;
set MSSDK=C:\Program Files\Microsoft Platform SDK &amp;lt;br&amp;gt;&lt;br /&gt;
set VC7=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 &amp;lt;br&amp;gt;&lt;br /&gt;
set INCLUDE=%MSVC%\include;%MSSDK%\include &amp;lt;br&amp;gt;&lt;br /&gt;
set LIB=%MSVC%\lib;%MSSDK%\lib;%VC7%\lib &amp;lt;br&amp;gt;&lt;br /&gt;
set PATH=%MSVC%\bin;%MSSDK%\bin;%PATH% &amp;lt;br&amp;gt;&lt;br /&gt;
set PATH=%PATH%;%MSSDK%\bin\Win64 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
cd &amp;lt;WXWIN&amp;gt;\build\msw &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 CFG=NonUnicode clean &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 CFG=NonUnicode &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
cd &amp;lt;WXWIN&amp;gt;\lib; move vc_dll codeblocks_vc&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
codeblocks &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
project-&amp;gt;build options&lt;br /&gt;
	directories-&amp;gt;compiler&lt;br /&gt;
		&amp;lt;WXWIN&amp;gt;\lib\codeblocks_vc\msw &lt;br /&gt;
		&amp;lt;WXWIN&amp;gt;\include &lt;br /&gt;
		&amp;lt;WXWIN&amp;gt;\contrib\include&lt;br /&gt;
	directories-&amp;gt;linker&lt;br /&gt;
		&amp;lt;WXWIN&amp;gt;\lib\codeblocks_vc&lt;br /&gt;
	directories-&amp;gt;resource compiler&lt;br /&gt;
		&amp;lt;WXWIN&amp;gt;\include&lt;br /&gt;
	compiler-&amp;gt;#defines&lt;br /&gt;
		WXUSINGDLL&lt;br /&gt;
	compiler-&amp;gt;compiler flags&lt;br /&gt;
		enable c++ exception handling (or other options: /GX [same as /EHsc])&lt;br /&gt;
	compiler-&amp;gt;other options&lt;br /&gt;
		delete -D__GNUWIN32__&lt;br /&gt;
	linker-&amp;gt;link libraries&lt;br /&gt;
		delete ctl3d32&lt;br /&gt;
&lt;br /&gt;
compile-&amp;gt;compiler options&lt;br /&gt;
	programs-&amp;gt;additional paths&lt;br /&gt;
		C:\wxWidgets-2.6.2\lib\codeblocks_vc&lt;br /&gt;
-OR- copy C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw26_vc_custom.dll&lt;br /&gt;
     to application exe directory or c:\windows\system32&lt;br /&gt;
-OR- change project-&amp;gt;properties-&amp;gt;targets-&amp;gt;execution working dir&lt;br /&gt;
     to C:\wxWidgets-2.6.2\lib\codeblocks_vc (not recommended)&lt;br /&gt;
&lt;br /&gt;
compile-&amp;gt;compiler options&lt;br /&gt;
	programs-&amp;gt;additional paths&lt;br /&gt;
		C:\Program Files\Microsoft Platform SDK\Bin&lt;br /&gt;
 	directories-&amp;gt;compiler&lt;br /&gt;
		add C:\Program Files\Microsoft Platform SDK\Include		&lt;br /&gt;
	directories-&amp;gt;linker&lt;br /&gt;
		add C:\Program Files\Microsoft Platform SDK\Lib&lt;br /&gt;
&lt;br /&gt;
copy C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw26.exp&lt;br /&gt;
     to C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw.exp&lt;br /&gt;
copy C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw26.lib&lt;br /&gt;
     to C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw.lib&lt;br /&gt;
copy C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw26_stc.exp&lt;br /&gt;
     to C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw_stc.exp&lt;br /&gt;
copy C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw26_stc.lib&lt;br /&gt;
     to C:\wxWidgets-2.6.2\lib\codeblocks_vc\wxmsw_stc.lib&lt;br /&gt;
&lt;br /&gt;
compile-&amp;gt;rebuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
building from the commandline (wxwidgets demos) &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc SHARED=1 MONOLITHIC=1 BUILD=release&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows&amp;diff=5146</id>
		<title>Installing Code::Blocks from source on Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows&amp;diff=5146"/>
		<updated>2007-12-23T11:04:49Z</updated>

		<summary type="html">&lt;p&gt;Wobien: /* Compile wxWidgets in Unicode mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
[[Category:Installing Code::Blocks from source]]&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
'''Note for RC2 users'''&lt;br /&gt;
&lt;br /&gt;
The older Code::Blocks RC2 does not support global compiler variables which were added after RC2 was released and is unable to read project files generated with post-RC2 versions.&lt;br /&gt;
To build Code::Blocks, you need a post-RC2 build, such as  any of the ''nightly builds'' obtainable by [/index.php?board=20.0 searching the forum].&lt;br /&gt;
&lt;br /&gt;
=== MinGW compiler ===&lt;br /&gt;
&lt;br /&gt;
At the present time, Code::Blocks only compiles successfully with the MinGW compiler (or any other gcc for that matter). You will need a complete, working [[MinGW installation]].&lt;br /&gt;
&lt;br /&gt;
Since November 2007 MinGW-GCC 4.2.1&lt;br /&gt;
&lt;br /&gt;
=== wxWidgets ===&lt;br /&gt;
&lt;br /&gt;
[http://wxwidgets.org/ wxWidgets.org]&lt;br /&gt;
&lt;br /&gt;
Code::Blocks officially supports wxWidgets 2.6.3 (although any 2.6+ version probably works).&amp;lt;br/&amp;gt;&lt;br /&gt;
Download: [http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.6.3-1.zip wxMSW-2.6.3-1.zip].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Code::Blocks uses&lt;br /&gt;
* since May 2007 wxWidgets 2.8.4&amp;lt;br/&amp;gt;Download: [http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.8.4.zip wxMSW-2.8.4.zip]&lt;br /&gt;
&lt;br /&gt;
* since November 2007 wxWidgets 2.8.6 &amp;lt;br/&amp;gt;Download: [http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.8.6.zip wxMSW-2.8.6.zip]&lt;br /&gt;
&lt;br /&gt;
For latest infos check forum: [/index.php?topic=3299.0 Important changes to the nightly builds]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You do ''not'' need MSYS (''in fact, if you have MSYS, make sure it is not in your PATH when building wxWidgets'').&lt;br /&gt;
[http://www.beispiel.de Link-Text]&lt;br /&gt;
&lt;br /&gt;
=== SVN client ===&lt;br /&gt;
&lt;br /&gt;
In order to check out the Code::Blocks sources you will need a SVN client.&lt;br /&gt;
For convenience, it is recommended that you install [http://tortoisesvn.net/downloads TortoiseSVN] on your machine, as this is a lot more comfortable. However, if you get a bad feeling when some program is messing with your Explorer menu, then you can use the [http://subversion.tigris.org/project_packages.html svn command-line client] equally well.&lt;br /&gt;
&lt;br /&gt;
It is generally a good idea to install the command-line client (and adding it to PATH) even if you use TortoiseSVN for convenience. The &amp;lt;tt&amp;gt;autorevision&amp;lt;/tt&amp;gt; tool which is used during the build of Code::Blocks makes use of the &amp;lt;tt&amp;gt;svn&amp;lt;/tt&amp;gt; binary if it is available. This is preferrable to the manual parsing of the entries file that is used as fallback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please do note that working copies checked out with the 1.4 version of Subversion are no longer compatible with earlier versions (Subversion will transparently update existing repositories).&lt;br /&gt;
&lt;br /&gt;
The builtin fallback mechanism in &amp;lt;tt&amp;gt;autorevision&amp;lt;/tt&amp;gt; has been updated to the new 1.4 format and will no longer work with the old format.&amp;lt;br&amp;gt;&lt;br /&gt;
Therefore, if you use a Subversion client from the 1.0-1.3 line, you ''must'' put the commandline tool into &amp;lt;tt&amp;gt;PATH&amp;lt;/tt&amp;gt; for a successful build.&amp;lt;br&amp;gt;&lt;br /&gt;
If you use Subversion 1.4, then it is good practice nevertheless, but you can do without, too.&lt;br /&gt;
&lt;br /&gt;
=== zip.exe ===&lt;br /&gt;
&lt;br /&gt;
You'll also need a working 'zip' program.&lt;br /&gt;
If you have the version listed on our [https://wiki.codeblocks.org/index.php?title=Mingw#Other_developer_tools tools page], you'll be fine.&lt;br /&gt;
&lt;br /&gt;
The zip program coming with cygwin will ''not'' work properly. You do ''not'' need WinZip.&lt;br /&gt;
&lt;br /&gt;
Make sure the zip binary is in your PATH so the &amp;lt;tt&amp;gt;update.bat&amp;lt;/tt&amp;gt; script will be able to find it (alternatively, you can edit the batch file, setting the ZIPCMD variable to something else).&lt;br /&gt;
&lt;br /&gt;
The easiest way is to put zip.exe into &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; inside your MinGW installation directory (that folder is normally in the path).&lt;br /&gt;
&lt;br /&gt;
=== Code::Blocks sources ===&lt;br /&gt;
&lt;br /&gt;
You will also (obviously) need the Code::Blocks sources. &lt;br /&gt;
&lt;br /&gt;
Using ''TortoiseSVN'', make a folder where you want to store the sources, right-click on the folder, and select &amp;quot;SVN Checkout...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
In the top box, enter svn://svn.berlios.de/codeblocks/trunk and hit the OK button.&lt;br /&gt;
&lt;br /&gt;
Using ''svn'', you have to open a command prompt (&amp;quot;DOS Window&amp;quot;). Make a folder, change directory, and run svn:&lt;br /&gt;
&lt;br /&gt;
  mkdir codeblocks-head&lt;br /&gt;
  cd codeblocks-head&lt;br /&gt;
  svn checkout svn://svn.berlios.de/codeblocks/trunk&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
=== Unicode Build ===&lt;br /&gt;
&lt;br /&gt;
==== Compile wxWidgets in Unicode mode ====&lt;br /&gt;
&lt;br /&gt;
After unpacking the zip file to a directory of your choice, open a cmd prompt, and navigate to the folder build/msw inside the wxWidgets folder. Use the following commands to compile wxWidgets:&lt;br /&gt;
&lt;br /&gt;
  set path=c:\mingw\bin;c:\mingw\mingw32\bin&lt;br /&gt;
  mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1  clean&lt;br /&gt;
  mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1&lt;br /&gt;
&lt;br /&gt;
This assumes your MinGW installation is in C:\mingw. Use a different path if you installed MinGW somewhere else.&lt;br /&gt;
&lt;br /&gt;
You will see a lot of warning messages during compilation. Don't worry, this is normal, you are compiling wxWidgets. The build process may take 10-30 minutes, depending on your computer's speed.&lt;br /&gt;
&lt;br /&gt;
''remark: If you want to use wxWidgets not only for building Code::Blocks, but also for writing wxWidgets programs, and if you want to use the debugger in those programs, you have to compile a debug build of wxWidgets as well.''&lt;br /&gt;
''Use the same commands as for the release build, but replace &amp;quot;release&amp;quot; by &amp;quot;debug&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Optional:'''&lt;br /&gt;
&lt;br /&gt;
To reduce the size of your wxWidgets library, you can disable features which are not used by Code::Blocks. However, you should not do this unless you know what you are doing. You have to delete the generated setup.h from lib/gcc_dll/msw/wx before building, because your changes to include/wx/msw will otherwise not be honoured.&lt;br /&gt;
&lt;br /&gt;
==== Compile Code::Blocks ====&lt;br /&gt;
&lt;br /&gt;
Open the project CodeBlocks.cbp. You will be prompted to define the global variable $(#wx). Enter the location where you unpacked wxWidgets.&lt;br /&gt;
&lt;br /&gt;
Hit the blue gear and lean back. Compilation may take 3-5 minutes, depending on the speed of your computer.&lt;br /&gt;
&lt;br /&gt;
After the compilaton has finished, copy &amp;lt;tt&amp;gt;lib\gcc_dll\wxmsw26u_gcc_custom.dll&amp;lt;/tt&amp;gt; from the wxWidgets directory to the &amp;lt;tt&amp;gt;src\devel&amp;lt;/tt&amp;gt; directory inside the Code::Blocks source folder (it will also work if you keep a copy of that library in your Windows folder or anywhere in your system path, but this is generally not recommended because you can get into dll hell).&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;tt&amp;gt;src\update.bat&amp;lt;/tt&amp;gt; (located in the root source directory). This will pack the resource files and copy libraries and plugins to their correct locations.&lt;br /&gt;
The stripped (&amp;quot;production&amp;quot;) executable is found in &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; together with all libraries and data files. If you want a version with debug symbols instead (caution: huge size!), use the one found in the &amp;lt;tt&amp;gt;devel&amp;lt;/tt&amp;gt; folder.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations, you own a freshly built version of Code::Blocks!&lt;br /&gt;
&lt;br /&gt;
For future updates, go into the Code::Blocks root directory and run &amp;lt;tt&amp;gt;svn update&amp;lt;/tt&amp;gt; (or use TurtoiseSVN to the same effect).&amp;lt;br/&amp;gt;&lt;br /&gt;
Then open and build the project as described before (and any contrib plugins that you wish to use), and re-run &amp;lt;tt&amp;gt;src\update.bat&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Install Code::Blocks ====&lt;br /&gt;
&lt;br /&gt;
Copy the folder output to where you want Code::Blocks to reside.&lt;br /&gt;
&lt;br /&gt;
==== Compile contributed (or your own) plugins ====&lt;br /&gt;
&lt;br /&gt;
The workspace file ContribPlugins.workspace contains the project files for all contributed plugins. Open that workspace and compile the plugins which you would like to use (or select &amp;quot;Build Workspace&amp;quot; from the context menu if you want them all).&amp;lt;br/&amp;gt;&lt;br /&gt;
When you open the contrib plugins workspace, you will be asked to define the &amp;lt;tt&amp;gt;$(#cb)&amp;lt;/tt&amp;gt; global compiler variable. This is the path that contains the sdk folder normally this is codeblocks\src. The build process uses this information to place the plugins and data files into the correct place. Enter the location of the Code::Blocks sources in the same way as for the &amp;lt;tt&amp;gt;$(#wx)&amp;lt;/tt&amp;gt; variable earlier.&lt;br /&gt;
&lt;br /&gt;
Don't forget to run update.bat again after building the contrib plugins.&lt;br /&gt;
&lt;br /&gt;
=== ANSI Build ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #f7d9d9; border: 1px solid #000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 5px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEPRECATION WARNING: ====&lt;br /&gt;
As of February 2006, the official default build for Code::Blocks is '''Unicode''' (see above). Although ANSI builds are technically possible, we discourage their use unless there is a good reason.&amp;lt;br/&amp;gt;&lt;br /&gt;
''Support for ANSI builds is likely to be dropped after Version 1.0 is out.''&lt;br /&gt;
&lt;br /&gt;
There is hardly any good argument against using a Unicode build if your OS supports Unicode, even if you do not understand any other language than English, as a Unicode version guarantees that it will be able to work with whatever languages you may possibly encounter in the future -- at a very reasonable cost.&lt;br /&gt;
&lt;br /&gt;
However, if you absolutely don't care about Unicode or if you are bound to use Windows 95, then you may want to build an ANSI version nevertheless.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Compile wxWidgets in ANSI mode ====&lt;br /&gt;
&lt;br /&gt;
After unpacking the zip file to a directory of your choice, open a cmd prompt, and navigate to the folder build/msw inside the wxWidgets folder. Use the following commands to compile wxWidgets&lt;br /&gt;
&lt;br /&gt;
  set path=c:\mingw\bin;c:\mingw\mingw32\bin&lt;br /&gt;
  mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 clean&lt;br /&gt;
  mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0&lt;br /&gt;
&lt;br /&gt;
This assumes your MinGW installation is in C:\mingw. Use a different path if you installed MinGW somewhere else.&lt;br /&gt;
&lt;br /&gt;
You will see a lot of warning messages during compilation. Don't worry, this is normal, you are compiling wxWidgets. The build process may take 10-30 minutes, depending on your computer's speed.&lt;br /&gt;
&lt;br /&gt;
'''Optional:'''&lt;br /&gt;
&lt;br /&gt;
To reduce the size of your wxWidgets library, you can disable features which are not used by Code::Blocks. However, you should not do this unless you know what you are doing. You have to delete the generated setup.h from lib/gcc_dll/msw/wx before building, because your changes to include/wx/msw will otherwise not be honoured.&lt;br /&gt;
&lt;br /&gt;
==== Compile Code::Blocks ====&lt;br /&gt;
&lt;br /&gt;
Open the project CodeBlocks.cbp. You will be prompted to define the global variable $(#wx) if you have not used it before. Enter the location where you unpacked wxWidgets.&lt;br /&gt;
&lt;br /&gt;
'''Important:'''  The project file is set to compile an Unicode version of Code::Blocks by default. To make an ANSI build, you have to make the following two changes to build options before compiling:&lt;br /&gt;
1. In the &amp;quot;Compiler&amp;quot; tab, under &amp;quot;#defines&amp;quot;, remove the entry wxUSE_UNICODE.&lt;br /&gt;
2. Under &amp;quot;Custom variables&amp;quot;, set the variable WX_SUFFIX to empty (default value: u).&lt;br /&gt;
&lt;br /&gt;
Hit the blue gear and lean back. Compilation may take 3-5 minutes, depending on the speed of your computer.&lt;br /&gt;
&lt;br /&gt;
After the compilaton has finished, copy wxmsw26u_gcc_custom.dll from lib\gcc_dll inside the wxWidgets directory to the devel directory inside the Code::Blocks source folder (it will also work if you keep a copy of that library in your Windows folder or anywhere in your system path, but this is generally not recommended because you can get into [http://en.wikipedia.org/wiki/DLL_hell dll hell] ).&lt;br /&gt;
Run update.bat (located in the root source directory). This will pack the resource files and copy libraries and plugins to their correct locations.&lt;br /&gt;
The location of executable is src\output in C::B tree. From here you'll not need the nighty build anymore.&lt;br /&gt;
&lt;br /&gt;
One little note for svn updates and rebuilds : just go into the codeblocks root directory and do '''svn update''' (or use Turtoise svn).&lt;br /&gt;
&lt;br /&gt;
Then run the src/output/codeblocks.exe, reload project, build it, reload plugins workspace, build it, quit codeblocks and re-run update.bat. You'll have an up-to-date C::B in 3 minutes !&lt;br /&gt;
&lt;br /&gt;
==== Install Code::Blocks ====&lt;br /&gt;
&lt;br /&gt;
Copy the folder output to where you want Code::Blocks to reside.&lt;br /&gt;
&lt;br /&gt;
==== Compile contributed (or your own) plugins ====&lt;br /&gt;
&lt;br /&gt;
The workspace file ContribPlugins.workspace contains the project files for all contributed plugins. Open that workspace and compile the plugins which you would like to use (or select &amp;quot;Build Workspace&amp;quot; from the context menu if you want them all). Don't forget to run update.bat again after building the contrib plugins.&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:Main_Page&amp;diff=5119</id>
		<title>Talk:Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:Main_Page&amp;diff=5119"/>
		<updated>2007-12-14T22:19:46Z</updated>

		<summary type="html">&lt;p&gt;Wobien: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;just a suggestion, but you may want to enable posting only by users of the wiki in order to save your front page, judging by the number of reverts due to spam it has.&lt;br /&gt;
&lt;br /&gt;
Done. mandrav took care of it. :D&lt;br /&gt;
&lt;br /&gt;
/index.php?topic=2733.0&lt;br /&gt;
&lt;br /&gt;
Next suggestion: under &amp;quot;Downloads and Installation&amp;quot;, this main page says, &amp;quot;Nightly Cookbook - How to install a nightly build&amp;quot;. But when I click on &amp;quot;Nightly Cookbook&amp;quot;, I find instructions for collecting tools to _create_ a nightly build. I see nothing about how to install a nightly build downloaded from the forum.&lt;br /&gt;
&lt;br /&gt;
Now I realize that 'killerbot' is not finished with the page, but in the meantime, can we call a spade a spade? Please list it as &amp;quot;How to Create a Nightly Build&amp;quot;, not as &amp;quot;How to _install_ one&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Finally, may I suggest making a separate, but clearly related link on how to install one. After all, many users will surely want to install a nightly build, but surely only a few will need to make one.&lt;br /&gt;
&lt;br /&gt;
[[Installing_Code::Blocks#Alternative_method_for_installing_a_nightly_build |Here]] are instructions for installing a nightly build. :)&lt;br /&gt;
&lt;br /&gt;
[[User:Sethjackson|Sethjackson]] 07:48, 29 May 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Other suggestions:&lt;br /&gt;
&lt;br /&gt;
I have tried to compile the hello world example from the first tutorial, and &amp;quot;like always&amp;quot; ran into some problems: I had installed wxWindows, but I was not aware that it has to be compiled (=&amp;gt; &amp;quot;Unable to open wx/setup.h&amp;quot;). Besides as I recently read in the forum, it has to be compiled using the code blocks install instructions. It would be good to have a trouble shooting page that addresses all these typical newbie problems, and the link to this should be close to the download link.&lt;br /&gt;
&lt;br /&gt;
Maybe even a better solution for this: have a &amp;quot;requirements&amp;quot; page that clearly lists everything which is not obvious, and which is read _before_ users start downloading codeblocks.&lt;br /&gt;
&lt;br /&gt;
Category list in navigation pane:&lt;br /&gt;
&lt;br /&gt;
I suggest to put a link to the file &amp;quot;Categories&amp;quot; in the navigation pane.&lt;br /&gt;
It is a very handy list if you are searching information. As it is now I get it via Special pages, but it has taken some time before I found it.&lt;br /&gt;
If you are new to the Wiki you don't expect to find elementary information for newbies on special pages.&lt;br /&gt;
[[User:Wobien|Wobien]] 22:17, 14 December 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:Main_Page&amp;diff=5118</id>
		<title>Talk:Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:Main_Page&amp;diff=5118"/>
		<updated>2007-12-14T22:18:36Z</updated>

		<summary type="html">&lt;p&gt;Wobien: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;just a suggestion, but you may want to enable posting only by users of the wiki in order to save your front page, judging by the number of reverts due to spam it has.&lt;br /&gt;
&lt;br /&gt;
Done. mandrav took care of it. :D&lt;br /&gt;
&lt;br /&gt;
/index.php?topic=2733.0&lt;br /&gt;
&lt;br /&gt;
Next suggestion: under &amp;quot;Downloads and Installation&amp;quot;, this main page says, &amp;quot;Nightly Cookbook - How to install a nightly build&amp;quot;. But when I click on &amp;quot;Nightly Cookbook&amp;quot;, I find instructions for collecting tools to _create_ a nightly build. I see nothing about how to install a nightly build downloaded from the forum.&lt;br /&gt;
&lt;br /&gt;
Now I realize that 'killerbot' is not finished with the page, but in the meantime, can we call a spade a spade? Please list it as &amp;quot;How to Create a Nightly Build&amp;quot;, not as &amp;quot;How to _install_ one&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Finally, may I suggest making a separate, but clearly related link on how to install one. After all, many users will surely want to install a nightly build, but surely only a few will need to make one.&lt;br /&gt;
&lt;br /&gt;
[[Installing_Code::Blocks#Alternative_method_for_installing_a_nightly_build |Here]] are instructions for installing a nightly build. :)&lt;br /&gt;
&lt;br /&gt;
[[User:Sethjackson|Sethjackson]] 07:48, 29 May 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Other suggestions:&lt;br /&gt;
&lt;br /&gt;
I have tried to compile the hello world example from the first tutorial, and &amp;quot;like always&amp;quot; ran into some problems: I had installed wxWindows, but I was not aware that it has to be compiled (=&amp;gt; &amp;quot;Unable to open wx/setup.h&amp;quot;). Besides as I recently read in the forum, it has to be compiled using the code blocks install instructions. It would be good to have a trouble shooting page that addresses all these typical newbie problems, and the link to this should be close to the download link.&lt;br /&gt;
&lt;br /&gt;
Maybe even a better solution for this: have a &amp;quot;requirements&amp;quot; page that clearly lists everything which is not obvious, and which is read _before_ users start downloading codeblocks.&lt;br /&gt;
&lt;br /&gt;
Category list in navigation pane:&lt;br /&gt;
&lt;br /&gt;
I suggest to put a link to the file Categories in the navigation pane.&lt;br /&gt;
It is a very handy list if you are searching information. As it is now I get it via Special pages, but it has taken some time before I found it.&lt;br /&gt;
If you are new to the Wiki you don't expect to find elementary information for newbies on special pages.&lt;br /&gt;
[[User:Wobien|Wobien]] 22:17, 14 December 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:Main_Page&amp;diff=5117</id>
		<title>Talk:Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:Main_Page&amp;diff=5117"/>
		<updated>2007-12-14T22:17:52Z</updated>

		<summary type="html">&lt;p&gt;Wobien: Category list in navigation pane&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;just a suggestion, but you may want to enable posting only by users of the wiki in order to save your front page, judging by the number of reverts due to spam it has.&lt;br /&gt;
&lt;br /&gt;
Done. mandrav took care of it. :D&lt;br /&gt;
&lt;br /&gt;
/index.php?topic=2733.0&lt;br /&gt;
&lt;br /&gt;
Next suggestion: under &amp;quot;Downloads and Installation&amp;quot;, this main page says, &amp;quot;Nightly Cookbook - How to install a nightly build&amp;quot;. But when I click on &amp;quot;Nightly Cookbook&amp;quot;, I find instructions for collecting tools to _create_ a nightly build. I see nothing about how to install a nightly build downloaded from the forum.&lt;br /&gt;
&lt;br /&gt;
Now I realize that 'killerbot' is not finished with the page, but in the meantime, can we call a spade a spade? Please list it as &amp;quot;How to Create a Nightly Build&amp;quot;, not as &amp;quot;How to _install_ one&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Finally, may I suggest making a separate, but clearly related link on how to install one. After all, many users will surely want to install a nightly build, but surely only a few will need to make one.&lt;br /&gt;
&lt;br /&gt;
[[Installing_Code::Blocks#Alternative_method_for_installing_a_nightly_build |Here]] are instructions for installing a nightly build. :)&lt;br /&gt;
&lt;br /&gt;
[[User:Sethjackson|Sethjackson]] 07:48, 29 May 2006 (EDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Other suggestions:&lt;br /&gt;
&lt;br /&gt;
I have tried to compile the hello world example from the first tutorial, and &amp;quot;like always&amp;quot; ran into some problems: I had installed wxWindows, but I was not aware that it has to be compiled (=&amp;gt; &amp;quot;Unable to open wx/setup.h&amp;quot;). Besides as I recently read in the forum, it has to be compiled using the code blocks install instructions. It would be good to have a trouble shooting page that addresses all these typical newbie problems, and the link to this should be close to the download link.&lt;br /&gt;
&lt;br /&gt;
Maybe even a better solution for this: have a &amp;quot;requirements&amp;quot; page that clearly lists everything which is not obvious, and which is read _before_ users start downloading codeblocks.&lt;br /&gt;
&lt;br /&gt;
== Category list in navigation pane ==&lt;br /&gt;
&lt;br /&gt;
I suggest to put a link to the file Categories in the navigation pane.&lt;br /&gt;
It is a very handy list if you are searching information. As it is now I get it via Special pages, but it has taken some time before I found it.&lt;br /&gt;
If you are new to the Wiki you don't expect to find elementary information for newbies on special pages.&lt;br /&gt;
[[User:Wobien|Wobien]] 22:17, 14 December 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:Creating_a_simple_%22Hello_World%22_plugin&amp;diff=5116</id>
		<title>Talk:Creating a simple &quot;Hello World&quot; plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:Creating_a_simple_%22Hello_World%22_plugin&amp;diff=5116"/>
		<updated>2007-12-14T22:06:59Z</updated>

		<summary type="html">&lt;p&gt;Wobien: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I changed the first paragraph. I deleted outdated text and I added a link to the articles about installing C::B from source.&lt;br /&gt;
&lt;br /&gt;
I think the pararaph &amp;quot;Letting the compilor know where to find the SDK&amp;quot; should be changed as well.&lt;br /&gt;
I know that for Windows users this is not necessary, if you compiled C::B it's allready done.&lt;br /&gt;
I suppose that is also true for other platforms, but I don't want to delete this paragraph without knowing for sure.&lt;br /&gt;
&lt;br /&gt;
[[User:Wobien|Wobien]] 22:06, 14 December 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:Creating_a_simple_%22Hello_World%22_plugin&amp;diff=5115</id>
		<title>Talk:Creating a simple &quot;Hello World&quot; plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:Creating_a_simple_%22Hello_World%22_plugin&amp;diff=5115"/>
		<updated>2007-12-14T22:03:55Z</updated>

		<summary type="html">&lt;p&gt;Wobien: New page: I changed the first paragraph. I deleted outdated text and I added a link to the articles about installing C::B from source.  I think the pararaph &amp;quot;Letting the compilor know where to find ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I changed the first paragraph. I deleted outdated text and I added a link to the articles about installing C::B from source.&lt;br /&gt;
&lt;br /&gt;
I think the pararaph &amp;quot;Letting the compilor know where to find the SDK&amp;quot; should be changed as well.&lt;br /&gt;
I know that for Windows users this is not necessary, if you compiled C::B it's allready done.&lt;br /&gt;
I suppose that is also true for other platforms, but I don't want to delete this paragraph without knowing for sure.&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Using_STLFilt_with_MinGW&amp;diff=5114</id>
		<title>Using STLFilt with MinGW</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Using_STLFilt_with_MinGW&amp;diff=5114"/>
		<updated>2007-12-14T20:36:13Z</updated>

		<summary type="html">&lt;p&gt;Wobien: /* Links */ changed links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the '''Sandbox''' where you can edit until your heart's content. Check out the 'edit' link at the top of this page to play around in here.&lt;br /&gt;
&lt;br /&gt;
== Italic Text ==&lt;br /&gt;
&lt;br /&gt;
Look at the ''italic text''.&lt;br /&gt;
&lt;br /&gt;
== Bold Text ==&lt;br /&gt;
&lt;br /&gt;
Look at the '''bold text'''.&lt;br /&gt;
&lt;br /&gt;
== Lists ==&lt;br /&gt;
&lt;br /&gt;
*Lists are easy.&lt;br /&gt;
**Really easy.&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
Some images....&lt;br /&gt;
&lt;br /&gt;
[[Image:Chk.png]]&lt;br /&gt;
[[Image:Nop.png]]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
Links to other pages, external sites. etc&lt;br /&gt;
&lt;br /&gt;
Link to page in this wiki&lt;br /&gt;
[[Installing Code::Blocks from source]]&lt;br /&gt;
&lt;br /&gt;
Link with no title&lt;br /&gt;
[http://www.google.com]&lt;br /&gt;
Link with title&lt;br /&gt;
[http://www.google.com The Google Search engine]&lt;br /&gt;
&lt;br /&gt;
Link to category (note the initial colon)&lt;br /&gt;
[[:Category:Installation\Build Instructions]]&lt;br /&gt;
&lt;br /&gt;
To categorize a page, remove the initial colon like this: &amp;lt;nowiki&amp;gt;[[Category:Installation\Build_Instructions]]&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Creating_a_simple_%22Hello_World%22_plugin&amp;diff=5113</id>
		<title>Creating a simple &quot;Hello World&quot; plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Creating_a_simple_%22Hello_World%22_plugin&amp;diff=5113"/>
		<updated>2007-12-14T20:31:24Z</updated>

		<summary type="html">&lt;p&gt;Wobien: /* Prerequisites */ You need to all the source files od C::B and compile them, so better link to pages about how to do that&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Plugin development]]&lt;br /&gt;
[[Category:Outdated]]&lt;br /&gt;
{{outdated}}&lt;br /&gt;
'''NOTE''': This tutorial was written using the Code::Blocks final beta under windows.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
This tutorial assumes you have a working version of Code::Blocks installed and some knowledge of how to deal with projects, in particular how to compile them. &lt;br /&gt;
&lt;br /&gt;
Also you need the source files of Code::Blocks and of wxWidgets. You have to compile them before you can compile a plugin. Here you can find instructions:&lt;br /&gt;
[[:Category:Installing Code::Blocks from source ]]&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
This tutorial will guide you through the creation of a simple &amp;quot;Hello World&amp;quot; plugin, which when activated displays &amp;quot;Hello World!&amp;quot; in the Code::Blocks log tab below the editor. This could be done completely by hand, but Code::Blocks contains a very useful plugin project generator (which, incidentally, is a plugin itself), so we'll use that.&lt;br /&gt;
&lt;br /&gt;
==Creating the Plugin Project==&lt;br /&gt;
&lt;br /&gt;
Select the '''File-&amp;gt;New-&amp;gt;Project''' option from the main menu bar and choose the Code::Blocks Plugin Wizard. You will see a dialog box with some information but you can skip that after reading it. Now you will see the following dialog box:&lt;br /&gt;
&lt;br /&gt;
[[Image:Plugindevelop_2.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the first edit field write the title of your project. You can see that we denoted the project title as '''HelloWordPlugin'''. The other field are self-explanatory. If you click the Next button you will see the next plugin property dialog:&lt;br /&gt;
&lt;br /&gt;
[[Image:Plugindevelop_3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Let's denote the plugin name with '''HelloWorld'''. After clicking the next button a new dialog apears and you can edit a bunch of information about your plugin. In the next step you can choose which compiler you want to use for your plugin project.&lt;br /&gt;
&lt;br /&gt;
===Plugin Type===&lt;br /&gt;
&lt;br /&gt;
The Code::Blocks SDK contains interfaces for various different types of plugins in the ''cbPlugin.h'' file. The drop down ''Plugin type'' list in the wizard allows you to select which type of plugin you wish to build - essentially which class the main plugin interface class will inherit from. We want to build a Tool plugin, so select that from the list. Tool type plugins are added to the Plugins main menu submenu automatically, and their ''Execute'' method is called when they are selected by the user. We will use this later in order to display our message.&lt;br /&gt;
&lt;br /&gt;
===Plugin Info===&lt;br /&gt;
&lt;br /&gt;
The ''Plugin name'' field is the name of the plugin interface class which the wizard will create. Enter &amp;quot;HelloWorldPlugin&amp;quot; here. More information can be provided by clicking on the ''Enter Plugin Info'' button. The fields here are fairly self explanitory, but one which you should pay particular attention to is the ''Title'' field, since this is what Code::Blocks will use to refer to the plugin in the menus. In the generated code, the plugin info is kept in the plugin class' ''m_PluginInfo'' member, which is of the type ''PluginInfo'' and is set in the plugin interface class' constructor. ''PluginInfo'' is detailed in ''cbPlugin.h'', if you want to go take a look.&lt;br /&gt;
&lt;br /&gt;
===Provides Configuration Dialog===&lt;br /&gt;
&lt;br /&gt;
This indicates whether or not the plugin is to provide a configuration dialog which can be accessed through the '''Settings-&amp;gt;Configure Plugins''' submenu. We don't need one, so leave this box unchecked.&lt;br /&gt;
&lt;br /&gt;
===Filenames===&lt;br /&gt;
&lt;br /&gt;
The filenames should have been filled in automatically by the dialog when you entered the Plugin name, if you used the name &amp;quot;HelloWorldPlugin&amp;quot;, for example, these should be helloworldplugin.h and helloworldplugin.cpp respectively. If you want to change the names of the files generated, this is where to do it (this tutorial will assume you have left them as the default values).&lt;br /&gt;
&lt;br /&gt;
The guard-block box is simply if you wish to place inclusion guards in the header file, and if you do what symbol to use. If you don't know what these are then just leave it as it is.&lt;br /&gt;
&lt;br /&gt;
Click '''Create''' and take note of the next dialog box's message about the SDK include and library directories, that's what we'll be dealing with next.&lt;br /&gt;
&lt;br /&gt;
==Letting the project know where to find the SDK==&lt;br /&gt;
&lt;br /&gt;
Code::Blocks should have created a new project called &amp;quot;Custom Plugin&amp;quot;. Before we can compile anything we need to make sure that the compiler knows where the sdk files are in order to include headers and link the libraries. If your compiler has not been setup to know where wxWidgets is yet then this must also be done (see the links in Prerequisites for more details).&lt;br /&gt;
&lt;br /&gt;
Right click on the project and select '''Build Options''' then the '''Directories''' tab. Here, make sure the '''Compiler''' tab is selected then click on the '''Add''' button. Browse to where you unzipped the SDK and select the ''include'' directory (for example ''C:\CodeBlocks\sdk\include'' if you installed the SDK there), then click okay and select whether or not the path should remain relative. Go to the &amp;quot;Linker&amp;quot; tab and add the &amp;quot;lib&amp;quot; directory under where the SDK was installed in similar fashion (following my install, this would be in ''C:\CodeBlocks\sdk\lib'').&lt;br /&gt;
&lt;br /&gt;
===Linker Options===&lt;br /&gt;
&lt;br /&gt;
If you click on the '''Linker Options''' tab at the top level in the Build Options dialog, you will see that the plugin is being linked to the Code::Blocks core library (codeblocks) and the wxWidgets library (wxmsw242 under windows ''NOTE: The plugin generator uses 2.4.2, if you're using a different version of wxWidgets then change this'').&lt;br /&gt;
&lt;br /&gt;
===Compiler Options===&lt;br /&gt;
&lt;br /&gt;
The '''Compiler Options''' tab shows that several symbols have been defined when the plugin is compiled: ''__GNUWIN32__'', ''WXUSINGDLL'' and ''BUILDING_PLUGIN'' in this case (using windows). The first two are indicators to wxWidgets of the compiler and DLL options to use, and the last is an indicator to the Code::Blocks SDK headers that they are being used to build a plugin (which affects whether or not symbols are exported or imported for the DLL - see ''cbPlugin.h'' for example).&lt;br /&gt;
&lt;br /&gt;
==Adding Functionality==&lt;br /&gt;
&lt;br /&gt;
The plugin wizard should have generated us helloworldplugin.h and helloworldplugin.cpp. The header file contains the class definition; what we're interested in, however, is the definition of the class methods in helloworldplugin.cpp. The plugin wizard has generated a constructor, a destructor and three methods. ''OnAttatch'' and ''OnRelease'' are methods called to inform the plugin when it is attached (the user has selected it and Code::Blocks has loaded it) or released (Code::Blocks no longer has a use for it or is shutting down). Since our plugin does not need to perform any actions on loading or shutting down, we can leave these as they are.&lt;br /&gt;
&lt;br /&gt;
The ''Execute'' method, as mentioned earlier, is what we are really interested in. We are going to use the ''LogManager'' class to add a log message in the window beneath the editor. To do this we will need access to both the Manager class and the LogManager class. Manager is and internal Code::Blocks class which is used to keep track of internal information and the various task specific managers (like the LogManager and EditorManager - which is used to keep track of all the open files and their editors). LogManager is responsible for both normal output and debugging output (see ''logmanager.h'' for more details). Replace the generated Execute method with this new one:&lt;br /&gt;
&lt;br /&gt;
 int HelloWorldPlugin::Execute()&lt;br /&gt;
 {&lt;br /&gt;
     if( !IsAttached() )&lt;br /&gt;
         return -1;&lt;br /&gt;
     Manager::Get()-&amp;gt;GetLogManager()-&amp;gt;Log( _(&amp;quot;Hello World!&amp;quot;) );&lt;br /&gt;
     return 0;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
This new method uses the Manager's static Get method to return the singleton Manager object, then uses that to access the LogManager through the GetLogManager method. LogManager has a method called ''Log'' which appends a string to the bottom of the output log, so we use this to add the &amp;quot;Hello World!&amp;quot; message. The _() construct is part of wxWidgets' internationalisation utilities, and more information on it can be found in the wxWidgets [http://wiki.wxwidgets.org/wiki.pl?WxWidgets_Source_Oddities documentation].&lt;br /&gt;
&lt;br /&gt;
The first two lines check to see if the plugin has been attatched (in other words selected by the user in the '''Plugins-&amp;gt;Manage plugins''' menu), and thus whether it should perform any action at all. Currently the return value of Execute is not used anywhere, but all the default plugins use -1 for failure and 0 for success.&lt;br /&gt;
&lt;br /&gt;
==Compile! (And test)==&lt;br /&gt;
&lt;br /&gt;
(New)&lt;br /&gt;
The time is right and we should compile the project. The next step is to install the plugin. Go to the '''Plugins-&amp;gt;Manage plugins''' option. Hit the '''Install new''' button. The manager ask you where the plugin lies. Go to that folder and select the *.cbplugin file. Code::Blocks imports your plugin automatically. If this procedure was successful you can see your plugin in the ''Installed plugins'' list. To execute your plugin go to the '''Plugins''' menu and choose your plugin. That's all.&lt;br /&gt;
&lt;br /&gt;
(Old)&lt;br /&gt;
This should produce a file called HelloWorldPlugin.dll, which can be tested by copying to the ''CodeBlocks\share\CodeBlocks\plugins\'' directory and restarting Code::Blocks. There should now be an option in the '''Plugins''' menu for &amp;quot;Hello World&amp;quot; (or whatever the title field was set to when the plugin was generated - or in ''m_PluginInfo''). Click on this and &amp;quot;Hello World!&amp;quot; should appear in the Code::Blocks logging window. Congratulations, you've just created your first plugin!&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
It is essential to learn how wxWidgets works if you seriously plan on working on plugins, since most of Code::Blocks depends on it, and you will find it easier to add and manipulate components if you have a firm grasp of its principles. More information on this can be found in the wxWidgets [http://www.wxwidgets.org/docs.htm documentation]. Another good place to learn from is the source code from the existing Code::Blocks plugins, which can be downloaded along with the rest of the Code::Blocks source code from the [https://www.codeblocks.org/downloads.shtml download page]. &lt;br /&gt;
&lt;br /&gt;
Hopefully this tutorial has helped you work through a few fundamentals in terms of creating plugins, happy coding!&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Using_STLFilt_with_MinGW&amp;diff=5112</id>
		<title>Using STLFilt with MinGW</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Using_STLFilt_with_MinGW&amp;diff=5112"/>
		<updated>2007-12-14T20:09:39Z</updated>

		<summary type="html">&lt;p&gt;Wobien: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the '''Sandbox''' where you can edit until your heart's content. Check out the 'edit' link at the top of this page to play around in here.&lt;br /&gt;
&lt;br /&gt;
== Italic Text ==&lt;br /&gt;
&lt;br /&gt;
Look at the ''italic text''.&lt;br /&gt;
&lt;br /&gt;
== Bold Text ==&lt;br /&gt;
&lt;br /&gt;
Look at the '''bold text'''.&lt;br /&gt;
&lt;br /&gt;
== Lists ==&lt;br /&gt;
&lt;br /&gt;
*Lists are easy.&lt;br /&gt;
**Really easy.&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
Some images....&lt;br /&gt;
&lt;br /&gt;
[[Image:Chk.png]]&lt;br /&gt;
[[Image:Nop.png]]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
Links to other pages, external sites. etc&lt;br /&gt;
&lt;br /&gt;
Link to page in this wiki&lt;br /&gt;
[[Installing Code::Blocks from source]]&lt;br /&gt;
&lt;br /&gt;
Link with no title&lt;br /&gt;
[http://www.google.com]&lt;br /&gt;
&lt;br /&gt;
Link with title&lt;br /&gt;
[http://www.google.com The Google Search engine]&lt;br /&gt;
&lt;br /&gt;
Link to category (note the initial colon)&lt;br /&gt;
[[:Category:Installation\Build Instructions]]&lt;br /&gt;
&lt;br /&gt;
To categorize a page, remove the initial colon like this: &amp;lt;nowiki&amp;gt;[[Category:Installation\Build_Instructions]]&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=File:Foto_wobien.jpg&amp;diff=5111</id>
		<title>File:Foto wobien.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=File:Foto_wobien.jpg&amp;diff=5111"/>
		<updated>2007-12-14T11:40:25Z</updated>

		<summary type="html">&lt;p&gt;Wobien: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;i uploaded this not knowing how to delete it: please delete!&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=File:Foto_wobien.jpg&amp;diff=5110</id>
		<title>File:Foto wobien.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=File:Foto_wobien.jpg&amp;diff=5110"/>
		<updated>2007-12-14T11:00:39Z</updated>

		<summary type="html">&lt;p&gt;Wobien: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=5086</id>
		<title>Installing a supported compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=5086"/>
		<updated>2007-12-13T16:59:46Z</updated>

		<summary type="html">&lt;p&gt;Wobien: /* Compiler-neutral setup steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
When you launch Code::Blocks for the first time, it will scan the system for any supported compilers (it takes virtually no time). After this scan completes, Code::Blocks will have been configured for the found compiler(s). Code::Blocks will also be configured even for compilers that were not found (default installation settings will be used for each of those compilers).&lt;br /&gt;
&lt;br /&gt;
For more info on how to download and install each of the above compilers, please read on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
Currently supported compilers, at the time of this writing are:&lt;br /&gt;
* [http://www.mingw.org MinGW GCC C/C++ Free Compiler, including G77 (Fortran)]&lt;br /&gt;
* [http://mspgcc.sourceforge.net/ MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/ TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/ PowerPC GCC C/C++]&lt;br /&gt;
* [http://msdn.microsoft.com/visualc/vctoolkit2003 Microsoft's Visual C++ Free Toolkit 2003]&lt;br /&gt;
* [http://www.borland.com/products/downloads/download_cbuilder.html Borland's C/C++ Free Compiler 5.5]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [http://store.scitechsoft.com/product_info.php?products_id=37/ OpenWatcom Free C/C++ Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Go to MinGW's [http://www.mingw.org/download.shtml downloads] page and download the file named &amp;lt;code&amp;gt;MinGW-x.y.z.exe&amp;lt;/code&amp;gt;, where x, y and z are version numbers. At the time of this writing, this file is &amp;lt;code&amp;gt;MinGW-3.1.0-1.exe&amp;lt;/code&amp;gt;. If you consider yourself lucky, you might also try &amp;lt;code&amp;gt;MinGW-3.2.0-rc-3.exe&amp;lt;/code&amp;gt;. It's not a stable release yet, but it works and lacks some bugs the older version has.&lt;br /&gt;
These setup files contain everything needed to compile and debug windows programs.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Microsoft Visual C++ Free Toolkit 2003 ===&lt;br /&gt;
 &lt;br /&gt;
====This no longer works as discribed since the Toolkit was removed in favor of the 2005 release.====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to this [http://msdn.microsoft.com/visualc/vctoolkit2003 MSDN site] and click on the link labeled &amp;quot;Download the Visual C++ Toolkit 2003&amp;quot;. This will download the setup file.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''This download is &amp;lt;u&amp;gt;not sufficient&amp;lt;/u&amp;gt; for building windows programs. You will also have to download and install the [http://www.microsoft.com/msdownload/platformsdk/instmsi.htm Microsoft Platform SDK]''...&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Borland C++ Compiler 5.5 ===&lt;br /&gt;
&lt;br /&gt;
NOTE: ''At some point, you will be asked to register with Borland and fill out a survey. Registration is free.''&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.borland.com/products/downloads/download_cbuilder.html# Borland's downloads] and click on the link labeled &amp;quot;Compiler&amp;quot;. After you accept the license agreement, you will be provided with download links to the setup file.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Digital Mars C/C++ Free Compiler ===&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.digitalmars.com/download/dmcpp.html DigitalMars]. Accept the license agreement and you'll be redirected to a page containing download links. &lt;br /&gt;
&lt;br /&gt;
In that page, download:&lt;br /&gt;
*The '''Digital Mars C/C++ Compiler''' (&amp;lt;tt&amp;gt;dm8**c.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''Basic Utilities''' (&amp;lt;tt&amp;gt;bup.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''STLport''' library (&amp;lt;tt&amp;gt;stlport.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;dm\bin\sc.ini&amp;lt;/tt&amp;gt; in a text editor, and replace the line&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
with&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\stlport\stlport&amp;quot;;&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
&lt;br /&gt;
=== Configuring CodeBlocks to use the Intel C++ Compiler ===&lt;br /&gt;
''Note: this info is for 1.0RC1 and previous versions, now C::B haves direct support for Intel C++.''&lt;br /&gt;
&lt;br /&gt;
After various user requests, we decided to post here the info to support the Intel Compiler on CodeBlocks. This should be easy, since the Intel Compiler can emulate the MSVC++ compiler.&lt;br /&gt;
&lt;br /&gt;
* change MS Toolkit linker from cl.exe to icl.exe&lt;br /&gt;
* add (installation path to the Intel C++)\Ia32\Bin to the &amp;quot;Programs -&amp;gt; Extra paths&amp;quot;&lt;br /&gt;
* add &amp;quot;-D_USE_INTEL_COMPILER&amp;quot; to &amp;quot;Compiler options&amp;quot;&lt;br /&gt;
* add (installation path to the Intel C++)\Ia32\Include and \lib to the &amp;quot;Global compiler options -&amp;gt; Directories&amp;quot;&lt;br /&gt;
* add some options like &amp;quot;/QaxK&amp;quot; to the &amp;quot;Compiler options&amp;quot; (icl -help)&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
Currently supported compilers, at the time of this writing are:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC C/C++ Free Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Linux you'll, most probably, already have everything that is needed in order to compile. All major Linux distributions (RedHat, Debian, SuSE, Mandriva, Gentoo, ArchLinux, etc) come with GCC &amp;amp; GDB preinstalled. To make sure you have have gcc installed, go to your terminal and type 'gcc -v'. In case you have GCC installed, you will get GCC's compile options and version number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
The Mac OS X port efforts has began recently, but it should be a matter of time until these compilers will be supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel Compiler beta (not yet released to public)]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Mac you'll need to install Xcode Tools from http://developer.apple.com/tools/&lt;br /&gt;
&lt;br /&gt;
This will install Apple versions of:&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gcc/&lt;br /&gt;
http://www.gnu.org/software/gdb/&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Now that you have downloaded the setup file of the compiler of your choice, launch its installation by double-clicking on the setup file. The actual installation process is really simple. Just press &amp;quot;Next&amp;quot; all the way and you 're done.&lt;br /&gt;
&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure. Launch Code::Blocks and you 're all set :)&lt;br /&gt;
&lt;br /&gt;
If that is not the case, launch Code::Blocks. If it is the first time you launch it, the compiler auto-detection will be launched.&lt;br /&gt;
If your compiler was not auto-detected, go to &amp;quot;Settings-&amp;gt;Compiler and Debugger-&amp;gt;Global Compiler settings-&amp;gt;Toolchain executables&amp;quot;, select the compiler you installed and press &amp;quot;Auto-detect&amp;quot;.&lt;br /&gt;
If you get a message saying that the compiler was auto-detected, congratulations!&lt;br /&gt;
If not, then press the button with the three dots next to the &amp;quot;Auto-detect&amp;quot; button and select the installation directory of your compiler manually.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''The compiler's installation directory is exactly this: the installation directory. Not the &amp;quot;bin&amp;quot; subdirectory nor any other.''&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=5085</id>
		<title>Installing a supported compiler</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler&amp;diff=5085"/>
		<updated>2007-12-13T16:58:32Z</updated>

		<summary type="html">&lt;p&gt;Wobien: updated steps to set compilor folder&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
When you launch Code::Blocks for the first time, it will scan the system for any supported compilers (it takes virtually no time). After this scan completes, Code::Blocks will have been configured for the found compiler(s). Code::Blocks will also be configured even for compilers that were not found (default installation settings will be used for each of those compilers).&lt;br /&gt;
&lt;br /&gt;
For more info on how to download and install each of the above compilers, please read on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
Currently supported compilers, at the time of this writing are:&lt;br /&gt;
* [http://www.mingw.org MinGW GCC C/C++ Free Compiler, including G77 (Fortran)]&lt;br /&gt;
* [http://mspgcc.sourceforge.net/ MSP430 GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/ TriCore GCC C/C++]&lt;br /&gt;
* [http://www.hightec-rt.com/ PowerPC GCC C/C++]&lt;br /&gt;
* [http://msdn.microsoft.com/visualc/vctoolkit2003 Microsoft's Visual C++ Free Toolkit 2003]&lt;br /&gt;
* [http://www.borland.com/products/downloads/download_cbuilder.html Borland's C/C++ Free Compiler 5.5]&lt;br /&gt;
* [http://www.digitalmars.com/ Digital Mars Free C/C++ Compiler]&lt;br /&gt;
* [http://store.scitechsoft.com/product_info.php?products_id=37/ OpenWatcom Free C/C++ Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Go to MinGW's [http://www.mingw.org/download.shtml downloads] page and download the file named &amp;lt;code&amp;gt;MinGW-x.y.z.exe&amp;lt;/code&amp;gt;, where x, y and z are version numbers. At the time of this writing, this file is &amp;lt;code&amp;gt;MinGW-3.1.0-1.exe&amp;lt;/code&amp;gt;. If you consider yourself lucky, you might also try &amp;lt;code&amp;gt;MinGW-3.2.0-rc-3.exe&amp;lt;/code&amp;gt;. It's not a stable release yet, but it works and lacks some bugs the older version has.&lt;br /&gt;
These setup files contain everything needed to compile and debug windows programs.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Microsoft Visual C++ Free Toolkit 2003 ===&lt;br /&gt;
 &lt;br /&gt;
====This no longer works as discribed since the Toolkit was removed in favor of the 2005 release.====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to this [http://msdn.microsoft.com/visualc/vctoolkit2003 MSDN site] and click on the link labeled &amp;quot;Download the Visual C++ Toolkit 2003&amp;quot;. This will download the setup file.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''This download is &amp;lt;u&amp;gt;not sufficient&amp;lt;/u&amp;gt; for building windows programs. You will also have to download and install the [http://www.microsoft.com/msdownload/platformsdk/instmsi.htm Microsoft Platform SDK]''...&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Borland C++ Compiler 5.5 ===&lt;br /&gt;
&lt;br /&gt;
NOTE: ''At some point, you will be asked to register with Borland and fill out a survey. Registration is free.''&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.borland.com/products/downloads/download_cbuilder.html# Borland's downloads] and click on the link labeled &amp;quot;Compiler&amp;quot;. After you accept the license agreement, you will be provided with download links to the setup file.&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Digital Mars C/C++ Free Compiler ===&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.digitalmars.com/download/dmcpp.html DigitalMars]. Accept the license agreement and you'll be redirected to a page containing download links. &lt;br /&gt;
&lt;br /&gt;
In that page, download:&lt;br /&gt;
*The '''Digital Mars C/C++ Compiler''' (&amp;lt;tt&amp;gt;dm8**c.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''Basic Utilities''' (&amp;lt;tt&amp;gt;bup.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*The '''STLport''' library (&amp;lt;tt&amp;gt;stlport.zip&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;dm\bin\sc.ini&amp;lt;/tt&amp;gt; in a text editor, and replace the line&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
with&lt;br /&gt;
 INCLUDE=&amp;quot;%@P%\..\stlport\stlport&amp;quot;;&amp;quot;%@P%\..\include&amp;quot;;&amp;quot;%@P%\..\mfc\include&amp;quot;;%INCLUDE%&lt;br /&gt;
&lt;br /&gt;
=== Configuring CodeBlocks to use the Intel C++ Compiler ===&lt;br /&gt;
''Note: this info is for 1.0RC1 and previous versions, now C::B haves direct support for Intel C++.''&lt;br /&gt;
&lt;br /&gt;
After various user requests, we decided to post here the info to support the Intel Compiler on CodeBlocks. This should be easy, since the Intel Compiler can emulate the MSVC++ compiler.&lt;br /&gt;
&lt;br /&gt;
* change MS Toolkit linker from cl.exe to icl.exe&lt;br /&gt;
* add (installation path to the Intel C++)\Ia32\Bin to the &amp;quot;Programs -&amp;gt; Extra paths&amp;quot;&lt;br /&gt;
* add &amp;quot;-D_USE_INTEL_COMPILER&amp;quot; to &amp;quot;Compiler options&amp;quot;&lt;br /&gt;
* add (installation path to the Intel C++)\Ia32\Include and \lib to the &amp;quot;Global compiler options -&amp;gt; Directories&amp;quot;&lt;br /&gt;
* add some options like &amp;quot;/QaxK&amp;quot; to the &amp;quot;Compiler options&amp;quot; (icl -help)&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
Currently supported compilers, at the time of this writing are:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC C/C++ Free Compiler]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device Free C Compiler (SDCC)]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel C/C++ Compiler]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Linux you'll, most probably, already have everything that is needed in order to compile. All major Linux distributions (RedHat, Debian, SuSE, Mandriva, Gentoo, ArchLinux, etc) come with GCC &amp;amp; GDB preinstalled. To make sure you have have gcc installed, go to your terminal and type 'gcc -v'. In case you have GCC installed, you will get GCC's compile options and version number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
The Mac OS X port efforts has began recently, but it should be a matter of time until these compilers will be supported:&lt;br /&gt;
* [http://gcc.gnu.org/ GNU GCC]&lt;br /&gt;
* [http://www.intel.com/cd/software/products/asmo-na/eng/compilers/index.htm Intel Compiler beta (not yet released to public)]&lt;br /&gt;
* [http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]&lt;br /&gt;
&lt;br /&gt;
=== Downloading the GNU GCC compiler &amp;amp; GDB debugger ===&lt;br /&gt;
&lt;br /&gt;
Under Mac you'll need to install Xcode Tools from http://developer.apple.com/tools/&lt;br /&gt;
&lt;br /&gt;
This will install Apple versions of:&lt;br /&gt;
&lt;br /&gt;
http://www.gnu.org/software/gcc/&lt;br /&gt;
http://www.gnu.org/software/gdb/&lt;br /&gt;
http://www.gnu.org/software/make/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler-neutral setup steps ==&lt;br /&gt;
&lt;br /&gt;
Now that you have downloaded the setup file of the compiler of your choice, launch its installation by double-clicking on the setup file. The actual installation process is really simple. Just press &amp;quot;Next&amp;quot; all the way and you 're done.&lt;br /&gt;
&lt;br /&gt;
If you installed the compiler on its default installation directory, there is nothing more to configure. Launch Code::Blocks and you 're all set :)&lt;br /&gt;
&lt;br /&gt;
If that is not the case, launch Code::Blocks. If it is the first time you launch it, the compiler auto-detection will be launched.&lt;br /&gt;
If your compiler was not auto-detected, go to &amp;quot;Settings-&amp;gt;Compilor and Debugger-&amp;gt;Global Compilor settings-&amp;gt;Toolchain executables&amp;quot;, select the compiler you installed and press &amp;quot;Auto-detect&amp;quot;.&lt;br /&gt;
If you get a message saying that the compiler was auto-detected, congratulations!&lt;br /&gt;
If not, then press the button with the three dots next to the &amp;quot;Auto-detect&amp;quot; button and select the installation directory of your compiler manually.&lt;br /&gt;
&lt;br /&gt;
NOTE: ''The compiler's installation directory is exactly this: the installation directory. Not the &amp;quot;bin&amp;quot; subdirectory nor any other.''&lt;/div&gt;</summary>
		<author><name>Wobien</name></author>
	</entry>
</feed>