Code::Blocks Forums

User forums => Help => Topic started by: DBK4227 on January 31, 2019, 07:58:15 pm

Title: finding compiler
Post by: DBK4227 on January 31, 2019, 07:58:15 pm
I installed Code::blocks using default setup;  When I try to start it for C, I get an error message that it can't find a path to GNU GCC compiler.  Any suggestions?
Title: Re: finding compiler
Post by: oBFusCATed on January 31, 2019, 08:36:15 pm
OS? Which package have you installed? Have you installed a compiler?
Title: Re: finding compiler
Post by: DBK4227 on February 01, 2019, 02:47:11 am
So sorry, stupid of me not to include:  Code::Blocks 17.12, running on Windows 10
Title: Re: finding compiler
Post by: DBK4227 on February 01, 2019, 02:48:55 am
I assumed Code::Blocks would install a compiler as part of the IDE
Title: Re: finding compiler
Post by: oBFusCATed on February 01, 2019, 08:45:44 am
It depends. There are installers which have a compiler and installers which don't have compiler. Which one have you used?
Title: Re: finding compiler
Post by: DBK4227 on February 01, 2019, 04:23:58 pm
I used codeblocks 17.12 setup.  does it include a compiler?  If not, can you recommend a version that does?  Thanks for your help!
Title: Re: finding compiler
Post by: gd_on on February 01, 2019, 04:41:59 pm
everything is written in this page : http://www.codeblocks.org/downloads/26 from where you have probably downloaded your version.
take a little time to read everything.
Title: Re: finding compiler
Post by: DBK4227 on February 05, 2019, 12:26:42 am
AAARRRG! This time I installed "codeblocks-17.12mingw-setup" or C in Win 10, and I still get an error message it can't find the compiler :(  Any suggestions?
Title: Re: finding compiler
Post by: oBFusCATed on February 05, 2019, 12:57:18 am
Goto the compiler settings select the GCC compiler and find the auto-detect button and try to see if it helps. If it doesn't help search the wiki for instructions how to setup a compiler.
Title: Re: finding compiler
Post by: DBK4227 on February 05, 2019, 07:49:51 pm
Sorry for being dense, but I've selected the Gnu  GCC compiler and don't see an "auto detect" button:(
Title: Re: finding compiler
Post by: oBFusCATed on February 05, 2019, 08:46:28 pm
It is on the toolchain executables tab. If you don't see it press the right arrow or resize the dialog.

If you still cannot find it - search the wiki...
Title: Re: finding compiler
Post by: rcttsoul on March 01, 2019, 09:31:03 am
first uninstall Codeblocks mingw bla bla, the Codeblocks MinGW bundle download is messed up.
Now install MinGW separately and first...… https://osdn.net/projects/mingw/releases/
Now download and install Codeblocks ONLY ….. http://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Windows/codeblocks-17.12-setup.exe

And here are some videos that will actually show you the secrets on how to...….. set everything up shhhhh
setup of MinGW https://www.youtube.com/watch?v=sXW2VLrQ3Bs&t=249s
setup of CodeBlocks https://www.youtube.com/watch?v=c8iq3yg6RDM&t=8s