Author Topic: Compiler error  (Read 4023 times)

ghgjj556

  • Guest
Compiler error
« on: June 12, 2017, 09:19:30 pm »
I am running Code::Blocks version 16.01

I have just downloaded Code::Blocks (codeblocks-16.01mingw-setup.exe) and  everytime I want to run a program (even this 'Hello world" one) this appears:

Code
" 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?! (Do you have a compiler installed?)
Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.

    I don't know what I'm doing wrong. Please, help me.

Offline awake

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: Compiler error
« Reply #1 on: June 12, 2017, 11:17:23 pm »
If you haven't read it yet, here's a good place to start: http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Compiler error
« Reply #2 on: June 12, 2017, 11:56:51 pm »
If you haven't read it yet, here's a good place to start: http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler

Quote
If your compiler was not auto-detected, go to "Settings->Compiler and Debugger->Global Compiler settings->Toolchain executables", select the compiler you installed and press "Auto-detect".
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org