Author Topic: Help... Cant Compile..  (Read 4023 times)

Mohammed

  • Guest
Help... Cant Compile..
« 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?  :(

Mohammed

  • Guest
Re: Help... Cant Compile..
« Reply #1 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..?

Offline DrewBoo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Help... Cant Compile..
« Reply #2 on: March 17, 2008, 06:34:29 am »
That is unusual.  Could you tell us about your environment?  OS?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Help... Cant Compile..
« Reply #3 on: March 17, 2008, 07:39:01 am »
Afaik this can happen if no compiler is installed.

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Help... Cant Compile..
« Reply #4 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.