News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

nothing detected about the Compilers in CodeBlocks

Started by berce, February 14, 2019, 12:45:00 PM

Previous topic - Next topic

berce

Hi everyone!

CodeBlocks could not detect any compilers it was added path to environment variables
I installed mingw64 8.1.0 from https://sourceforge.net/p/mingw-w64/mingw-w64

I installed visual studio 2017 in diffirent path ama but not showing in auto-detection
acutally it could not detect anything
I manually changed gnu gcc file names in toolchain executables tab




would you fix in future

oBFusCATed

It detects installation only at particular locations. If it can't detect it you can setup your compilers manually using Setting -> Compiler -> <compiler name> -> Toolchain executables

See the wiki for some documentation about particular compilers.
(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!]

rcttsoul

install MinGW separately...... https://osdn.net/projects/mingw/releases/

This Video will show you how to properly set up MinGW
setup of MinGW https://www.youtube.com/watch?v=sXW2VLrQ3Bs&t=249s

Once you got that set up this video below will show you how to set up CodeBlocks to use MinGW
setup of CodeBlocks https://www.youtube.com/watch?v=c8iq3yg6RDM&t=8s
Discord = Pryor#2941

RyanR

just another post about how I also can not get it to build a program in spite of having downloading every compatible compiler I could find, making sure all of them were installed to C:\ and being sure that all of the root folders for each of them were in my %Path%, and C::B auto-detecting them. I've tried resetting the compiler to default, and I get
Quote["Practice programCISP1010 customer creditcalc - Debug": The compiler's setup (Intel C/C++ Compiler) is invalid, so Code::Blocks cannot find/run the compiler.<br>Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)<br>Goto "Settings-&gt;Compiler...-&gt;Global compiler settings-&gt;Intel C/C++ Compiler-&gt;Toolchain executables" and fix the compiler's setup.<br>Skipping.../quote] <br>I set it back to <strong>C:\CodeBlocks\MinGW</strong> and I get [url][https://drive.google.com/file/d/1OCoBb9tPWjOJHkCbe5vdg6ERcias9nVP/view?usp=sharing/url]<div><br></div><div>

rcttsoul

Quote from: RyanR on March 01, 2019, 05:19:10 PM
just another post about how I also can not get it to build a program in spite of having downloading every compatible compiler I could find, making sure all of them were installed to C:\ and being sure that all of the root folders for each of them were in my %Path%, and C::B auto-detecting them. I've tried resetting the compiler to default, and I get
Quote["Practice programCISP1010 customer creditcalc - Debug": The compiler's setup (Intel C/C++ Compiler) is invalid, so Code::Blocks cannot find/run the compiler.<br>Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)<br>Goto "Settings-&gt;Compiler...-&gt;Global compiler settings-&gt;Intel C/C++ Compiler-&gt;Toolchain executables" and fix the compiler's setup.<br>Skipping.../quote] <br>I set it back to <strong>C:\CodeBlocks\MinGW</strong> and I get [url][https://drive.google.com/file/d/1OCoBb9tPWjOJHkCbe5vdg6ERcias9nVP/view?usp=sharing/url]<div><br></div><div>
You need to install MinGW as your compiler to avoid complications with Codeblocks, look at my above post for links and instructions.
Discord = Pryor#2941