<?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=Darthdespotism</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=Darthdespotism"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/Darthdespotism"/>
	<updated>2026-05-19T09:01:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=MinGW_installation&amp;diff=4841</id>
		<title>MinGW installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=MinGW_installation&amp;diff=4841"/>
		<updated>2007-07-13T18:40:04Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: /* Using the MinGW installer */  Added Link to HowTo MinGW+Vista&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
==Using the MinGW installer==&lt;br /&gt;
Note: At the present time, it is still preferrable to download the packages by hand, as the installers are not production quality (unless you really feel unsure unpacking a couple of archives).&lt;br /&gt;
&lt;br /&gt;
Also, the installer reportedly does not work on Windows Vista, follow the [[MinGW_installation#GCC_3.4.5_manual_install | manual installation instructions]].&amp;lt;br /&amp;gt;&lt;br /&gt;
''(In general, MinGW is not confirmed to work for any Windows Vista betas or RCs)''&lt;br /&gt;
&lt;br /&gt;
'''MinGW has been confirmed working in Windows Vista Business!''' Thanks to [http://aarongiles.com/?p=199 Aaron Giles' Solving the Windows Vista Build Issues] for the solution.&lt;br /&gt;
In summary, the MinGW folder must be &amp;quot;a directory immediately off the root of your hard disk for some reason. So c:\mingw works fine, but c:\tools\mingw won’t.&amp;quot; (You can use mklink to symlink the folder, which also works). Secondly, set the GCC_EXEC_PREFIX environment variable to the MinGW root folder. Finally, add %GCC_EXEC_PREFIX%\libexec\gcc\mingw32\3.4.5 and %GCC_EXEC_PREFIX%\lib\bin to the PATH environment variable.&lt;br /&gt;
&lt;br /&gt;
'''A HowTo exists [[Installing_MinGW_with_Vista | here]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MinGW Installer 5.02 allows to choose the SF mirror while 5.03 does not (automatically picks one randomly).&lt;br /&gt;
&lt;br /&gt;
MinGW Installer 5.0.x are broken because of changes done by sf.net; please use the MinGW Installer 5.1.x&lt;br /&gt;
&lt;br /&gt;
Installers allows to downloads/installs &amp;quot;previous&amp;quot;, &amp;quot;current&amp;quot; and &amp;quot;candidate&amp;quot; mingw packages.&lt;br /&gt;
&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/MinGW-5.0.2.exe MinGW Installer 5.0.2]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/MinGW-5.0.3.exe MinGW Installer 5.0.3]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/MinGW-5.1.3.exe MinGW Installer 5.1.3]&lt;br /&gt;
&lt;br /&gt;
'''Note that the MinGW version number is not related to the actual compiler version.'''&lt;br /&gt;
&lt;br /&gt;
Please do note that the installer applications require an internet connection and will download the actual MinGW packages at the time of installation.&lt;br /&gt;
&lt;br /&gt;
The required MinGW Components are &amp;quot;MinGW Base Tools&amp;quot;, &amp;quot;g++ compiler&amp;quot; and &amp;quot;MinGW make&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==GCC 3.4.5 manual install==&lt;br /&gt;
This is the &amp;quot;candidate&amp;quot; release of MinGW, so it is not considered &amp;quot;stable&amp;quot; officially.&amp;lt;br /&amp;gt;Personally, I have not had any kind of problem with this release.&lt;br /&gt;
&lt;br /&gt;
To do a manual install, simply download the desired files and extract them all into the same directory. If you have WinZip, PowerArchiver, or any other similar program, this is as easy as selecting all the archives simultaneously and choosing &amp;quot;unpack here&amp;quot; from the context menu.&lt;br /&gt;
&lt;br /&gt;
For clarity, I recommend to put MinGW into C:\MinGW, but almost any other locations should do equally well. Avoid pathnames with spaces or exotic characters, as this may confuse some commandline tools (most notably &amp;lt;tt&amp;gt;gdb&amp;lt;/tt&amp;gt;).&lt;br /&gt;
===Base system with C++===&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-g%2B%2B-3.4.5-20060117-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-g++-3.4.5-20060117-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/w32api-3.6.tar.gz?download http://prdownloads.sourceforge.net/mingw/w32api-3.6.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/binutils-2.17.50-20060824-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/binutils-2.17.50-20060824-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/mingw32-make-3.81-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/mingw32-make-3.81-1.tar.gz?download]&lt;br /&gt;
&lt;br /&gt;
===Optionally:===&lt;br /&gt;
====Fortran77 compiler====&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/gcc-g77-3.4.5-20060117-1.tar.gz?download http://prdownloads.sf.net/mingw/gcc-g77-3.4.5-20060117-1.tar.gz?download]&lt;br /&gt;
====gdb debugger====&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/gdb-6.3-2.exe?download http://prdownloads.sf.net/mingw/gdb-6.3-2.exe?download]&lt;br /&gt;
====Other developer tools====&lt;br /&gt;
=====UnxUtils=====&lt;br /&gt;
Ports of the most often used Unix utilities. Note that some tools in UnxUtils are quite a bit outdated, so make sure you &amp;lt;u&amp;gt;do not&amp;lt;/u&amp;gt; overwrite already existing MinGW files with their UnxUtils counterparts.&lt;br /&gt;
*[http://unxutils.sourceforge.net/UnxUtils.zip UnxUtils]&lt;br /&gt;
*[http://unxutils.sourceforge.net/UnxUpdates.zip UnxUtils-Latest-Updates]&lt;br /&gt;
&lt;br /&gt;
=====GnuWin32=====&lt;br /&gt;
''More recent'' versions of commonly used Unix utilities. Also: utilities not found in UnxUtils at all.&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/coreutils-5.3.0-bin.zip?download coreutils-5.3.0]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/zip-2.3-3-bin.zip zip-2.3.3]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/tar-1.13-1-bin.zip?download tar-1.13-1]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/gzip-1.3.5-3-bin.zip?download gzip-1.3.5]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/bzip2-1.0.3-1-bin.zip?download bzip2-1.0.0-1]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/autoconf-2.59-bin.zip?download autoconf-2.59]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/automake-1.9.4-bin.zip?download automake-1.9.4]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/bison-2.1-bin.zip?download bison-2.1 (includes m4)]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/flex-2.5.4a-1-bin.zip?download flex-2.5.4a]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/gperf-3.0.1-bin.zip?download gperf-3.0.1]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/diffutils-2.8.7-1-bin.zip?download diffutils-2.8.7]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/patch-2.5.9-6-bin.zip?download patch-2.5.9-6] &amp;lt;br&amp;gt; Note: The version 2.5.9 of patch from GnuWin32 seems to have a problem with unified diffs&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/grep-2.5.1a-bin.zip?download grep-2.5.1]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/sed-4.1.4-bin.zip?download sed-4.1.4]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/hextools-1.0-bin.zip?download hextools-1.0]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/findutils-4.2.20-2-bin.zip?download findutils-4.2.20]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/less-394-bin.zip?download less 3.94]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/which-2.16-4.exe?download which 2.16-4]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/wget-1.9.1-mingwPORT.tar.bz2?download wget-1.9.1]&lt;br /&gt;
*[http://www.gimp.org/~tml/gimp/win32/gettext-0.14.5.zip gettext-0.14.5]&lt;br /&gt;
*[http://www.gimp.org/~tml/gimp/win32/gettext-dev-0.14.5.zip gettext-dev-0.14.5]&lt;br /&gt;
&lt;br /&gt;
Dependencies:&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/pcre-6.4-1-bin.zip?download pcre-6.4.1 (needed by grep and less)]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/libintl-0.14.4-bin.zip?download libintl-0.14.4 (needed by most tools)]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/gnuwin32/libiconv-1.9.2-1-bin.zip?download libiconv-1.9.2-1 (needed by most tools)]&lt;br /&gt;
&lt;br /&gt;
==Resulting Folder Layout==&lt;br /&gt;
[[Image:Lay.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GCC 3.4.4 manual install==&lt;br /&gt;
Some people have reported various problems with gcc version 3.4.4, so it may be worth a consideration to use the either the 3.4.5 or 3.4.2 releases until a build from the 4.x branch is available.&amp;lt;br /&amp;gt;Personally, I have not had any kind of problem with either 3.4.4 or 3.4.5.&lt;br /&gt;
===Base system with C++===&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.4-20050522-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.4-20050522-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-g%2B%2B-3.4.4-20050522-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-g++-3.4.4-20050522-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/w32api-3.5.tar.gz?download http://prdownloads.sf.net/mingw/w32api-3.5.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/binutils-2.17.50-20060824-1.tar.gz?download http://prdownloads.sf.net/mingw/binutils-2.17.50-20060824-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/mingw32-make-3.80.0-3.tar.gz?download http://prdownloads.sourceforge.net/mingw/mingw32-make-3.80.0-3.tar.gz?download]&lt;br /&gt;
&lt;br /&gt;
===Optionally:===&lt;br /&gt;
====gdb debugger====&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/gdb-6.3-2.exe?download http://prdownloads.sf.net/mingw/gdb-6.3-2.exe?download]&lt;br /&gt;
====Objective-C====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-objc-3.4.4-20050522-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-objc-3.4.4-20050522-1.tar.gz?download]&lt;br /&gt;
====Native Java (experimental)====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-java-3.4.4-20050522-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-java-3.4.4-20050522-1.tar.gz?download]&lt;br /&gt;
====Fortran-77====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-g77-3.4.4-20050522-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-g77-3.4.4-20050522-1.tar.gz?download]&lt;br /&gt;
====Ada====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-ada-3.4.4-20050522-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-ada-3.4.4-20050522-1.tar.gz?download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GCC 3.4.2 manual install==&lt;br /&gt;
Installing MinGW can be quite intimidating the first time because it is not obvious what you have to do. Luckily, it is actually pretty simple.&amp;lt;br /&amp;gt;&lt;br /&gt;
To do a manual install, simply download the required files and extract them all into the same directory. For simplicity, I recommend &amp;lt;tt&amp;gt;C:\MinGW&amp;lt;/tt&amp;gt;.&lt;br /&gt;
===Base system with C++===&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.2-20040916-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.2-20040916-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-g%2B%2B-3.4.2-20040916-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-g++-3.4.2-20040916-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/w32api-3.5.tar.gz?download http://prdownloads.sf.net/mingw/w32api-3.5.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/binutils-2.16.91-20050827-1.tar.gz?download http://prdownloads.sf.net/mingw/binutils-2.16.91-20050827-1.tar.gz?download]&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/mingw32-make-3.80.0-3.tar.gz?download http://prdownloads.sourceforge.net/mingw/mingw32-make-3.80.0-3.tar.gz?download]&lt;br /&gt;
&lt;br /&gt;
===Optionally:===&lt;br /&gt;
====gdb debugger====&lt;br /&gt;
*[http://prdownloads.sf.net/mingw/gdb-6.3-2.exe?download http://prdownloads.sf.net/mingw/gdb-6.3-2.exe?download]&lt;br /&gt;
====Objective-C====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-objc-3.4.2-20040916-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-objc-3.4.2-20040916-1.tar.gz?download]&lt;br /&gt;
====Native Java (experimental)====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-java-3.4.2-20040916-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-java-3.4.2-20040916-1.tar.gz?download]&lt;br /&gt;
====Fortran77 compiler====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-g77-3.4.2-20040916-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-g77-3.4.2-20040916-1.tar.gz?download]&lt;br /&gt;
&lt;br /&gt;
====Ada====&lt;br /&gt;
*[http://prdownloads.sourceforge.net/mingw/gcc-ada-3.4.2-20040916-1.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-ada-3.4.2-20040916-1.tar.gz?download]&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4790</id>
		<title>Installing MinGW with Vista</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4790"/>
		<updated>2007-06-29T07:23:03Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: Signed it&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
--[[User:Darthdespotism|Darthdespotism]] 07:23, 29 June 2007 (UTC)&lt;br /&gt;
== Before we start ==&lt;br /&gt;
&lt;br /&gt;
Before starting to install MinGW under Windows Vista there are some things to remember:&lt;br /&gt;
&lt;br /&gt;
* MinGW '''must''' be located on the same partition as the files you want to compile&lt;br /&gt;
* There may be issues if you don't install MinGW in the toplevel folder (e.g. C:\MinGW) but in some folder (e.g. C:\Compilers\MinGW)&lt;br /&gt;
&lt;br /&gt;
For this HOWTO I used some Conventions:&lt;br /&gt;
&lt;br /&gt;
* I assumed you are going to install in C:, if you want to install on another partition (which may be clever as the sources must be on the same partition) you'll have to modifie the path acordingly&lt;br /&gt;
* I used ''MinGW-Version'' to indicate that you must use your Version of MinGW here. As you can see on my pictures it is for me 4.2.0 and for those who downloaded on [http://mingw.org http://mingw.org] it is most probably 3.4.2&lt;br /&gt;
&lt;br /&gt;
Just one thing left: I've done this under Vista Business and a friend of mine reported it working with Home Premium. I hope it works on the other versions, too.&lt;br /&gt;
&lt;br /&gt;
== Getting MinGW ==&lt;br /&gt;
First of all you need the MinGW Compiler to be installed. I used the installer but all methods desciribed under [[MinGW installation]] should work fine. You may althoug want to upgrade your Version of MinGW to 4.* though. When you finished installing the basic MinGW we'll start making it work with Windows Vista. (Note: There is no need to set any %PATH% - variables when you use only Codeblocks, this is the way I'll focuse on)&lt;br /&gt;
&lt;br /&gt;
== Actual Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Executeables ===&lt;br /&gt;
If you haven't already done it it is time to install and start Code::Blocks. It's a good idea to creakte a sample &amp;quot;console application&amp;quot; so you have a basic &amp;quot;Hello world&amp;quot; to test your progress. As I first tried to run &amp;quot;Compile&amp;quot; without any Modifications I got the following Error:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 mingw32-g++.exe: CreateProcess: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 0 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 0 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
This doesn't tell us very much. The problem here actually is, that MinGW is unable to find its helper executeables, in this case cc1plus.exe. To fix this go to your &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Compiler and Debugger&amp;quot; -&amp;gt; &amp;quot;Toolchain executeables&amp;quot; -&amp;gt; &amp;quot;Additional paths&amp;quot; and add there the Directory &amp;quot;C:\MinGW\libexec\gcc\mingw32\''MinGW-Version'' where ''MinGW-Version'' is the Version of MinGW you are using. If you use a unmodified Version this is most probably 3.4.2, as I have the newer 4.2.0 I use this.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_01.png]][[Image:mingw_vista_02.png]]&lt;br /&gt;
&lt;br /&gt;
Let's try to compile again and see the progress.&lt;br /&gt;
&lt;br /&gt;
=== Compiler ===&lt;br /&gt;
&lt;br /&gt;
Hm still doesn't work, but the error changed:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:1:20: error: iostream: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp: In function 'int main()':&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'cout' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'endl' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 3 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
So MinGW is not able to find &amp;lt;iostream&amp;gt;. Let's tell him where to search:&lt;br /&gt;
&lt;br /&gt;
Still in the Compiler and Debugger dialogue go to &amp;quot;Search directories&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; and add:&lt;br /&gt;
&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\backward&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\mingw32&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\lib\gcc\mingw32\''MinGW-Version''\include&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are not necessarily all of them needed, but these are the directories MinGW searches in normally.&lt;br /&gt;
&lt;br /&gt;
Try again to compile. The compiler should now execute nurmally, but there is a Linker error left:&lt;br /&gt;
&lt;br /&gt;
=== Linker ===&lt;br /&gt;
&lt;br /&gt;
 Linking console executable: bin\Debug\test.exe&amp;lt;br /&amp;gt;&lt;br /&gt;
 ld: cannot find -lgcc&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 1 errors, 0 warnings&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we apparently need to tell MinGW where to search for it's librarys. This is again done by adding some &amp;quot;Search directories&amp;quot;, but now we use the section &amp;quot;Linker&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: C:\MinGW\lib\gcc\mingw32\''MinGW-Version''&lt;br /&gt;
&lt;br /&gt;
Try to compile, it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_03.png]][[Image:mingw_vista_04.png]]&lt;br /&gt;
&lt;br /&gt;
=== Trouble shooting ===&lt;br /&gt;
&lt;br /&gt;
If this does not work out for you there is some advice to figure it out on your own:&lt;br /&gt;
&lt;br /&gt;
* If there is a file not found by MinGW use your search function to look for it, and add it where it belongs&lt;br /&gt;
** If it's an executeable (.exe) add it to the &amp;quot;additional paths&amp;quot; under &amp;quot;toolchain executeables&amp;quot;&lt;br /&gt;
** If it's a header (.h, .hpp or without extension) add it to &amp;quot;compiler&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
** If it's a library (.o, .a) add it to &amp;quot;linker&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
* Compile with the -v flag. You can do this by simply adding -v to &amp;quot;Build options&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; -&amp;gt; &amp;quot;Other options&amp;quot;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4786</id>
		<title>Installing MinGW with Vista</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4786"/>
		<updated>2007-06-28T18:44:57Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: /* Before we start */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Before we start ==&lt;br /&gt;
&lt;br /&gt;
Before starting to install MinGW under Windows Vista there are some things to remember:&lt;br /&gt;
&lt;br /&gt;
* MinGW '''must''' be located on the same partition as the files you want to compile&lt;br /&gt;
* There may be issues if you don't install MinGW in the toplevel folder (e.g. C:\MinGW) but in some folder (e.g. C:\Compilers\MinGW)&lt;br /&gt;
&lt;br /&gt;
For this HOWTO I used some Conventions:&lt;br /&gt;
&lt;br /&gt;
* I assumed you are going to install in C:, if you want to install on another partition (which may be clever as the sources must be on the same partition) you'll have to modifie the path acordingly&lt;br /&gt;
* I used ''MinGW-Version'' to indicate that you must use your Version of MinGW here. As you can see on my pictures it is for me 4.2.0 and for those who downloaded on [http://mingw.org http://mingw.org] it is most probably 3.4.2&lt;br /&gt;
&lt;br /&gt;
Just one thing left: I've done this under Vista Business and a friend of mine reported it working with Home Premium. I hope it works on the other versions, too.&lt;br /&gt;
&lt;br /&gt;
== Getting MinGW ==&lt;br /&gt;
First of all you need the MinGW Compiler to be installed. I used the installer but all methods desciribed under [[MinGW installation]] should work fine. You may althoug want to upgrade your Version of MinGW to 4.* though. When you finished installing the basic MinGW we'll start making it work with Windows Vista. (Note: There is no need to set any %PATH% - variables when you use only Codeblocks, this is the way I'll focuse on)&lt;br /&gt;
&lt;br /&gt;
== Actual Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Executeables ===&lt;br /&gt;
If you haven't already done it it is time to install and start Code::Blocks. It's a good idea to creakte a sample &amp;quot;console application&amp;quot; so you have a basic &amp;quot;Hello world&amp;quot; to test your progress. As I first tried to run &amp;quot;Compile&amp;quot; without any Modifications I got the following Error:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 mingw32-g++.exe: CreateProcess: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 0 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 0 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
This doesn't tell us very much. The problem here actually is, that MinGW is unable to find its helper executeables, in this case cc1plus.exe. To fix this go to your &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Compiler and Debugger&amp;quot; -&amp;gt; &amp;quot;Toolchain executeables&amp;quot; -&amp;gt; &amp;quot;Additional paths&amp;quot; and add there the Directory &amp;quot;C:\MinGW\libexec\gcc\mingw32\''MinGW-Version'' where ''MinGW-Version'' is the Version of MinGW you are using. If you use a unmodified Version this is most probably 3.4.2, as I have the newer 4.2.0 I use this.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_01.png]][[Image:mingw_vista_02.png]]&lt;br /&gt;
&lt;br /&gt;
Let's try to compile again and see the progress.&lt;br /&gt;
&lt;br /&gt;
=== Compiler ===&lt;br /&gt;
&lt;br /&gt;
Hm still doesn't work, but the error changed:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:1:20: error: iostream: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp: In function 'int main()':&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'cout' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'endl' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 3 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
So MinGW is not able to find &amp;lt;iostream&amp;gt;. Let's tell him where to search:&lt;br /&gt;
&lt;br /&gt;
Still in the Compiler and Debugger dialogue go to &amp;quot;Search directories&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; and add:&lt;br /&gt;
&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\backward&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\mingw32&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\lib\gcc\mingw32\''MinGW-Version''\include&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are not necessarily all of them needed, but these are the directories MinGW searches in normally.&lt;br /&gt;
&lt;br /&gt;
Try again to compile. The compiler should now execute nurmally, but there is a Linker error left:&lt;br /&gt;
&lt;br /&gt;
=== Linker ===&lt;br /&gt;
&lt;br /&gt;
 Linking console executable: bin\Debug\test.exe&amp;lt;br /&amp;gt;&lt;br /&gt;
 ld: cannot find -lgcc&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 1 errors, 0 warnings&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we apparently need to tell MinGW where to search for it's librarys. This is again done by adding some &amp;quot;Search directories&amp;quot;, but now we use the section &amp;quot;Linker&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: C:\MinGW\lib\gcc\mingw32\''MinGW-Version''&lt;br /&gt;
&lt;br /&gt;
Try to compile, it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_03.png]][[Image:mingw_vista_04.png]]&lt;br /&gt;
&lt;br /&gt;
=== Trouble shooting ===&lt;br /&gt;
&lt;br /&gt;
If this does not work out for you there is some advice to figure it out on your own:&lt;br /&gt;
&lt;br /&gt;
* If there is a file not found by MinGW use your search function to look for it, and add it where it belongs&lt;br /&gt;
** If it's an executeable (.exe) add it to the &amp;quot;additional paths&amp;quot; under &amp;quot;toolchain executeables&amp;quot;&lt;br /&gt;
** If it's a header (.h, .hpp or without extension) add it to &amp;quot;compiler&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
** If it's a library (.o, .a) add it to &amp;quot;linker&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
* Compile with the -v flag. You can do this by simply adding -v to &amp;quot;Build options&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; -&amp;gt; &amp;quot;Other options&amp;quot;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4785</id>
		<title>Installing MinGW with Vista</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4785"/>
		<updated>2007-06-28T18:43:16Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: /* Before we start */  positive testresult Home Premium&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Before we start ==&lt;br /&gt;
&lt;br /&gt;
Before starting to install MinGW under Windows Vista there are some things to remember:&lt;br /&gt;
&lt;br /&gt;
* MinGW '''must''' be located on the same partition as the files you want to compile&lt;br /&gt;
* There may be issues if you don't install MinGW in the toplevel folder (e.g. C:\MinGW) but in some folder (e.g. C:\Compilers\MinGW)&lt;br /&gt;
&lt;br /&gt;
For this HOWTO I used some Conventions:&lt;br /&gt;
&lt;br /&gt;
* I assumed you are going to install in C:, if you want to install on another partition (which may be clever as the sources must be on the same partition) you'll have to modifie the path acordingly&lt;br /&gt;
* I used ''MinGW-Version'' to indicate that you must use your Version of MinGW here. As you can see on my pictures it is for me 4.2.0 and for those who downloaded on [[http://mingw.org]] ist is most probably 3.4.2&lt;br /&gt;
&lt;br /&gt;
Just one thing left: I've done this under Vista Business and a friend of mine reported it working with Home Premium. I hope it works on the other versions, too.&lt;br /&gt;
&lt;br /&gt;
== Getting MinGW ==&lt;br /&gt;
First of all you need the MinGW Compiler to be installed. I used the installer but all methods desciribed under [[MinGW installation]] should work fine. You may althoug want to upgrade your Version of MinGW to 4.* though. When you finished installing the basic MinGW we'll start making it work with Windows Vista. (Note: There is no need to set any %PATH% - variables when you use only Codeblocks, this is the way I'll focuse on)&lt;br /&gt;
&lt;br /&gt;
== Actual Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Executeables ===&lt;br /&gt;
If you haven't already done it it is time to install and start Code::Blocks. It's a good idea to creakte a sample &amp;quot;console application&amp;quot; so you have a basic &amp;quot;Hello world&amp;quot; to test your progress. As I first tried to run &amp;quot;Compile&amp;quot; without any Modifications I got the following Error:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 mingw32-g++.exe: CreateProcess: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 0 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 0 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
This doesn't tell us very much. The problem here actually is, that MinGW is unable to find its helper executeables, in this case cc1plus.exe. To fix this go to your &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Compiler and Debugger&amp;quot; -&amp;gt; &amp;quot;Toolchain executeables&amp;quot; -&amp;gt; &amp;quot;Additional paths&amp;quot; and add there the Directory &amp;quot;C:\MinGW\libexec\gcc\mingw32\''MinGW-Version'' where ''MinGW-Version'' is the Version of MinGW you are using. If you use a unmodified Version this is most probably 3.4.2, as I have the newer 4.2.0 I use this.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_01.png]][[Image:mingw_vista_02.png]]&lt;br /&gt;
&lt;br /&gt;
Let's try to compile again and see the progress.&lt;br /&gt;
&lt;br /&gt;
=== Compiler ===&lt;br /&gt;
&lt;br /&gt;
Hm still doesn't work, but the error changed:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:1:20: error: iostream: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp: In function 'int main()':&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'cout' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'endl' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 3 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
So MinGW is not able to find &amp;lt;iostream&amp;gt;. Let's tell him where to search:&lt;br /&gt;
&lt;br /&gt;
Still in the Compiler and Debugger dialogue go to &amp;quot;Search directories&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; and add:&lt;br /&gt;
&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\backward&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\mingw32&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\lib\gcc\mingw32\''MinGW-Version''\include&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are not necessarily all of them needed, but these are the directories MinGW searches in normally.&lt;br /&gt;
&lt;br /&gt;
Try again to compile. The compiler should now execute nurmally, but there is a Linker error left:&lt;br /&gt;
&lt;br /&gt;
=== Linker ===&lt;br /&gt;
&lt;br /&gt;
 Linking console executable: bin\Debug\test.exe&amp;lt;br /&amp;gt;&lt;br /&gt;
 ld: cannot find -lgcc&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 1 errors, 0 warnings&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we apparently need to tell MinGW where to search for it's librarys. This is again done by adding some &amp;quot;Search directories&amp;quot;, but now we use the section &amp;quot;Linker&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: C:\MinGW\lib\gcc\mingw32\''MinGW-Version''&lt;br /&gt;
&lt;br /&gt;
Try to compile, it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_03.png]][[Image:mingw_vista_04.png]]&lt;br /&gt;
&lt;br /&gt;
=== Trouble shooting ===&lt;br /&gt;
&lt;br /&gt;
If this does not work out for you there is some advice to figure it out on your own:&lt;br /&gt;
&lt;br /&gt;
* If there is a file not found by MinGW use your search function to look for it, and add it where it belongs&lt;br /&gt;
** If it's an executeable (.exe) add it to the &amp;quot;additional paths&amp;quot; under &amp;quot;toolchain executeables&amp;quot;&lt;br /&gt;
** If it's a header (.h, .hpp or without extension) add it to &amp;quot;compiler&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
** If it's a library (.o, .a) add it to &amp;quot;linker&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
* Compile with the -v flag. You can do this by simply adding -v to &amp;quot;Build options&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; -&amp;gt; &amp;quot;Other options&amp;quot;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4784</id>
		<title>Installing MinGW with Vista</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4784"/>
		<updated>2007-06-27T18:34:17Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: Spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Before we start ==&lt;br /&gt;
&lt;br /&gt;
Before starting to install MinGW under Windows Vista there are some things to remember:&lt;br /&gt;
&lt;br /&gt;
* MinGW '''must''' be located on the same partition as the files you want to compile&lt;br /&gt;
* There may be issues if you don't install MinGW in the toplevel folder (e.g. C:\MinGW) but in some folder (e.g. C:\Compilers\MinGW)&lt;br /&gt;
&lt;br /&gt;
For this HOWTO I used some Conventions:&lt;br /&gt;
&lt;br /&gt;
* I assumed you are going to install in C:, if you want to install on another partition (which may be clever as the sources must be on the same partition) you'll have to modifie the path acordingly&lt;br /&gt;
* I used ''MinGW-Version'' to indicate that you must use your Version of MinGW here. As you can see on my pictures it is for me 4.2.0 and for those who downloaded on [[http://mingw.org]] ist is most probably 3.4.2&lt;br /&gt;
&lt;br /&gt;
Just one thing left: I've done this under Vista Business. I hope it works on the other versions, too, and I'll ask a friend of mine to test it under Home Premium&lt;br /&gt;
&lt;br /&gt;
== Getting MinGW ==&lt;br /&gt;
First of all you need the MinGW Compiler to be installed. I used the installer but all methods desciribed under [[MinGW installation]] should work fine. You may althoug want to upgrade your Version of MinGW to 4.* though. When you finished installing the basic MinGW we'll start making it work with Windows Vista. (Note: There is no need to set any %PATH% - variables when you use only Codeblocks, this is the way I'll focuse on)&lt;br /&gt;
&lt;br /&gt;
== Actual Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Executeables ===&lt;br /&gt;
If you haven't already done it it is time to install and start Code::Blocks. It's a good idea to creakte a sample &amp;quot;console application&amp;quot; so you have a basic &amp;quot;Hello world&amp;quot; to test your progress. As I first tried to run &amp;quot;Compile&amp;quot; without any Modifications I got the following Error:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 mingw32-g++.exe: CreateProcess: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 0 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 0 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
This doesn't tell us very much. The problem here actually is, that MinGW is unable to find its helper executeables, in this case cc1plus.exe. To fix this go to your &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Compiler and Debugger&amp;quot; -&amp;gt; &amp;quot;Toolchain executeables&amp;quot; -&amp;gt; &amp;quot;Additional paths&amp;quot; and add there the Directory &amp;quot;C:\MinGW\libexec\gcc\mingw32\''MinGW-Version'' where ''MinGW-Version'' is the Version of MinGW you are using. If you use a unmodified Version this is most probably 3.4.2, as I have the newer 4.2.0 I use this.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_01.png]][[Image:mingw_vista_02.png]]&lt;br /&gt;
&lt;br /&gt;
Let's try to compile again and see the progress.&lt;br /&gt;
&lt;br /&gt;
=== Compiler ===&lt;br /&gt;
&lt;br /&gt;
Hm still doesn't work, but the error changed:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:1:20: error: iostream: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp: In function 'int main()':&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'cout' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'endl' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 3 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
So MinGW is not able to find &amp;lt;iostream&amp;gt;. Let's tell him where to search:&lt;br /&gt;
&lt;br /&gt;
Still in the Compiler and Debugger dialogue go to &amp;quot;Search directories&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; and add:&lt;br /&gt;
&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\backward&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\mingw32&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\lib\gcc\mingw32\''MinGW-Version''\include&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are not necessarily all of them needed, but these are the directories MinGW searches in normally.&lt;br /&gt;
&lt;br /&gt;
Try again to compile. The compiler should now execute nurmally, but there is a Linker error left:&lt;br /&gt;
&lt;br /&gt;
=== Linker ===&lt;br /&gt;
&lt;br /&gt;
 Linking console executable: bin\Debug\test.exe&amp;lt;br /&amp;gt;&lt;br /&gt;
 ld: cannot find -lgcc&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 1 errors, 0 warnings&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we apparently need to tell MinGW where to search for it's librarys. This is again done by adding some &amp;quot;Search directories&amp;quot;, but now we use the section &amp;quot;Linker&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: C:\MinGW\lib\gcc\mingw32\''MinGW-Version''&lt;br /&gt;
&lt;br /&gt;
Try to compile, it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_03.png]][[Image:mingw_vista_04.png]]&lt;br /&gt;
&lt;br /&gt;
=== Trouble shooting ===&lt;br /&gt;
&lt;br /&gt;
If this does not work out for you there is some advice to figure it out on your own:&lt;br /&gt;
&lt;br /&gt;
* If there is a file not found by MinGW use your search function to look for it, and add it where it belongs&lt;br /&gt;
** If it's an executeable (.exe) add it to the &amp;quot;additional paths&amp;quot; under &amp;quot;toolchain executeables&amp;quot;&lt;br /&gt;
** If it's a header (.h, .hpp or without extension) add it to &amp;quot;compiler&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
** If it's a library (.o, .a) add it to &amp;quot;linker&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
* Compile with the -v flag. You can do this by simply adding -v to &amp;quot;Build options&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; -&amp;gt; &amp;quot;Other options&amp;quot;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4783</id>
		<title>Installing MinGW with Vista</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4783"/>
		<updated>2007-06-27T18:18:19Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: Spelling issues&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Before we start ==&lt;br /&gt;
&lt;br /&gt;
Before starting to install MinGW under Windows Vista there are some things to remember:&lt;br /&gt;
&lt;br /&gt;
* MinGW '''must''' be located on the same partition as the files you want to compile&lt;br /&gt;
* There may be issues if you don't install MinGW in the toplevel folder (e.g. C:\MinGW) but in some folder (e.g. C:\Compilers\MinGW)&lt;br /&gt;
&lt;br /&gt;
For this HOWTO I used some Conventions:&lt;br /&gt;
&lt;br /&gt;
* I assumed you are going to install in C:, if you want to install on another partition (which may be clever as the sources must be on the same partition) you'll have to modifie the path acordingly&lt;br /&gt;
* I used ''MinGW-Version'' to indicate that you musst use your Version of MinGW here. As you can see on my pictures it is for me 4.2.0 and for those who downloaded on [[http://mingw.org]] ist is most probably 3.4.2&lt;br /&gt;
&lt;br /&gt;
Just one thing left: I've done this under Vista Bussines. I hope it works on the other versions, too, an I'll ask a friend of mine to test it under Home Premium&lt;br /&gt;
&lt;br /&gt;
== Getting MinGW ==&lt;br /&gt;
First of all you need the MinGW Compiler installed. I used the installer but all methods desciribed under [[MinGW installation]] should work fine. You may althoug want to upgrade your Version of MinGW to 4.*. When you finished installing the basic MinGW we'll start making it work with Windows Vista. (Note: There is no need to set any %PATH% - Variable when you use only Codeblocks, this is the way I'll focuse on)&lt;br /&gt;
&lt;br /&gt;
== Actual Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Executeables ===&lt;br /&gt;
If you haven't already done it it is time to install and start Code::Blocks. It's a good idea to creakte a sample Consoleapplication so you have a basic &amp;quot;Hello world&amp;quot; to test your progress. As I first tried to run &amp;quot;Compile&amp;quot; without any Modifications I got the following Error:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 mingw32-g++.exe: CreateProcess: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 0 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 0 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
This does tell us very little. The problem here actually is, that MinGW is unable to find its helper executeables, in this case cc1plus.exe. To fix this go to your &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Compiler and Debugger&amp;quot; -&amp;gt; &amp;quot;Toolchain executeables&amp;quot; -&amp;gt; &amp;quot;Additional paths&amp;quot; and add there the Directory &amp;quot;C:\MinGW\libexec\gcc\mingw32\''MinGW-Version'' where ''MinGW-Version'' is the Version of MinGW you are using. If you use a unmodified Version this is most probably 3.4.2, as I have the newer 4.2.0 I use this.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_01.png]][[Image:mingw_vista_02.png]]&lt;br /&gt;
&lt;br /&gt;
Let's try to compile again and see the progress.&lt;br /&gt;
&lt;br /&gt;
=== Compiler ===&lt;br /&gt;
&lt;br /&gt;
Hm still doesn't work, but the error changed:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:1:20: error: iostream: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp: In function 'int main()':&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'cout' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'endl' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 3 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
So MinGW is not able to find &amp;lt;iostream&amp;gt;. Let's tell him where to search:&lt;br /&gt;
&lt;br /&gt;
Still in the Compiler and Debugger dialogue go to &amp;quot;Search directories&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; and add:&lt;br /&gt;
&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\backward&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\mingw32&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\lib\gcc\mingw32\''MinGW-Version''\include&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are not necessarily all of them needed, but these are the directories MinGW searches on normally.&lt;br /&gt;
&lt;br /&gt;
Try again to compile. The compiler should now execute nurmally, but there is a Linker error left:&lt;br /&gt;
&lt;br /&gt;
=== Linker ===&lt;br /&gt;
&lt;br /&gt;
 Linking console executable: bin\Debug\test.exe&amp;lt;br /&amp;gt;&lt;br /&gt;
 ld: cannot find -lgcc&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 1 errors, 0 warnings&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we apparently need to tell MinGW where to search for it's librarys. This is again done by adding some &amp;quot;Search directories&amp;quot;, but now we use the section &amp;quot;Linker&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: C:\MinGW\lib\gcc\mingw32\''MinGW-Version''&lt;br /&gt;
&lt;br /&gt;
Try to compile, it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_03.png]][[Image:mingw_vista_04.png]]&lt;br /&gt;
&lt;br /&gt;
=== Trouble shooting ===&lt;br /&gt;
&lt;br /&gt;
If this does not work for you there are some advice to figure it out on your own:&lt;br /&gt;
&lt;br /&gt;
* If there is a file not found by MinGW use your search function to look for it, and add it where it belongs&lt;br /&gt;
** If it's an executeable (.exe) add it to the &amp;quot;additional paths&amp;quot; under &amp;quot;toolchain executeables&amp;quot;&lt;br /&gt;
** If it's a header (.h, .hpp or without extension) add it to &amp;quot;compiler&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
** If it's a library (.o, .a) add it to &amp;quot;linker&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
* Compile with the -v flag. You can do this by simply adding -v to &amp;quot;Build options&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; -&amp;gt; &amp;quot;Other options&amp;quot;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4782</id>
		<title>Installing MinGW with Vista</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4782"/>
		<updated>2007-06-27T18:13:06Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Bevore we start ==&lt;br /&gt;
&lt;br /&gt;
Bevore starting to install MinGW under Windows Vista there are some things to remember:&lt;br /&gt;
&lt;br /&gt;
* MinGW '''must''' be located on the same partition as the files you want to compile&lt;br /&gt;
* There may be issues if you don't install MinGW in the toplevel folder (e.g. C:\MinGW) but in some folder (e.g. C:\Compilers\MinGW)&lt;br /&gt;
&lt;br /&gt;
For this HOWTO I used some Conventions:&lt;br /&gt;
&lt;br /&gt;
* I assumed you are going to install in C:, if you want to install on another partition (which may be clever as the sources must be on the same partition) you'll have to modifie the path acordingly&lt;br /&gt;
* I used ''MinGW-Version'' to indicate that you musst use your Version of MinGW here. As you can see on my pictures it is for me 4.2.0 and for those who downloaded on [[http://mingw.org]] ist is most probably 3.4.2&lt;br /&gt;
&lt;br /&gt;
Just one thing left: I've done this under Vista Bussines. I hope it works on the other versions, too, an I'll ask a friend of mine to test it under Home Premium&lt;br /&gt;
&lt;br /&gt;
== Getting MinGW ==&lt;br /&gt;
First of all you need the MinGW Compiler installed. I used the installer but all methods desciribed under [[MinGW installation]] should work fine. You may althoug want to upgrade your Version of MinGW to 4.*. When you finished installing the basic MinGW we'll start making it work with Windows Vista. (Note: There is no need to set any %PATH% - Variable when you use only Codeblocks, this is the way I'll focuse on)&lt;br /&gt;
&lt;br /&gt;
== Actual Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Executeables ===&lt;br /&gt;
If you haven't already done it it is time to install and start Code::Blocks. It's a good idea to creakte a sample Consoleapplication so you have a basic &amp;quot;Hello world&amp;quot; to test your progress. As I first tried to run &amp;quot;Compile&amp;quot; without any Modifications I got the following Error:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 mingw32-g++.exe: CreateProcess: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 0 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 0 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
This does tell us very little. The problem here actually is, that MinGW is unable to find its helper executeables, in this case cc1plus.exe. To fix this go to your &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Compiler and Debugger&amp;quot; -&amp;gt; &amp;quot;Toolchain executeables&amp;quot; -&amp;gt; &amp;quot;Additional paths&amp;quot; and add there the Directory &amp;quot;C:\MinGW\libexec\gcc\mingw32\''MinGW-Version'' where ''MinGW-Version'' is the Version of MinGW you are using. If you use a unmodified Version this is most probably 3.4.2, as I have the newer 4.2.0 I use this.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_01.png]][[Image:mingw_vista_02.png]]&lt;br /&gt;
&lt;br /&gt;
Let's try to compile again and see the progress.&lt;br /&gt;
&lt;br /&gt;
=== Compiler ===&lt;br /&gt;
&lt;br /&gt;
Hm still doesn't work, but the error changed:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:1:20: error: iostream: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp: In function 'int main()':&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'cout' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'endl' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 3 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
So MinGW is not able to find &amp;lt;iostream&amp;gt;. Let's tell him where to search:&lt;br /&gt;
&lt;br /&gt;
Still in the Compiler and Debugger dialogue go to &amp;quot;Search directories&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; and add:&lt;br /&gt;
&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\backward&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\mingw32&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\lib\gcc\mingw32\''MinGW-Version''\include&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are not necessarily all of them needed, but these are the directories MinGW searches on normally.&lt;br /&gt;
&lt;br /&gt;
Try again to compile. The compiler should now execute nurmally, but there is a Linker error left:&lt;br /&gt;
&lt;br /&gt;
=== Linker ===&lt;br /&gt;
&lt;br /&gt;
 Linking console executable: bin\Debug\test.exe&amp;lt;br /&amp;gt;&lt;br /&gt;
 ld: cannot find -lgcc&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 1 errors, 0 warnings&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we apparently need to tell MinGW where to search for it's librarys. This is again done by adding some &amp;quot;Search directories&amp;quot;, but now we use the section &amp;quot;Linker&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: C:\MinGW\lib\gcc\mingw32\''MinGW-Version''&lt;br /&gt;
&lt;br /&gt;
Try to compile, it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_03.png]][[Image:mingw_vista_04.png]]&lt;br /&gt;
&lt;br /&gt;
=== Trouble shooting ===&lt;br /&gt;
&lt;br /&gt;
If this does not work for you there are some advice to figure it out on your own:&lt;br /&gt;
&lt;br /&gt;
* If there is a file not found by MinGW use your search function to look for it, and add it where it belongs&lt;br /&gt;
** If it's an executeable (.exe) add it to the &amp;quot;additional paths&amp;quot; under &amp;quot;toolchain executeables&amp;quot;&lt;br /&gt;
** If it's a header (.h, .hpp or without extension) add it to &amp;quot;compiler&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
** If it's a library (.o, .a) add it to &amp;quot;linker&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
* Compile with the -v flag. You can do this by simply adding -v to &amp;quot;Build options&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; -&amp;gt; &amp;quot;Other options&amp;quot;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4781</id>
		<title>Installing MinGW with Vista</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista&amp;diff=4781"/>
		<updated>2007-06-27T18:09:57Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: Initial version - still work in process&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User Documentation]]&lt;br /&gt;
== Bevore we start ==&lt;br /&gt;
&lt;br /&gt;
Bevore starting to install MinGW under Windows Vista there are some things to remember:&lt;br /&gt;
&lt;br /&gt;
* MinGW '''must''' be located on the same partition as the files you want to compile&lt;br /&gt;
* There may be issues if you don't install MinGW in the toplevel folder (e.g. C:\MinGW) but in some folder (e.g. C:\Compilers\MinGW)&lt;br /&gt;
&lt;br /&gt;
For this HOWTO I used some Conventions:&lt;br /&gt;
&lt;br /&gt;
* I assumed you are going to install in C:, if you want to install on another partition (which may be clever as the sources must be on the same partition) you'll have to modifie the path acordingly&lt;br /&gt;
* I used ''MinGW-Version'' to indicate that you musst use your Version of MinGW here. As you can see on my pictures it is for me 4.2.0 and for those who downloaded on [[http://mingw.org]] ist is most probably 3.4.2&lt;br /&gt;
&lt;br /&gt;
== Getting MinGW ==&lt;br /&gt;
First of all you need the MinGW Compiler installed. I used the installer but all methods desciribed under [[MinGW installation]] should work fine. You may althoug want to upgrade your Version of MinGW to 4.*. When you finished installing the basic MinGW we'll start making it work with Windows Vista. (Note: There is no need to set any %PATH% - Variable when you use only Codeblocks, this is the way I'll focuse on)&lt;br /&gt;
&lt;br /&gt;
== Actual Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Executeables ===&lt;br /&gt;
If you haven't already done it it is time to install and start Code::Blocks. It's a good idea to creakte a sample Consoleapplication so you have a basic &amp;quot;Hello world&amp;quot; to test your progress. As I first tried to run &amp;quot;Compile&amp;quot; without any Modifications I got the following Error:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 mingw32-g++.exe: CreateProcess: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 0 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 0 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
This does tell us very little. The problem here actually is, that MinGW is unable to find its helper executeables, in this case cc1plus.exe. To fix this go to your &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Compiler and Debugger&amp;quot; -&amp;gt; &amp;quot;Toolchain executeables&amp;quot; -&amp;gt; &amp;quot;Additional paths&amp;quot; and add there the Directory &amp;quot;C:\MinGW\libexec\gcc\mingw32\''MinGW-Version'' where ''MinGW-Version'' is the Version of MinGW you are using. If you use a unmodified Version this is most probably 3.4.2, as I have the newer 4.2.0 I use this.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_01.png]][[Image:mingw_vista_02.png]]&lt;br /&gt;
&lt;br /&gt;
Let's try to compile again and see the progress.&lt;br /&gt;
&lt;br /&gt;
=== Compiler ===&lt;br /&gt;
&lt;br /&gt;
Hm still doesn't work, but the error changed:&lt;br /&gt;
&lt;br /&gt;
 -------------- Build: Debug in test ---------------&amp;lt;br /&amp;gt;&lt;br /&gt;
 Compiling: main.cpp&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:1:20: error: iostream: No such file or directory&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp: In function 'int main()':&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'cout' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\Users\Christoph\Projects\test\main.cpp:7: error: 'endl' was not declared in this scope&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 3 errors, 0 warnings&lt;br /&gt;
&lt;br /&gt;
So MinGW is not able to find &amp;lt;iostream&amp;gt;. Let's tell him where to search:&lt;br /&gt;
&lt;br /&gt;
Still in the Compiler and Debugger dialogue go to &amp;quot;Search directories&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; and add:&lt;br /&gt;
&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\backward&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\include\c++\''MinGW-Version''\mingw32&amp;lt;br /&amp;gt;&lt;br /&gt;
 C:\MinGW\lib\gcc\mingw32\''MinGW-Version''\include&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are not necessarily all of them needed, but these are the directories MinGW searches on normally.&lt;br /&gt;
&lt;br /&gt;
Try again to compile. The compiler should now execute nurmally, but there is a Linker error left:&lt;br /&gt;
&lt;br /&gt;
=== Linker ===&lt;br /&gt;
&lt;br /&gt;
 Linking console executable: bin\Debug\test.exe&amp;lt;br /&amp;gt;&lt;br /&gt;
 ld: cannot find -lgcc&amp;lt;br /&amp;gt;&lt;br /&gt;
 Process terminated with status 1 (0 minutes, 1 seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
 1 errors, 0 warnings&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we apparently need to tell MinGW where to search for it's librarys. This is again done by adding some &amp;quot;Search directories&amp;quot;, but now we use the section &amp;quot;Linker&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: C:\MinGW\lib\gcc\mingw32\''MinGW-Version''&lt;br /&gt;
&lt;br /&gt;
Try to compile, it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:mingw_vista_03.png]][[Image:mingw_vista_04.png]]&lt;br /&gt;
&lt;br /&gt;
=== Trouble shooting ===&lt;br /&gt;
&lt;br /&gt;
If this does not work for you there are some advice to figure it out on your own:&lt;br /&gt;
&lt;br /&gt;
* If there is a file not found by MinGW use your search function to look for it, and add it where it belongs&lt;br /&gt;
** If it's an executeable (.exe) add it to the &amp;quot;additional paths&amp;quot; under &amp;quot;toolchain executeables&amp;quot;&lt;br /&gt;
** If it's a header (.h, .hpp or without extension) add it to &amp;quot;compiler&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
** If it's a library (.o, .a) add it to &amp;quot;linker&amp;quot; under &amp;quot;search directories&amp;quot;&lt;br /&gt;
* Compile with the -v flag. You can do this by simply adding -v to &amp;quot;Build options&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; -&amp;gt; &amp;quot;Other options&amp;quot;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_04.png&amp;diff=4780</id>
		<title>File:Mingw vista 04.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_04.png&amp;diff=4780"/>
		<updated>2007-06-27T17:51:35Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_03.png&amp;diff=4779</id>
		<title>File:Mingw vista 03.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_03.png&amp;diff=4779"/>
		<updated>2007-06-27T17:51:30Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_02.png&amp;diff=4778</id>
		<title>File:Mingw vista 02.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_02.png&amp;diff=4778"/>
		<updated>2007-06-27T17:26:31Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_01.png&amp;diff=4777</id>
		<title>File:Mingw vista 01.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=File:Mingw_vista_01.png&amp;diff=4777"/>
		<updated>2007-06-27T17:22:18Z</updated>

		<summary type="html">&lt;p&gt;Darthdespotism: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Darthdespotism</name></author>
	</entry>
</feed>