Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mindlesselectrons on September 22, 2010, 02:20:25 pm

Title: N0ob needs a compiler
Post by: mindlesselectrons on September 22, 2010, 02:20:25 pm
"2rd time - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...

that's the message I get. I guess codeblocks doesn't come with a compiler but does anyone know where I get a GNU GCC compiler?
some of the sutes I looked at were...daunting.

Any help is appreciated.
Title: Re: N0ob needs a compiler
Post by: Jenna on September 22, 2010, 02:28:06 pm
Depends on the platform you are on.
On windows: download the installer that ships with a compiler,
on linux: just install it from your distros repo,
on Mac: don't know.
Title: Re: N0ob needs a compiler
Post by: mindlesselectrons on September 22, 2010, 06:04:18 pm
windows

I downloaded what I assume to be the latest version but I guess that doesn't have a GNU GCC included.

If you have more questions regarding anything, let me know, I really want to learn this stuff
Title: Re: N0ob needs a compiler
Post by: Jenna on September 22, 2010, 06:31:37 pm
windows

I downloaded what I assume to be the latest version but I guess that doesn't have a GNU GCC included.

If you have more questions regarding anything, let me know, I really want to learn this stuff
Download the installer with mingw in the name.

If it still does not work, go to "Settings -> Compiler and debugger -> Global compiler settings -> GCC -> Toolchain executab les" and make sure that the exe-names and the installation path (most likely the directoy MinGW below C::B's install folder) are correct.