User forums > Help
Build and run doesnt work and colours dont appear
Just_A_Guy:
Hello all :),
I have recently downloaded the new version of Code::blocks (10.05) but it doesnt seem to work.
I downloaded the codeblocks-10.05mingw-setup.exe (binary release).
http://www.youtube.com/watch?v=W4_UHtzYoIQ (from 1:00 to 1:38)
I dont see any colours when i type the SAME words.
So when i type like: #include <iostream> it doesnt get green.
And when i press Build and Run it also doesnt do anything.
I have Windows 7 64 bit.
Help?
Alpha:
It sounds like you do not have a project open... if you require detailed instructions on project creation/maintenance, refer to this wiki page.
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.
Jenna:
Do you have a file with a correct file-ending, so C::B which lexer should be used for highlighting and which compiler for compiling ?
Just_A_Guy:
--- Quote from: Alpha on September 04, 2011, 05:43:10 pm ---It sounds like you do not have a project open... if you require detailed instructions on project creation/maintenance, refer to this wiki page.
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.
--- End quote ---
Ok i can see the colours now.
I reinstalled Code::Blocks with all plugins included, but still the option Build and Run doesnt work.
Alpha:
--- Quote from: Just_A_Guy on September 04, 2011, 01:16:42 pm ---I downloaded the codeblocks-10.05mingw-setup.exe (binary release).
--- End quote ---
From this I assume you have a compiler installed.
--- Quote from: Just_A_Guy on September 05, 2011, 08:01:52 am ---I reinstalled Code::Blocks with all plugins included, but still the option Build and Run doesnt work.
--- End quote ---
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)?
* 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.
--- Quote from: Just_A_Guy on September 04, 2011, 01:16:42 pm ---http://www.youtube.com/watch?v=W4_UHtzYoIQ (from 1:00 to 1:38)
--- End quote ---
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 wiki page.
Navigation
[0] Message Index
[#] Next page
Go to full version