<?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=Jmccay</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=Jmccay"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/Jmccay"/>
	<updated>2026-05-23T00:35:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=5043</id>
		<title>Developer documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Developer_documentation&amp;diff=5043"/>
		<updated>2007-11-04T22:04:49Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
Articles for Code::Blocks developers.&lt;br /&gt;
&lt;br /&gt;
* '''[http://launchpad.net/products/codeblocks/ Translation]'''&lt;br /&gt;
:Code::Blocks uses Launchpad to coordinate translation efforts.&lt;br /&gt;
&lt;br /&gt;
* '''[[Coding style]]'''&lt;br /&gt;
:The source code formatting style used in the Code::Blocks' source.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a custom lexer for Code::Blocks editor]]'''&lt;br /&gt;
:How to add support for new syntax lighting schemes.&lt;br /&gt;
&lt;br /&gt;
* '''[[Creating a patch to submit to BerliOS (Patch Tracker)]]'''&lt;br /&gt;
:Creating a diff file and then submitting it to the patch tracker.&lt;br /&gt;
&lt;br /&gt;
* '''[[Unicode Standards]]'''&lt;br /&gt;
:Information about unicode standards and how unicode is handled in Code::Blocks' source code.&lt;br /&gt;
&lt;br /&gt;
* '''[[Various development tips]]'''&lt;br /&gt;
:List of various development tips for Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Scripting Code::Blocks]]'''&lt;br /&gt;
:Information about scripting Code::Blocks with [http://www.squirrel-lang.org/ Squirrel].&lt;br /&gt;
&lt;br /&gt;
* '''[[A short overview about Code::Blocks architecture]]'''&lt;br /&gt;
:Information about the architecture of Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
* '''[[Code::Blocks SDK events]]'''&lt;br /&gt;
:Information about the Code::Blocks SDK events and how to work with them.&lt;br /&gt;
&lt;br /&gt;
* '''[[File formats description]]'''&lt;br /&gt;
:Description of the format of each file Code::Blocks produces.&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;u&amp;gt;SDK Documentation&amp;lt;/u&amp;gt;'''&lt;br /&gt;
:See the project page for this at http://developer.berlios.de/projects/codeblocks/ (under the downloads).&lt;br /&gt;
&lt;br /&gt;
== Plug-In development ==&lt;br /&gt;
&lt;br /&gt;
* [[Creating a simple &amp;quot;Hello World&amp;quot; plugin]]&lt;br /&gt;
* [[Creating a Plug-in which modifies CB's Menus]]&lt;br /&gt;
* [[Creating a plugin that actually does something]]&lt;br /&gt;
* [[Managing Plug-in Resources]]&lt;br /&gt;
&lt;br /&gt;
* [[Research on doing a Plug-in for embedded help in CB]]&lt;br /&gt;
&lt;br /&gt;
* [[wxSmith extensions]]&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&lt;br /&gt;
Using scripting to extend Code::Blocks' functionality&lt;br /&gt;
&lt;br /&gt;
* [[Wizard scripts|Creating a new project wizard]]&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=User_documentation&amp;diff=4477</id>
		<title>User documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=User_documentation&amp;diff=4477"/>
		<updated>2007-03-05T00:17:46Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;br /&gt;
[[Category:User Documentation]]&lt;br /&gt;
__TOC__&lt;br /&gt;
Articles for Code::Blocks users.&lt;br /&gt;
&lt;br /&gt;
'''[[Installing Code::Blocks]]'''&lt;br /&gt;
&lt;br /&gt;
:How to install Code::Blocks (from binary or source)&lt;br /&gt;
&lt;br /&gt;
'''[[Keyboard Shortcuts]]'''&lt;br /&gt;
&lt;br /&gt;
:List of keyboard shortcuts that can be used in Code::Blocks&lt;br /&gt;
&lt;br /&gt;
'''[[Command line arguments]]'''&lt;br /&gt;
&lt;br /&gt;
:List of command-line arguments that can be used with Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[Personalities]]'''&lt;br /&gt;
&lt;br /&gt;
:Customize the Code::Blocks user interface for different workflows.&lt;br /&gt;
&lt;br /&gt;
'''[[Code::Blocks Plugins]]'''&lt;br /&gt;
&lt;br /&gt;
:List of plugins that come with Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
'''[[The build process of Code::Blocks]]'''&lt;br /&gt;
&lt;br /&gt;
:Information about how Code::Blocks actually builds your source code.&lt;br /&gt;
&lt;br /&gt;
'''[[Scripting Code::Blocks]]'''&lt;br /&gt;
:Information about scripting Code::Blocks with [http://www.squirrel-lang.org/ Squirrel].&lt;br /&gt;
&lt;br /&gt;
'''[[Miscellaneous]]'''&lt;br /&gt;
:Miscellaneous things related to the user development experience.  This is a catch all place.&lt;br /&gt;
&lt;br /&gt;
== Application development ==&lt;br /&gt;
&lt;br /&gt;
* [[Builtin variables]]&lt;br /&gt;
* [[Recommended global variables]]&lt;br /&gt;
* [[Debugging with Code::Blocks]]&lt;br /&gt;
&lt;br /&gt;
== Compilers ==&lt;br /&gt;
&lt;br /&gt;
* [[Global compiler variables]]&lt;br /&gt;
* [[Precompiled headers]]&lt;br /&gt;
* [[Installing a supported compiler]]&lt;br /&gt;
* [[Installing Cygwin Compiler]]&lt;br /&gt;
* [[Installing Fortran Compiler]]&lt;br /&gt;
* [[Installing Uniwin remote compiler]]&lt;br /&gt;
* [[Code::Blocks_and_Cross_Compilers|Using cross compilers]]&lt;br /&gt;
* [[Integrating Microsoft Visual Toolkit 2003 with Code::Blocks IDE]]&lt;br /&gt;
* [[Integrating Microsoft Visual C 6 with Code::Blocks IDE]]&lt;br /&gt;
&lt;br /&gt;
== Third-party libraries ==&lt;br /&gt;
&lt;br /&gt;
* [[Using SDL with Code::Blocks]]&lt;br /&gt;
* [[Using GLFW with Code::Blocks]]&lt;br /&gt;
&lt;br /&gt;
== User interface development ==&lt;br /&gt;
&lt;br /&gt;
* [[WxSmith Tutorial &amp;amp; Pointers|Creating a dialog for wxWidgets with wxSmith]]&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Miscellaneous&amp;diff=4476</id>
		<title>Miscellaneous</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Miscellaneous&amp;diff=4476"/>
		<updated>2007-03-05T00:16:56Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Miscellaneous]]&lt;br /&gt;
&lt;br /&gt;
'''Editor Related Items'''&lt;br /&gt;
&lt;br /&gt;
Scintilla (CodeBlocks editing component) offers users an easy way for inserting fold points in the code using the following symbols:&lt;br /&gt;
://{ -- as a block starter&lt;br /&gt;
://} -- as a block ender&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Talk:Personalities&amp;diff=4459</id>
		<title>Talk:Personalities</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Talk:Personalities&amp;diff=4459"/>
		<updated>2007-02-23T18:13:14Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is a bug in Personalities.  Currently, the ask option doesn't produce a list of the personalities.&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_Tutorial_%26_Pointers&amp;diff=292</id>
		<title>WxSmith Tutorial &amp; Pointers</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_Tutorial_%26_Pointers&amp;diff=292"/>
		<updated>2005-10-28T01:51:11Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Tutorial ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;need to create this here&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pointers ===&lt;br /&gt;
&lt;br /&gt;
When using an XRC file, do not forget to initialize the wxXMLResouce Handlers &amp;amp; XRC File.  For example in your App::OnInit:&lt;br /&gt;
&lt;br /&gt;
    // Loading XRC resource file (not in a zip file).&lt;br /&gt;
    wxXmlResource::Get()-&amp;gt;InitAllHandlers();&lt;br /&gt;
    wxXmlResource::Get()-&amp;gt;Load(&amp;quot;&amp;lt;your XRC File name&amp;gt;.xrc&amp;quot;);&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_(MSW)&amp;diff=269</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=269"/>
		<updated>2005-10-22T18:58:56Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: /* Building wxWidgets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the instructions to compile wxWidgets do you can compile Code::Blocks on your own.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' These instructions are MS Windows (TM) specific, but because we are using MinGW it should be possible to use these instructions with some modifications on other platforms.&lt;br /&gt;
&lt;br /&gt;
== Install MinGW ==&lt;br /&gt;
If you don't have the Code::Blocks + MinGW bundle, grab the latest MinGW stuff from the [http://www.mingw.org/download.shtml#hdr2 MinGW site] and install it under a directory you like.&lt;br /&gt;
'''NOTE:''' In these instructions we're calling the MinGW directory &amp;lt;MINGW&amp;gt;, so you have to replace that with you're own directory.&lt;br /&gt;
&lt;br /&gt;
'''If you DO have the Code::Blocks + MinGW bundle, or have already installed MINGW on your own, you can skip this section.'''&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The files are compressed in the tar.gz format. You need a third-party extraction utility to unzip them. (like 7-zip)&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.sf.net/mingw/gdb-5.2.1-1.exe?download gdb-5.2.1-1.exe]&lt;br /&gt;
GDB is not really needed, but could be usefull for debugging.&lt;br /&gt;
&lt;br /&gt;
After you install, make sure you have the following directories under your path:&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;
== Download and Install the wxWidgets source code ==&lt;br /&gt;
The wxWidgets 2.6.1 distribution can be found at the [http://www.wxwidgets.org/dl_msw2.htm#stable wxWidgets website]. (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:''' In the rest of these instructions we are calling the wxWidgets directory &amp;lt;WXWIN&amp;gt; you have to change it to your own directory. (e.g. &amp;quot;c:\wxWidgets-2.6.1&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 (cmd.exe), not from a unix-like shell. BTW, The same problem would probably arise as well if cygwin is in the path.&lt;br /&gt;
&lt;br /&gt;
== Check make version ==&lt;br /&gt;
If you didn't install MingW yourself you have to make sure you have the right version of make. Open the command prompt and type:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -v&amp;lt;/tt&amp;gt;&lt;br /&gt;
If the version is 3.80 or greater it is allright to go on, else you have to install the new make.&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;&amp;lt;BR&amp;gt;&lt;br /&gt;
'''NOTE: The following directions do not work with msys, or other forms of Unix on windows.'''&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
''Regaurding warning: type attributes are honored only at type definition: ''&amp;lt;BR&amp;gt;&lt;br /&gt;
''the warnings are because the makefile turned all warnings on... you can easily edit it at ur wishes&lt;br /&gt;
''-lowjoel (Moderator wxWidgets forum) {http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?t=3324&amp;amp;start=0&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=&amp;amp;sid=12dc997430a4cb2bc99f0175699f58de}''&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
Now we are on the right place we are first going to clean up the source:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 clean &amp;lt;/tt&amp;gt;&lt;br /&gt;
'''NOTE:''' make sure you use the same options to clean that you use for the build step below.  the clean target uses these environment variables and only cleans that version of the generated object and library files (so it will actually not clean the intended files if these variables are not present) &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' if you still have problems with compiling after cleaning, you may want to remove the directory in the build\msw directory. (it contains object files...)&lt;br /&gt;
When everything is clean we can compile wxWidgets:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb&amp;lt;/tt&amp;gt;&lt;br /&gt;
'''NOTE:''' these options are the official Code::Blocks options. When you want another version of wxWidgets (unicode or debug) you have to make sure you build a MONOLITHIC version. (One big dll)&lt;br /&gt;
Now you can get a cup of coffee, or do something else, because this could take a long time.&lt;br /&gt;
&lt;br /&gt;
== Build the STC library (Not needed for CVS HEAD version) ==&lt;br /&gt;
If you closed the command prompt, you have to open it again.&lt;br /&gt;
We are going to the STC directory&lt;br /&gt;
 &amp;lt;tt&amp;gt;cd ..\..\contrib\build\stc&amp;lt;/tt&amp;gt;&lt;br /&gt;
We clean the source:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 clean&amp;lt;/tt&amp;gt;&lt;br /&gt;
And we going to compile it. Make sure you have the same build options as before.&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb&amp;lt;/tt&amp;gt;&lt;br /&gt;
So now everything is compiled for using with codeblocks.&lt;br /&gt;
&lt;br /&gt;
== Copy libraries ==&lt;br /&gt;
When compilation is finished it is usefull to copy the libs to another directory. By doing this you can make several builds (e.g. debug and release).&lt;br /&gt;
* So first we create a directory this could be done in &amp;lt;WXWIN&amp;gt;\lib.&lt;br /&gt;
* Then we go to the directory &amp;lt;WXWIN&amp;gt;\lib\gcc_dll (could called diffrent when you changed the build options)&lt;br /&gt;
* Now we move all the files (.a .dll) and the directory (msw) to the directory of your choice. (for me it is &amp;lt;WXWIN&amp;gt;\lib\codeblocks)&lt;br /&gt;
'''NOTE:''' Make sure you everything is removed from the directory &amp;lt;WXWIN&amp;gt;\lib\gcc_dll else you can get trouble when compiling another version.&lt;br /&gt;
&lt;br /&gt;
== Setting up paths ==&lt;br /&gt;
Everything is done now, and we can start compiling Code::Blocks, couldn't we? No! First we have to setup the paths.&lt;br /&gt;
Open the codeblocks project (CodeBlocks-wx2.6.0.cbp) and go to the Build options.&lt;br /&gt;
From there you have to go to the tab Directories and Compiler. Here you have to add the following paths (Remember to replace &amp;lt;WXWIN&amp;gt;)&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\lib\codeblocks\msw&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\include&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\contrib\include&lt;br /&gt;
The first path is used to find the right setup.h for the build you are using. The other two are for the normal include files.&lt;br /&gt;
&lt;br /&gt;
Now go to the Linker tab and add the following path:&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\lib\codeblocks&lt;br /&gt;
'''NOTE:''' You have to replace this with the directory of your own choice in the previous section!&lt;br /&gt;
&lt;br /&gt;
Finally, go to the resource tab and add the following path (Remember to replace &amp;lt;WXWIN&amp;gt;)&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\include&lt;br /&gt;
&lt;br /&gt;
Now you are finished with the configuration and you can hit the compile button (CTRL-F9). Be aware that Code::Blocks does not officially support wxWidgets 2.6.1 so it is possible that new files are not yet in the project. You have to do this by yourself.&lt;br /&gt;
&lt;br /&gt;
== Post compilation steps (before running C::B) ==&lt;br /&gt;
&lt;br /&gt;
When compilation process is finished, simply run the update.bat script. It will ensure that all resource files (that C::B uses) are in the right place and up to date.&lt;br /&gt;
&lt;br /&gt;
Note: This step requires appropriate zip command, which you likely have already set up and working. However, in case you have not, you should find something usable  [ftp://ftp.uu.net/pub/archiving/zip/WIN32/ here].&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
Edit: I didn't see any update.bat script but no matter.  Two changes to this howto to get everything to work.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1.  When creating a wx project in codeblocks, the link stage fails with cannot find -lwxmsw.  I needed to:&amp;lt;br&amp;gt;&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw26.a to C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw.a &amp;lt;br&amp;gt;&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw26_stc.a to C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw_stc.a &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or mess with the autogenerated makefile (they don't use WX_VER anymore it seems...) which is more of a hassle. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
2.  You will still get --enable-auto-import errors.  Looks like you just need to add a define: &amp;lt;br&amp;gt;&lt;br /&gt;
project-&amp;gt;build options-&amp;gt;compiler-&amp;gt;#defines &amp;lt;br&amp;gt;&lt;br /&gt;
WXUSINGDLL &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly it will look for wxmsw26_gcc_cb.dll and not find it.  Either put  &amp;lt;br&amp;gt;&lt;br /&gt;
C:\wxWidgets-2.6.1\lib\codeblocks in your PATH, put wxmsw26_gcc_cb.dll and wxmsw26_stc_gcc_cb.dll in C:\windows\system32, or add C:\wxWidgets-2.6.1\lib\codeblocks to compile-&amp;gt;compiler options-&amp;gt;programs-&amp;gt;additional paths &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Rebuild and everything should run ok.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
====Building wxWidgets 2.6.1 mingw32 &amp;amp; vc++ toolkit 2003 ====&lt;br /&gt;
&amp;lt;br&amp;gt;&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 on the vc++ toolkit seamlessly.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
--------------------&lt;br /&gt;
for mingw32 compiler&lt;br /&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;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;&lt;br /&gt;
stc is no longer needed for latest codeblocks (cvs version) which uses wxscintilla: &amp;lt;br&amp;gt;&lt;br /&gt;
cd ..\..\contrib\build\stc &amp;lt;br&amp;gt;&lt;br /&gt;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/i&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
cd &amp;lt;WXWIN&amp;gt;\lib; move gcc_dll codeblocks_gcc&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_gcc\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_gcc&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;
&lt;br /&gt;
compile-&amp;gt;compiler options&lt;br /&gt;
	programs-&amp;gt;additional paths&lt;br /&gt;
		C:\wxWidgets-2.6.1\lib\codeblocks_gcc&lt;br /&gt;
-OR- copy C:\wxWidgets-2.6.1\lib\codeblocks_gcc\wxmsw26_gcc_cb.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.1\lib\codeblocks_gcc (not recommended)&lt;br /&gt;
&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw26.a&lt;br /&gt;
to C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw.a&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw26_stc.a&lt;br /&gt;
to C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw_stc.a&lt;br /&gt;
&lt;br /&gt;
compile-&amp;gt;rebuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
------------------------------&lt;br /&gt;
for vc++ toolkit 2003 compiler&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 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;&lt;br /&gt;
stc is no longer needed for latest codeblocks (cvs version) which uses wxscintilla: &amp;lt;br&amp;gt;&lt;br /&gt;
cd ..\..\contrib\build\stc &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/i&amp;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.1\lib\codeblocks_vc&lt;br /&gt;
-OR- copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26_vc_cb.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.1\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.1\lib\codeblocks_vc\wxmsw26.exp&lt;br /&gt;
     to C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw.exp&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26.lib&lt;br /&gt;
     to C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw.lib&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26_stc.exp&lt;br /&gt;
     to C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw_stc.exp&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26_stc.lib&lt;br /&gt;
     to C:\wxWidgets-2.6.1\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 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Building codeblocks from source (using makefile)====&lt;br /&gt;
&lt;br /&gt;
Codeblocks can be used to build the source but here is how to build using just makefiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build wxWidgets-2.6.1 dll using mingw32&lt;br /&gt;
   mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb clean&lt;br /&gt;
   mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\gcc_dll to C:\wxWidgets-2.6.1\lib\gcc_dllUnicode (copy since wxDockIt expects gcc_dll to exists)&lt;br /&gt;
checkout CVS source codeblocks module (used VERSION_1_0 branch)&lt;br /&gt;
(beware path lengths - best to checkout to root directory - c:\)&lt;br /&gt;
download http://prdownloads.sourceforge.net/wxextended/wxDockIt_2.1.zip?download&lt;br /&gt;
extract wxDockIt to codeblocks\src\src&lt;br /&gt;
patch codeblocks\src\src\wxDockit\build\msw\makefile.gcc&lt;br /&gt;
   change &amp;quot;$(CXX) -shared -fPIC -o $@ $(WXDOCKIT_DLL_OBJECTS) $(LDFLAGS) -mthreads -L$(WX_DIR)$(__WXLIBPATH_FILENAMES) -L..\..\$(__WXDOCKIT_OUTPUT_FOLDER_FILENAMES_1) $(__DEBUGINFO) -mthreads -Wl,--out-implib,..\..\lib\gcc_dll\libwxdockit$(WXLIBPOSTFIX).a  -lwxmsw$(WX_VERSION)$(WXLIBPOSTFIX)_adv -lwxbase$(WX_VERSION)$(WXLIBPOSTFIX)_xml -lwxmsw$(WX_VERSION)$(WXLIBPOSTFIX)_core -lwxbase$(WX_VERSION)$(WXLIBPOSTFIX) -lwxtiff$(WX3RDPARTLIBPOSTFIX) -lwxjpeg$(WX3RDPARTLIBPOSTFIX) -lwxpng$(WX3RDPARTLIBPOSTFIX) -lwxzlib$(WX3RDPARTLIBPOSTFIX) -lwxregex$(WXLIBPOSTFIX) -lwxexpat$(WX3RDPARTLIBPOSTFIX) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32&amp;quot;&lt;br /&gt;
   to     &amp;quot;$(CXX) -shared -fPIC -o $@ $(WXDOCKIT_DLL_OBJECTS) $(LDFLAGS) -mthreads -L$(WX_DIR)$(__WXLIBPATH_FILENAMES) -L..\..\$(__WXDOCKIT_OUTPUT_FOLDER_FILENAMES_1) $(__DEBUGINFO) -mthreads -Wl,--out-implib,..\..\lib\gcc_dll\libwxdockit$(WXLIBPOSTFIX).a  -lwxmsw$(WX_VERSION)$(WXLIBPOSTFIX) -lwxtiff$(WX3RDPARTLIBPOSTFIX) -lwxjpeg$(WX3RDPARTLIBPOSTFIX) -lwxpng$(WX3RDPARTLIBPOSTFIX) -lwxzlib$(WX3RDPARTLIBPOSTFIX) -lwxregex$(WXLIBPOSTFIX) -lwxexpat$(WX3RDPARTLIBPOSTFIX) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32&amp;quot;&lt;br /&gt;
compile wxDockIt&lt;br /&gt;
   cd codeblocks\src\src\wxDockit\build\msw&lt;br /&gt;
   mingw32-make -f makefile.gcc WX_DIR=C:\wxWidgets-2.6.1 WX_SHARED=1 WX_DEBUG=0 WX_UNICODE=1 WX_VERSION=26 clean&lt;br /&gt;
   mingw32-make -f makefile.gcc WX_DIR=C:\wxWidgets-2.6.1 WX_SHARED=1 WX_DEBUG=0 WX_UNICODE=1 WX_VERSION=26&lt;br /&gt;
move codeblocks\src\src\wxDockit\build\msw\gcc_dll to codeblocks\src\src\wxDockit\build\msw\gcc_dllUnicode&lt;br /&gt;
edit codeblocks\src\src\Makefile.wx2.6&lt;br /&gt;
   change WX_DIR=C:/Devel/wxWindows-2.6.1 to WX_DIR=C:/wxWidgets-2.6.1&lt;br /&gt;
   change WX_CFG=NonUnicode to WX_CFG=Unicode&lt;br /&gt;
   global search+replace: replace &amp;quot; -lwxmsw26&amp;quot; with &amp;quot; -lwxmsw26u&amp;quot;&lt;br /&gt;
   global search+replace: replace &amp;quot;/msw&amp;quot; with &amp;quot;/mswu&amp;quot;&lt;br /&gt;
   replace &amp;quot;-Lsrc/wxDockit/lib&amp;quot; with &amp;quot;-Lsrc/wxDockit/lib/gcc_dll$(WX_CFG)&amp;quot;&lt;br /&gt;
   replace &amp;quot;..\wxDockit\lib\libwxdockit.a&amp;quot; with &amp;quot;src\wxDockit\lib\gcc_dll$(WX_CFG)\libwxdockitu.a&amp;quot;&lt;br /&gt;
edit C:\wxWidgets-2.6.1\lib\gcc_dllUnicode\mswu\wx\setup.h&lt;br /&gt;
   change &amp;quot;#define wxUSE_UNICODE 0&amp;quot; to &amp;quot;#define wxUSE_UNICODE 1&amp;quot;&lt;br /&gt;
start-&amp;gt;run-&amp;gt;cmd&lt;br /&gt;
cd codeblocks\src&lt;br /&gt;
mingw32-make -f Makefile.wx2.6 clean&lt;br /&gt;
mingw32-make -f Makefile.wx2.6&lt;br /&gt;
download ftp://ftp.info-zip.org/pub/infozip/MSDOS/zip231x.zip (infozip)&lt;br /&gt;
put zip.exe in some directory in your PATH (e.g. C:\MinGW\bin)&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\gcc_dllUnicode\wxmsw26u_gcc_cb.dll to codeblocks\src\output\wxmsw26u_gcc_cb.dll and codeblocks\src\devel\wxmsw26u_gcc_cb.dll&lt;br /&gt;
copy src\src\wxDockit\lib\gcc_dllUnicode\wxdockitu.dll to and codeblocks\src\output\wxdockitu.dll and codeblocks\src\devel\wxdockitu.dll&lt;br /&gt;
update.bat&lt;br /&gt;
output\CodeBlocks.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_(MSW)&amp;diff=229</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=229"/>
		<updated>2005-10-01T23:16:19Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: /* Building wxWidgets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are the instructions to compile wxWidgets do you can compile Code::Blocks on your own.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' These instructions are MS Windows (TM) specific, but because we are using MinGW it should be possible to use these instructions with some modifications on other platforms.&lt;br /&gt;
&lt;br /&gt;
== Install MinGW ==&lt;br /&gt;
If you don't have the Code::Blocks + MinGW bundle, grab the latest MinGW stuff from the [http://www.mingw.org/download.shtml#hdr2 MinGW site] and install it under a directory you like.&lt;br /&gt;
'''NOTE:''' In these instroctions we're calling the MinGW directory &amp;lt;MINGW&amp;gt;, so you have to replace that with you're own directory.&lt;br /&gt;
&lt;br /&gt;
'''If you DO have the Code::Blocks + MinGW bundle, or have already installed MINGW on your own, you can skip this section.'''&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The files are compressed in the tar.gz format. You need a third-party extraction utility to unzip them. (like 7-zip)&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.sf.net/mingw/gdb-5.2.1-1.exe?download gdb-5.2.1-1.exe]&lt;br /&gt;
GDB is not really needed, but could be usefull for debugging.&lt;br /&gt;
&lt;br /&gt;
After you install, make sure you have the following directories under your path:&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;
== Download and Install the wxWidgets source code ==&lt;br /&gt;
The wxWidgets 2.6.1 distribution can be found at the [http://www.wxwidgets.org/dl_msw2.htm#stable wxWidgets website]. (Note that ther e is also a winhelp file available.) You can get 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:''' In the rest of these instructions we are calling the wxWidgets directory &amp;lt;WXWIN&amp;gt; you have to change it to your own directory. (e.g. &amp;quot;c:\wxWidgets-2.6.1&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 (cmd.exe), not from a unix-like shell. BTW, The same problem would probably arise as well if cygwin is in the path.&lt;br /&gt;
&lt;br /&gt;
== Check make version ==&lt;br /&gt;
If you didn't install MingW yourself you have to make sure you have the right version of make. Open the command prompt and type:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -v&amp;lt;/tt&amp;gt;&lt;br /&gt;
If the version is 3.80 or greater it is allright to go on, else you have to install the new make.&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;&amp;lt;BR&amp;gt;&lt;br /&gt;
'''NOTE: The following directions do not work with msys, or other forms of Unix on windows.'''&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
Now we are on the right place we are first going to clean up the source:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 clean &amp;lt;/tt&amp;gt;&lt;br /&gt;
'''NOTE:''' make sure you use the same options to clean that you use for the build step below.  the clean target uses these environment variables and only cleans that version of the generated object and library files (so it will actually not clean the intended files if these variables are not present) &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' if you still have problems with compiling after cleaning, you may want to remove the directory in the build\msw directory. (it contains object files...)&lt;br /&gt;
When everything is clean we can compile wxWidgets:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb&amp;lt;/tt&amp;gt;&lt;br /&gt;
'''NOTE:''' these options are the official Code::Blocks options. When you want another version of wxWidgets (unicode or debug) you have to make sure you build a MONOLITHIC version. (One big dll)&lt;br /&gt;
Now you can get a cup of coffee, or do something else, because this could take a long time.&lt;br /&gt;
&lt;br /&gt;
== Build the STC library (Not needed for CVS HEAD version) ==&lt;br /&gt;
If you closed the command promt, you have to open it again.&lt;br /&gt;
We are going to the STC directory&lt;br /&gt;
 &amp;lt;tt&amp;gt;cd ..\..\contrib\build\stc&amp;lt;/tt&amp;gt;&lt;br /&gt;
We clean the source:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 clean&amp;lt;/tt&amp;gt;&lt;br /&gt;
And we going to compile it. Make sure you have the same build options as before.&lt;br /&gt;
 &amp;lt;tt&amp;gt;mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb&amp;lt;/tt&amp;gt;&lt;br /&gt;
So now everything is compiled for using codeblocks.&lt;br /&gt;
&lt;br /&gt;
== Copy libraries ==&lt;br /&gt;
When compilation is finished it is usefull to copy the libs to another directory. By doing this you can make several builds (e.g. debug and release).&lt;br /&gt;
* So first we create a directory this could be done in &amp;lt;WXWIN&amp;gt;\lib.&lt;br /&gt;
* Then we go to the directory &amp;lt;WXWIN&amp;gt;\lib\gcc_dll (could called diffrent when you changed the build options)&lt;br /&gt;
* Now we move all the files (.a .dll) and the directory (msw) to the directory of your choice. (for me it is &amp;lt;WXWIN&amp;gt;\lib\codeblocks)&lt;br /&gt;
'''NOTE:''' Make sure you everything is removed from the directory &amp;lt;WXWIN&amp;gt;\lib\gcc_dll else you can get trouble when compiling another version.&lt;br /&gt;
&lt;br /&gt;
== Setting up paths ==&lt;br /&gt;
Everything is done now, and we can start compiling Code::Blocks, couldn't we? No! First we have to setup the paths.&lt;br /&gt;
Open the codeblocks project (CodeBlocks-wx2.6.0.cbp) and go to the Build options.&lt;br /&gt;
From there you have to go to the tab Directories and Compiler. Here you have to add the following paths (Remember to replace &amp;lt;WXWIN&amp;gt;)&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\lib\codeblocks\msw&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\include&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\contrib\include&lt;br /&gt;
The first path is used to find the right setup.h for the build you are using. The other two are for the normal include files.&lt;br /&gt;
&lt;br /&gt;
Now go to the Linker tab and add the following path:&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\lib\codeblocks&lt;br /&gt;
'''NOTE:''' You have to replace this with the directory of your own choice in the previous section!&lt;br /&gt;
&lt;br /&gt;
Finally, go to the resource tab and add the following path (Remember to replace &amp;lt;WXWIN&amp;gt;)&lt;br /&gt;
* &amp;lt;WXWIN&amp;gt;\include&lt;br /&gt;
&lt;br /&gt;
Now you are finished with the configuration and you can hit the compile button (CTRL-F9). Be aware that Code::Blocks is not officially  support wxWidgets 2.6.1 so it is possible that new files are not yet in the project. You have to do this by your self.&lt;br /&gt;
&lt;br /&gt;
== Post compilation steps (before running C::B) ==&lt;br /&gt;
&lt;br /&gt;
When compilation process is finished, simply run the update.bat script. It will ensure that all resource files (that C::B uses) are in the right place and up to date.&lt;br /&gt;
&lt;br /&gt;
Note: This step requires appropriate zip command, which you likely have already set up and working. However, in case you have not, you should find something usable  [ftp://ftp.uu.net/pub/archiving/zip/WIN32/ here].&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
Edit: I didn't see any update.bat script but no matter.  Two changes to this howto to get everything to work.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1.  When creating a wx project in codeblocks, the link stage fails with cannot find -lwxmsw.  I needed to:&amp;lt;br&amp;gt;&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw26.a to C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw.a &amp;lt;br&amp;gt;&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw26_stc.a to C:\wxWidgets-2.6.1\lib\codeblocks\libwxmsw_stc.a &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or mess with the autogenerated makefile (they don't use WX_VER anymore it seems...) which is more of a hassle. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
2.  You will still get --enable-auto-import errors.  Looks like you just need to add a define: &amp;lt;br&amp;gt;&lt;br /&gt;
project-&amp;gt;build options-&amp;gt;compiler-&amp;gt;#defines &amp;lt;br&amp;gt;&lt;br /&gt;
WXUSINGDLL &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly it will look for wxmsw26_gcc_cb.dll and not find it.  Either put  &amp;lt;br&amp;gt;&lt;br /&gt;
C:\wxWidgets-2.6.1\lib\codeblocks in your PATH, put wxmsw26_gcc_cb.dll and wxmsw26_stc_gcc_cb.dll in C:\windows\system32, or add C:\wxWidgets-2.6.1\lib\codeblocks to compile-&amp;gt;compiler options-&amp;gt;programs-&amp;gt;additional paths &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Rebuild and everything should run ok.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
====Building wxWidgets 2.6.1 mingw32 &amp;amp; vc++ toolkit 2003 ====&lt;br /&gt;
&amp;lt;br&amp;gt;&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 changes to support wxWidgets on the vc++ toolkit seamlessly.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
--------------------&lt;br /&gt;
for mingw32 compiler&lt;br /&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;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;&lt;br /&gt;
stc is no longer needed for latest codeblocks (cvs version) which uses wxscintilla: &amp;lt;br&amp;gt;&lt;br /&gt;
cd ..\..\contrib\build\stc &amp;lt;br&amp;gt;&lt;br /&gt;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/i&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
cd &amp;lt;WXWIN&amp;gt;\lib; move gcc_dll codeblocks_gcc&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_gcc\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_gcc&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;
&lt;br /&gt;
compile-&amp;gt;compiler options&lt;br /&gt;
	programs-&amp;gt;additional paths&lt;br /&gt;
		C:\wxWidgets-2.6.1\lib\codeblocks_gcc&lt;br /&gt;
-OR- copy C:\wxWidgets-2.6.1\lib\codeblocks_gcc\wxmsw26_gcc_cb.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.1\lib\codeblocks_gcc (not recommended)&lt;br /&gt;
&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw26.a&lt;br /&gt;
to C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw.a&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw26_stc.a&lt;br /&gt;
to C:\wxWidgets-2.6.1\lib\codeblocks_gcc\libwxmsw_stc.a&lt;br /&gt;
&lt;br /&gt;
compile-&amp;gt;rebuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
------------------------------&lt;br /&gt;
for vc++ toolkit 2003 compiler&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 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;&lt;br /&gt;
stc is no longer needed for latest codeblocks (cvs version) which uses wxscintilla: &amp;lt;br&amp;gt;&lt;br /&gt;
cd ..\..\contrib\build\stc &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb clean &amp;lt;br&amp;gt;&lt;br /&gt;
nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/i&amp;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.1\lib\codeblocks_vc&lt;br /&gt;
-OR- copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26_vc_cb.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.1\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.1\lib\codeblocks_vc\wxmsw26.exp&lt;br /&gt;
     to C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw.exp&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26.lib&lt;br /&gt;
     to C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw.lib&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26_stc.exp&lt;br /&gt;
     to C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw_stc.exp&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\codeblocks_vc\wxmsw26_stc.lib&lt;br /&gt;
     to C:\wxWidgets-2.6.1\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 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Building codeblocks from source (using makefile)====&lt;br /&gt;
&lt;br /&gt;
Codeblocks can be used to build the source but here is how to build using just makefiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build wxWidgets-2.6.1 dll using mingw32&lt;br /&gt;
   mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb clean&lt;br /&gt;
   mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\gcc_dll to C:\wxWidgets-2.6.1\lib\gcc_dllUnicode (copy since wxDockIt expects gcc_dll to exists)&lt;br /&gt;
checkout CVS source codeblocks module (used VERSION_1_0 branch)&lt;br /&gt;
(beware path lengths - best to checkout to root directory - c:\)&lt;br /&gt;
download http://prdownloads.sourceforge.net/wxextended/wxDockIt_2.1.zip?download&lt;br /&gt;
extract wxDockIt to codeblocks\src\src&lt;br /&gt;
patch codeblocks\src\src\wxDockit\build\msw\makefile.gcc&lt;br /&gt;
   change &amp;quot;$(CXX) -shared -fPIC -o $@ $(WXDOCKIT_DLL_OBJECTS) $(LDFLAGS) -mthreads -L$(WX_DIR)$(__WXLIBPATH_FILENAMES) -L..\..\$(__WXDOCKIT_OUTPUT_FOLDER_FILENAMES_1) $(__DEBUGINFO) -mthreads -Wl,--out-implib,..\..\lib\gcc_dll\libwxdockit$(WXLIBPOSTFIX).a  -lwxmsw$(WX_VERSION)$(WXLIBPOSTFIX)_adv -lwxbase$(WX_VERSION)$(WXLIBPOSTFIX)_xml -lwxmsw$(WX_VERSION)$(WXLIBPOSTFIX)_core -lwxbase$(WX_VERSION)$(WXLIBPOSTFIX) -lwxtiff$(WX3RDPARTLIBPOSTFIX) -lwxjpeg$(WX3RDPARTLIBPOSTFIX) -lwxpng$(WX3RDPARTLIBPOSTFIX) -lwxzlib$(WX3RDPARTLIBPOSTFIX) -lwxregex$(WXLIBPOSTFIX) -lwxexpat$(WX3RDPARTLIBPOSTFIX) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32&amp;quot;&lt;br /&gt;
   to     &amp;quot;$(CXX) -shared -fPIC -o $@ $(WXDOCKIT_DLL_OBJECTS) $(LDFLAGS) -mthreads -L$(WX_DIR)$(__WXLIBPATH_FILENAMES) -L..\..\$(__WXDOCKIT_OUTPUT_FOLDER_FILENAMES_1) $(__DEBUGINFO) -mthreads -Wl,--out-implib,..\..\lib\gcc_dll\libwxdockit$(WXLIBPOSTFIX).a  -lwxmsw$(WX_VERSION)$(WXLIBPOSTFIX) -lwxtiff$(WX3RDPARTLIBPOSTFIX) -lwxjpeg$(WX3RDPARTLIBPOSTFIX) -lwxpng$(WX3RDPARTLIBPOSTFIX) -lwxzlib$(WX3RDPARTLIBPOSTFIX) -lwxregex$(WXLIBPOSTFIX) -lwxexpat$(WX3RDPARTLIBPOSTFIX) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32&amp;quot;&lt;br /&gt;
compile wxDockIt&lt;br /&gt;
   cd codeblocks\src\src\wxDockit\build\msw&lt;br /&gt;
   mingw32-make -f makefile.gcc WX_DIR=C:\wxWidgets-2.6.1 WX_SHARED=1 WX_DEBUG=0 WX_UNICODE=1 WX_VERSION=26 clean&lt;br /&gt;
   mingw32-make -f makefile.gcc WX_DIR=C:\wxWidgets-2.6.1 WX_SHARED=1 WX_DEBUG=0 WX_UNICODE=1 WX_VERSION=26&lt;br /&gt;
move codeblocks\src\src\wxDockit\build\msw\gcc_dll to codeblocks\src\src\wxDockit\build\msw\gcc_dllUnicode&lt;br /&gt;
edit codeblocks\src\src\Makefile.wx2.6&lt;br /&gt;
   change WX_DIR=C:/Devel/wxWindows-2.6.1 to WX_DIR=C:/wxWidgets-2.6.1&lt;br /&gt;
   change WX_CFG=NonUnicode to WX_CFG=Unicode&lt;br /&gt;
   global search+replace: replace &amp;quot; -lwxmsw26&amp;quot; with &amp;quot; -lwxmsw26u&amp;quot;&lt;br /&gt;
   global search+replace: replace &amp;quot;/msw&amp;quot; with &amp;quot;/mswu&amp;quot;&lt;br /&gt;
   replace &amp;quot;-Lsrc/wxDockit/lib&amp;quot; with &amp;quot;-Lsrc/wxDockit/lib/gcc_dll$(WX_CFG)&amp;quot;&lt;br /&gt;
   replace &amp;quot;..\wxDockit\lib\libwxdockit.a&amp;quot; with &amp;quot;src\wxDockit\lib\gcc_dll$(WX_CFG)\libwxdockitu.a&amp;quot;&lt;br /&gt;
edit C:\wxWidgets-2.6.1\lib\gcc_dllUnicode\mswu\wx\setup.h&lt;br /&gt;
   change &amp;quot;#define wxUSE_UNICODE 0&amp;quot; to &amp;quot;#define wxUSE_UNICODE 1&amp;quot;&lt;br /&gt;
start-&amp;gt;run-&amp;gt;cmd&lt;br /&gt;
cd codeblocks\src&lt;br /&gt;
mingw32-make -f Makefile.wx2.6 clean&lt;br /&gt;
mingw32-make -f Makefile.wx2.6&lt;br /&gt;
download ftp://ftp.info-zip.org/pub/infozip/MSDOS/zip231x.zip (infozip)&lt;br /&gt;
put zip.exe in some directory in your PATH (e.g. C:\MinGW\bin)&lt;br /&gt;
copy C:\wxWidgets-2.6.1\lib\gcc_dllUnicode\wxmsw26u_gcc_cb.dll to codeblocks\src\output\wxmsw26u_gcc_cb.dll and codeblocks\src\devel\wxmsw26u_gcc_cb.dll&lt;br /&gt;
copy src\src\wxDockit\lib\gcc_dllUnicode\wxdockitu.dll to and codeblocks\src\output\wxdockitu.dll and codeblocks\src\devel\wxdockitu.dll&lt;br /&gt;
update.bat&lt;br /&gt;
output\CodeBlocks.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Unicode_Standards&amp;diff=190</id>
		<title>Unicode Standards</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Unicode_Standards&amp;diff=190"/>
		<updated>2005-09-05T20:14:24Z</updated>

		<summary type="html">&lt;p&gt;Jmccay: Place for the Unicode information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is meant to be a location for developers to find all the current Unicode standards, or good practices, when editor and developing the Code::Blocks program.  I am going to try and summarize the discussions that I was pointed to here, but I am leaving out the original author.  Sorry  Feel free to edit this to improve it, or keep it up to date.  I am new to using wiki, so please exscuse the bad designs.  This is a a '''VERY''' rough draft with no clear organizational pattern.&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;     -- Joe M.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
reference: [http://www.wxwidgets.org/manuals/2.4.2/wx458.htm#unicode]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Macros ==&lt;br /&gt;
{NOTE: bullet list would look better here, but bold is used for now}&amp;lt;BR&amp;gt;&lt;br /&gt;
'''__TFILE__''' = wxWidgets provide equivilant to __FILE__&amp;lt;BR&amp;gt;&lt;br /&gt;
'''__TDATE__''' = wxWidgets provide equivilant to __DATE__&amp;lt;BR&amp;gt;&lt;br /&gt;
'''__TTIME__''' = wxWidgets provide equivilant to __TIME__&amp;lt;BR&amp;gt;&lt;br /&gt;
'''_U()''' = Use it to convert non-literal char* strings to wxString. Use it for reading attributes from TiXmlNode's.  If you deal with functions that return strings, you must use our _U macro.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Code:&lt;br /&gt;
   #ifdef wxUSE_UNICODE&lt;br /&gt;
     #define _U(x) wxString((x),wxConvUTF8)&lt;br /&gt;
     #define _UU(x,y) wxString((x),y)&lt;br /&gt;
   #else&lt;br /&gt;
     #define _U(x) (x)&lt;br /&gt;
     #define _UU(x,y) (x)&lt;br /&gt;
   #endif&lt;br /&gt;
&lt;br /&gt;
i.e.:&lt;br /&gt;
Code:&lt;br /&gt;
   const char* incompatible = &amp;quot;This is an incompatible string&amp;quot;;&lt;br /&gt;
   wxString compatible = _U(incompatible);&lt;br /&gt;
&lt;br /&gt;
   // wxString conftype = conf-&amp;gt;Attribute(&amp;quot;ConfigurationType&amp;quot;); // before&lt;br /&gt;
   wxString conftype = _U(conf-&amp;gt;Attribute(&amp;quot;ConfigurationType&amp;quot;)); // after :)&lt;br /&gt;
&lt;br /&gt;
'''_C()''' = multibyte C string  see wxhelp (wxMBConv classes overview)&amp;lt;BR&amp;gt;&lt;br /&gt;
Is defined in code as: &lt;br /&gt;
   #if wxUSE_UNICODE&lt;br /&gt;
      #define _UU(x,y) wxString((x),(y))&lt;br /&gt;
      #define _CC(x,y) (x).mb_str((y))&lt;br /&gt;
   #else&lt;br /&gt;
       #define _UU(x,y) (x)&lt;br /&gt;
       #define _CC(x,y) (x)&lt;br /&gt;
   #endif&lt;br /&gt;
&lt;br /&gt;
   #define _U(x) _UU((x),wxConvUTF8)&lt;br /&gt;
   #define _C(x) _CC((x),wxConvUTF8)&lt;br /&gt;
&lt;br /&gt;
'''_wxT()''' = fixed text's - like XRC resources object names (only adds an L before the string (ONLY if you're in a unicode build).)&amp;lt;BR&amp;gt;&lt;br /&gt;
wxT() is a macro which can be used with character and string literals (in other words, 'x' or &amp;quot;foo&amp;quot;) to automatically convert them to Unicode in Unicode build configuration. Please see the Unicode overview for more information.&lt;br /&gt;
&lt;br /&gt;
This macro is simply returns the value passed to it without changes in ASCII build. In fact, its definition is:&lt;br /&gt;
&lt;br /&gt;
   #ifdef UNICODE&lt;br /&gt;
   #define wxT(x) L ## x&lt;br /&gt;
   #else // !Unicode&lt;br /&gt;
   #define wxT(x) x&lt;br /&gt;
   #endif&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''_T()''' = fixed text's - like XRC resources object names (only adds an L before the string (ONLY if you're in a unicode build).).&amp;lt;BR&amp;gt;&lt;br /&gt;
This macro is exactly the same as wxT and is defined in wxWidgets simply because it may be more intuitive for Windows programmers as the standard Win32 headers also define it (as well as yet another name for the same macro which is _TEXT()).&lt;br /&gt;
&lt;br /&gt;
Don't confuse this macro with _()!&amp;lt;BR&amp;gt;&lt;br /&gt;
   wxChar _T(char ch)&lt;br /&gt;
&lt;br /&gt;
   const wxChar * _T(const wxChar ch)&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''_()''' = text's which might be translated to other user-languages&amp;lt;BR&amp;gt;&lt;br /&gt;
This macro expands into a call to wxGetTranslation function, so it marks the message for the extraction by xgettext just as wxTRANSLATE does, but also returns the translation of the string for the current locale during execution.&lt;br /&gt;
&lt;br /&gt;
Don't confuse this macro with _T()!&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''wxPLURAL''' = This macro is identical to _() but for the plural variant of wxGetTranslation.&amp;lt;BR&amp;gt;&lt;br /&gt;
const wxChar * wxPLURAL(const char *sing, const char *plur, size_tn)&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Guidlines ==&lt;br /&gt;
'''char &amp;amp; wxChar:'''&amp;lt;BR&amp;gt;&lt;br /&gt;
Do not use wxChar when is not a text character, because a wxChar in unicode is an int of 16 bits (not 8 bits):&lt;br /&gt;
&lt;br /&gt;
Example for text:&lt;br /&gt;
   wxChar im_a_character = _T('f');&lt;br /&gt;
&lt;br /&gt;
Example for not text (not character):&lt;br /&gt;
   char im_a_byte = 254;&lt;br /&gt;
but perhaps better would be to use:&lt;br /&gt;
   byte im_a_byte = 254;&lt;br /&gt;
so it's clear that it's a byte and not a character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Other:'''&amp;lt;BR&amp;gt;&lt;br /&gt;
Problem code:&lt;br /&gt;
   // indent code accordingly&lt;br /&gt;
   wxString code = it-&amp;gt;second;&lt;br /&gt;
   code.Replace(&amp;quot;\n&amp;quot;, '\n' + lineIndent);&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&amp;lt;nowiki&amp;gt;   If the input is a const char*, use &amp;quot;normal strings&amp;quot;. If the input is a wxChar or wxString, use the _T(&amp;quot;macros&amp;quot;).  For example:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   // indent code accordingly&lt;br /&gt;
   wxString code = it-&amp;gt;second;&lt;br /&gt;
   code.Replace(_T(&amp;quot;\n&amp;quot;), _T('\n') + lineIndent);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some of the strings already converted in C::B, use _( when they should be _T(.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
   WRONG: wxXmlResource::Get()-&amp;gt;LoadDialog(this, parent, _(&amp;quot;dlgGenericMultiSelect&amp;quot;));&lt;br /&gt;
&lt;br /&gt;
dlgGenericMultiSelect is a reference to a resource. Therefore it must use _T instead.&lt;br /&gt;
&lt;br /&gt;
   RIGHT: wxXmlResource::Get()-&amp;gt;LoadDialog(this, parent, _T(&amp;quot;dlgGenericMultiSelect&amp;quot;));&lt;br /&gt;
&lt;br /&gt;
And don't forget to test for single characters, too!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All operations with wxStrings (not char*'s) should have _(&amp;quot;string&amp;quot;) for strings to be displayed to the user, and _T(&amp;quot;string&amp;quot;) for strings used internally.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Printf-like functions is - use c_str() (in examples in wxwidgets.org there are used different arguments for unicode and non-unicode versions where formating string was both &amp;quot;%s&amp;quot;).  For example:&lt;br /&gt;
&lt;br /&gt;
   tmpkey.Printf(_T(&amp;quot;%s/editor/keywords/%d&amp;quot;), key.c_str(), i);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''XRCID and XRCCTRL macros:'''&amp;lt;BR&amp;gt;&lt;br /&gt;
XRCID and XRCCTRL macros must _NOT_ be converted! They're pre-converted already!&lt;br /&gt;
&lt;br /&gt;
   WRONG:   XRCCTRL(*this, _T(&amp;quot;lblLabel&amp;quot;), wxStaticText)-&amp;gt;SetLabel(label);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   RIGHT:   XRCCTRL(*this, &amp;quot;lblLabel&amp;quot;, wxStaticText)-&amp;gt;SetLabel(label);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''concatenated strings:'''&amp;lt;BR&amp;gt;&lt;br /&gt;
_() is macro which calls one of wxWidget's internal function so concatenating should look like this:&lt;br /&gt;
&lt;br /&gt;
   _(&amp;quot;string 1&amp;quot; &amp;quot;string2&amp;quot; ... )&lt;br /&gt;
&lt;br /&gt;
_T() macro simply adds 'L' before string given as a param (in Unicode of course, in normal mode it do nothing with the string) so concatenation should be:&lt;br /&gt;
&lt;br /&gt;
   _T(&amp;quot;string1&amp;quot;) _T(&amp;quot;string2&amp;quot;) ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This need to be rewritten.  If nobody else improves on this, I will try and rewrite this once I have used these macros more.  Joe M.&lt;/div&gt;</summary>
		<author><name>Jmccay</name></author>
	</entry>
</feed>