Author Topic: N0ob needs a compiler  (Read 4644 times)

Offline mindlesselectrons

  • Single posting newcomer
  • *
  • Posts: 2
N0ob needs a compiler
« 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: N0ob needs a compiler
« Reply #1 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.

Offline mindlesselectrons

  • Single posting newcomer
  • *
  • Posts: 2
Re: N0ob needs a compiler
« Reply #2 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: N0ob needs a compiler
« Reply #3 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.