Code::Blocks Forums

User forums => Help => Topic started by: Svitak33 on February 06, 2022, 07:11:20 pm

Title: no compiler found
Post by: Svitak33 on February 06, 2022, 07:11:20 pm
I installed the c::b with mingw.

however when I open c::b it says no gnu gcc compiler located.

I uninstalled and reinstalled. Still no luck. Any help would be appreciated.

**Edit: I've verified the compiler is working. This was noob post but I am still having problems any help is appreciated.

Title: Re: no compiler found
Post by: BlueHazzard on February 06, 2022, 11:21:57 pm
Go to Settings->Compiler->Global compiler settings->Toolchain executables (you probably have to press the > button on the left) -> Auto detect
If this does not work, then fill the path to your compiler in "Compiler installation directory"
Title: Re: no compiler found
Post by: Svitak33 on February 10, 2022, 12:33:55 am
I had to go through windows environment variables and enable the path.

However even though I have verified through cmd that gcc is installed and working whenever I go to compile and run it says project has not been built.

If I click yes nothing happens at all. If I click no or cancel cmd pops up and says process returned 32762 (0x7ffa)

not sure what is going on
Title: Re: no compiler found
Post by: Svitak33 on February 10, 2022, 12:48:33 am
I think my problem was some previous programs I had written.

I deleted a file to start over and now its working just as it should.