News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compiler error

Started by ghgjj556, June 12, 2017, 09:19:30 PM

Previous topic - Next topic

ghgjj556

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:


" 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.

awake


stahta01

Quote from: awake 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

QuoteIf 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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]