Code::Blocks
August 20, 2014, 04:34:33 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The new Release 13.12 is out! You can download binaries for windows, mac and many major linux distros from  http://www.codeblocks.org/downloads/26 .
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Code::Blocks 12.11 cannot find/run the compiler  (Read 16376 times)
AyameTaylor
Newcomer
*
Offline Offline

Posts: 1


« on: February 28, 2013, 06:33:01 am »

Alright, So i have already made an oppsie on the forum; hopefully this isn't another one.

So I downloaded the Code::Blocks 12.11/MinGW from the Downloads page.

It installed correctly; or so i thought. I went to run the standard "HelloWorld" Test, I get this message cropping up.

"HelloWorld - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Goto "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).

Now, I have looked online all over the place, trying to figure out what the heck is going on. THey tell me to go to the "Compiler& Debugger" Section of the Settings drop down-- however, There is a "Compiler" And then there is a "Debugger."

So I managed to find the right section to get to the "Toolchain Executables" However, Every method i have tried thus far keeps ending me up at the beginning with no clear idea of what the fudgingfudgebucket to do.

*Takes a deep breath*

Obviously I am a new user of C::B I am wanting to learn C++, I don't want to be defeated before i have left the gate so to speak.

Does anyone know what to do with this version of C::B
Because I have tried ten or so "Fixes" and none of them have worked.

Thanks in advance.
Logged
jens
Administrator
Lives here!
*****
Online Online

Posts: 6533



WWW
« Reply #1 on: February 28, 2013, 07:12:58 am »

Did you run the autodetection on the toolchain tab.
If that does not work (in some rare cases), you have to fix the compilers masterpath manually.
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5 & 6] - nightlies : http://rpm.jenslody.de/
stahta01
Lives here!
****
Offline Offline

Posts: 4338


WWW
« Reply #2 on: February 28, 2013, 01:01:27 pm »

Did you run the autodetection on the toolchain tab.

After making sure the correct compiler has been chosen, in your case this is very likely "GNU GCC Compiler".

If installing for the first time, the "result defaults" is also a good thing to try.
It erases the Compiler Customization and run  autodetection.

NOTE: The above is going with the idea you are on Windows and download the version of CB with mingw in the file name.

Tim S.

Logged

C Programmer working to learn more about C++.
Compiling CB Trunk against wxWidgets WX_3_0_BRANCH branch.
--
When in doubt, read the CB WiKi FAQ.
jens
Administrator
Lives here!
*****
Online Online

Posts: 6533



WWW
« Reply #3 on: February 28, 2013, 01:07:34 pm »

If installing for the first time, the "result defaults" is also a good thing to try.
I guess it should be "Reset defaults" .
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5 & 6] - nightlies : http://rpm.jenslody.de/
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!