Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Mohammed on March 17, 2008, 03:29:35 am

Title: Help... Cant Compile..
Post by: Mohammed on March 17, 2008, 03:29:35 am
Hey guys sorry about this.. i installed codeblocks and created a new project .. by default there is main.cpp with hello world program. #include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

When i hit f9 it says "temp - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.

help please?  :(
Title: Re: Help... Cant Compile..
Post by: Mohammed on March 17, 2008, 04:00:40 am
my Question is why wont it compile the code..? why does it say nothing to be done..?
Title: Re: Help... Cant Compile..
Post by: DrewBoo on March 17, 2008, 06:34:29 am
That is unusual.  Could you tell us about your environment?  OS?
Title: Re: Help... Cant Compile..
Post by: Jenna on March 17, 2008, 07:39:01 am
Afaik this can happen if no compiler is installed.
Title: Re: Help... Cant Compile..
Post by: Seronis on March 17, 2008, 05:12:22 pm
it happens anytime the compiler in the project doesnt exist.  Just go and set the compiler again and you're usually fine.