No its not grayed out, i can click on the option but it doesnt pop up something. So i click on Build and Run, but nothing happens.
Are any messages displayed in the build log?
Did you check your hard-drive to see if the executable was created at all?
Edit:
If your build log looks something like this,
"ProjectName - TargetName": The compiler's setup is invalid so Code::Blocks cannot find/run the compiler. Probably the
toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done (all items are up-to-date).
it means Code::Blocks cannot find your compiler (as it says). If this is the case, first find the location of the compiler (I am assuming mingw based on the package you said you installed) on your hard-drive (because you installed the bundled version, it should be located in C:\Program Files\CodeBlocks\MinGW). Copy the location. Back inside Code::Blocks, open Settings->Compiler and debugger...->Toolchain executables (tab) and paste the path of your compiler into the Compiler's installation directory box.
The Build Log is blanc, even if i type something.
Everything works except the build and run option.
Ok to get it clear:I downloaded the new version of Code::blocks (10.05) - codeblocks-10.05mingw-setup.exe (binary release).
I installed all plugins.
The option Build and Run is NOT grayed out.
My default compiler is GNU GCC Compiler (C:\MinGW)
The project that i saved is a cpp. file.
The Build log is blanc, even when i type something like this and click on the run and build option:
#include <iostream>
using namespace std;
int main () {
cout << 'Hello everyone' ;
}
It does do nothing.
And if i change the compiler to something like this:
Intel C/C++ Compiler (C:\Program Files (x86)\Intel\Compiler\C++\9.0) it also does nothing.