Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: stufava on February 05, 2009, 03:38:07 pm

Title: problem compiling
Post by: stufava on February 05, 2009, 03:38:07 pm
Hi to everyone,
I wrote the source code of a project i have to make for an exam.
If i simply open the file of the source code (main.cpp) and i try to build, the build log gives me this error:

Code
[color=red]Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings[/color]

I'm a beginner with Code::Blocks and C++, i've just made simple programs, usually compiling single files; but looking for a solution for this problem i was told to open a new project (console application) and to copy the source code in the main file of the project: i've done these things and now, when i try to build, the build log gives me this error:

Code
[color=blue]"project - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...[/color]
Nothing to be done.

Can anybody help me??
Sorry for the english...
P.s.: I have Code::Blocks 8.02, compiler MinGW, SO Windows XP
Thanks!!
Title: Re: problem compiling
Post by: mmkider on February 05, 2009, 03:45:26 pm
Check this item
          Settings->compiler and debuger->Global compiler settings->Toolchain executables
Title: Re: problem compiling
Post by: Jenna on February 05, 2009, 03:47:03 pm
As first use the forums search before asking.

This questions has been answered quite often

You most likely do not have a compiler or your compiler toolchain is not set correctly.

Topic locked.