Code::Blocks Forums

User forums => Help => Topic started by: Kangrena on January 22, 2013, 10:09:39 pm

Title: ~compiler's setup~
Post by: Kangrena 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
Title: Re: ~compiler's setup~
Post by: BlueHazzard 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"
Title: Re: ~compiler's setup~
Post by: Kangrena 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
Title: Re: ~compiler's setup~
Post by: Jenna on January 23, 2013, 11:49:10 am
Do you have a compiler installed ?
Title: Re: ~compiler's setup~
Post by: Kangrena on January 23, 2013, 07:17:40 pm
I don't :\
where can i get it?
Title: Re: ~compiler's setup~
Post by: Jenna 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/ (http://tdm-gcc.tdragon.net/) .
Title: Re: ~compiler's setup~
Post by: Kangrena 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