It sounds like you do not have a project open... if you require detailed instructions on project creation/maintenance, refer to this (http://wiki.codeblocks.org/index.php?title=Creating_a_new_project) wiki page.Ok i can see the colours now.
If in fact you do have a project open, it is possible you disabled the required plugins during installation. If this is the case, reinstall Code::Blocks, ensuring all the plugins are included.
I downloaded the codeblocks-10.05mingw-setup.exe (binary release).From this I assume you have a compiler installed.
I reinstalled Code::Blocks with all plugins included, but still the option Build and Run doesnt work.When you say that it does not work, do you mean that the button is grayed out, and you cannot click it, or that when you press it nothing happens (check the build log at the bottom of the screen in Code::Blocks)?
http://www.youtube.com/watch?v=W4_UHtzYoIQ (from 1:00 to 1:38)I took a look at the this video, and if you are following its instructions, you do not have a project setup. Although beginning exercises can be done like this, to do anything more complex, you will need to setup a project. If you have not already, I will again recommend you read this (http://wiki.codeblocks.org/index.php?title=Creating_a_new_project) wiki page.
On windows, you might need to scroll the BUild log, to see the output.I dont get it? You mean i need to select the output that works on windows 7?
Their seem to be sometimes refreshing issues with wxWidgets on windows.
When you say that it does not work, do you mean that the button is grayed out, and you cannot click it, or that when you press it nothing happens (check the build log at the bottom of the screen in Code::Blocks)?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.
* If it is grayed out, it is because the file you are working with does not have the correct file extension - .cpp - as jens already mentioned.
On windows, you might need to scroll the BUild log, to see the output.I dont get it? You mean i need to select the output that works on windows 7?
Their seem to be sometimes refreshing issues with wxWidgets on windows.
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?
"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).
The Build Log is blanc, even if i type something.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,Codeit 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."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).
On windows, you might need to scroll the BUild log, to see the output.I dont get it? You mean i need to select the output that works on windows 7?
Their seem to be sometimes refreshing issues with wxWidgets on windows.
If you don't see any output in the "Build log", you might need to click into it and scroll it with the mousewheel, or scroll it with the scrollbar to make the content visible.
I only saw this on windows (xp and win7), not on any of the linuxes I tested.
Not sure if this also happens for the "Build messages" (and other listlogs), or only for textlogs like the "Build log".
My default compiler is GNU GCC Compiler (C:\MinGW)Is C:\MinGW the actual physical location on your hard-drive (of the mingw installation), or is it the location Code::Blocks has registered as the Compiler's installation directory (or both)?
Did you try what I asked you to do:Yes i did.On windows, you might need to scroll the BUild log, to see the output.I dont get it? You mean i need to select the output that works on windows 7?
Their seem to be sometimes refreshing issues with wxWidgets on windows.
If you don't see any output in the "Build log", you might need to click into it and scroll it with the mousewheel, or scroll it with the scrollbar to make the content visible.
I only saw this on windows (xp and win7), not on any of the linuxes I tested.
Not sure if this also happens for the "Build messages" (and other listlogs), or only for textlogs like the "Build log".
This location doesnt exist when i put it in the adress bar.My default compiler is GNU GCC Compiler (C:\MinGW)Is C:\MinGW the actual physical location on your hard-drive (of the mingw installation), or is it the location Code::Blocks has registered as the Compiler's installation directory (or both)?
If it is only the Compiler's installation directory, change the Compiler's installation directory to <CodeBlocksInstallFolder>\MinGW (most likely C:\Program Files\CodeBlocks\MinGW); this is where codeblocks-10.05mingw-setup.exe would have installed MinGW (do not click Auto-detect, because this often only resets the path from my experience).
If you have not yet, make sure you try what jens asked, as Code::Blocks "should" always output at least something to the logs.
This location doesnt exist when i put it in the adress bar.Come one, a little thinking might help - surely the "Program Files" might not be there, so search for a folder named "MinGW" on your HDD: If it doesn't exist this means you did *not* install the compiler of the MinGW-based C::B setup file. In that case, run the installation again and make sure you select the compiler.
C:\Program Files (x86)\CodeBlocks, is the only location where i can find this file: mingwm10.dll