Author Topic: ~compiler's setup~  (Read 6616 times)

Offline Kangrena

  • Single posting newcomer
  • *
  • Posts: 4
~compiler's setup~
« on: January 22, 2013, 10:09:39 pm »
Greetings everyone,im really new to c++, i can't build and run anything,the error i get is this "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup". all nice,until it tells me to fix the compiler's setup,i've messed around for a while and didn't figured it out. I tried to reinstall it,but i get the same error

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: ~compiler's setup~
« Reply #1 on: January 22, 2013, 11:08:21 pm »
C::B can't find the gcc compiler on your system.
What version of C::B did you use?
What installer did you used?
Witch OS do you use?

You have to tell C::B where it can find the executables for your compiler. This can be done in  "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables"

Offline Kangrena

  • Single posting newcomer
  • *
  • Posts: 4
Re: ~compiler's setup~
« Reply #2 on: January 23, 2013, 11:23:46 am »
my version of c::b is 12.11 binary release
i used codeblocks-12.11-setup.exe
i have windows xp sp2

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: ~compiler's setup~
« Reply #3 on: January 23, 2013, 11:49:10 am »
Do you have a compiler installed ?

Offline Kangrena

  • Single posting newcomer
  • *
  • Posts: 4
Re: ~compiler's setup~
« Reply #4 on: January 23, 2013, 07:17:40 pm »
I don't :\
where can i get it?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: ~compiler's setup~
« Reply #5 on: January 23, 2013, 07:23:12 pm »
Either use the setup-package with mingw in the name or use the compiler from http://tdm-gcc.tdragon.net/ .

Offline Kangrena

  • Single posting newcomer
  • *
  • Posts: 4
Re: ~compiler's setup~
« Reply #6 on: January 23, 2013, 07:54:42 pm »
it works now!but when i press build & run it goes forever,oh well,thanks  to both of you for your help