Author Topic: finding compiler  (Read 801 times)

Offline DBK4227

  • Single posting newcomer
  • *
  • Posts: 7
finding compiler
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11629
    • Travis build status
Re: finding compiler
« Reply #1 on: January 31, 2019, 08:36:15 pm »
OS? Which package have you installed? Have you installed a compiler?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline DBK4227

  • Single posting newcomer
  • *
  • Posts: 7
Re: finding compiler
« Reply #2 on: February 01, 2019, 02:47:11 am »
So sorry, stupid of me not to include:  Code::Blocks 17.12, running on Windows 10

Offline DBK4227

  • Single posting newcomer
  • *
  • Posts: 7
Re: finding compiler
« Reply #3 on: February 01, 2019, 02:48:55 am »
I assumed Code::Blocks would install a compiler as part of the IDE

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11629
    • Travis build status
Re: finding compiler
« Reply #4 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline DBK4227

  • Single posting newcomer
  • *
  • Posts: 7
Re: finding compiler
« Reply #5 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!

Offline gd_on

  • Regular
  • ***
  • Posts: 441
Re: finding compiler
« Reply #6 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.
Windows 10 or 7, svn C::B (last version or almost!), WxWidgets 2.8.12, Compilers TDM 4.9.2 32 bits (gcc and gfortran installed in C:\MinGW32). Tests with C::B 64 bits and WxWidgets 2.8.12 or 3.1.2 (64 bits) compiled by TDM 4.9.2 or Std 8.1 in C:\MinGW64

Offline DBK4227

  • Single posting newcomer
  • *
  • Posts: 7
Re: finding compiler
« Reply #7 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11629
    • Travis build status
Re: finding compiler
« Reply #8 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline DBK4227

  • Single posting newcomer
  • *
  • Posts: 7
Re: finding compiler
« Reply #9 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:(

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11629
    • Travis build status
Re: finding compiler
« Reply #10 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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline rcttsoul

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: finding compiler
« Reply #11 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
Discord = Pryor#2941