codeblocks can't find my compiler
I faced the same problem. I have fixed out by going to Setting
-> Compiler
-> Global Compiler Settings
-> Toolchain Execuatables (tab)
. There, click on Program Files
and then rename C compiler
to gcc.exe
and C++ compiler
to g++.exe
.
I know this is an old question but let me see if I can help. First of all, on the download page make sure you downloaded codeblocks-13.12mingw-setup.exe and NOT codeblocks-13.12-setup.exe. Of course the version numbers may change but pay attention to the name. Then after installing codeblocks, go to Settings->Compiler->Toolchain executables. From here, change the C compiler to gcc.exe and C++ compiler to g++.exe. Hope this helps anyone else going through this problem :-)