User forums > General (but related to Code::Blocks)

Help... Cant Compile..

(1/1)

Mohammed:
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?  :(

Mohammed:
my Question is why wont it compile the code..? why does it say nothing to be done..?

DrewBoo:
That is unusual.  Could you tell us about your environment?  OS?

Jenna:
Afaik this can happen if no compiler is installed.

Seronis:
it happens anytime the compiler in the project doesnt exist.  Just go and set the compiler again and you're usually fine.

Navigation

[0] Message Index

Go to full version