Code::Blocks Forums
User forums => Help => Topic started by: berce on February 14, 2019, 12:45:00 pm
-
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
(https://farm8.staticflickr.com/7805/32149661607_d1f49b96bf_z.jpg)
(https://farm8.staticflickr.com/7854/33216223578_932910a5d4_c.jpg)
would you fix in future
-
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.
-
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
-
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
["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->Compiler...->Global compiler settings->Intel C/C++ Compiler->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>
-
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 ["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->Compiler...->Global compiler settings->Intel C/C++ Compiler->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.