Before I upgraded my OS to Windows Vista Ultimate, C::B used to work fine. But recently I've installed C::B and tried to run the "Hello World!" program and it gave me an error of invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!], after searching in Google I came to this wiki page:
http://wiki.codeblocks.org/index.php?title=MinGW_installation.
I installed it manually and my folder hierarchy is as mentioned. But now whenever I try to Build the project I get this error:
mingw32-gcc.exe: installation problem, cannot exec `cc1plus': No such file or directory
After searching some more I came to a different wiki page which is this:
http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_VistaBut when I was saying as said in that page I noticed that in my "C:\MinGW\libexec\gcc\mingw32\" directory there was only 2 folders and not 3 as said. The folder missing is the version folder. So I couldn't continue.
Other information:
Code::Blocks Version: 10.05
MinGW Version: 5.0.2
I also installed C::B with the mingw installer and still gave me same error.