Author Topic: nothing detected about the Compilers in CodeBlocks  (Read 2490 times)

berce

  • Guest
nothing detected about the Compilers in CodeBlocks
« 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




would you fix in future

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13151
    • Travis build status
Re: nothing detected about the Compilers in CodeBlocks
« Reply #1 on: February 15, 2019, 08:30:27 am »
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!]

Offline rcttsoul

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: nothing detected about the Compilers in CodeBlocks
« Reply #2 on: March 01, 2019, 09:25:43 am »
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

Offline RyanR

  • Multiple posting newcomer
  • *
  • Posts: 11
  • I'm just here to learn.
Re: nothing detected about the Compilers in CodeBlocks
« Reply #3 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>

Offline rcttsoul

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: nothing detected about the Compilers in CodeBlocks
« Reply #4 on: March 01, 2019, 08:28:48 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