Troubleshooting Codeblocks on Windows: Fixing "gcc is not recognized" Error

  • Thread starter Thread starter towuzzi
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
towuzzi
Messages
8
Reaction score
0
when i hit gcc into cmd on windows it replies by saying that "gcc is not recognized as internal or external command and yes i have copied the address of the bin to the environment viariables
so basically how do i get it running in cmd
 
Physics news on Phys.org
Towuzzi,

I can try to help with this, but I would like some more information in order to know exactly what you're looking for. Are you trying to compile and run the program to debug it, or are you trying to run a program that is finished and ready for actual use?

The reason that I'm asking, is that you can run/compile your program directly from codeblocks. There's not much of a reason to attempt to run the program directly through the cmd, since codeblocks will automatically run your program in the cmd.

If you insist on running it in cmd, then make sure that the path is written exactly as it should be, any small error in the path will cause throw an error.

I hope this helps.
 
  • Like
Likes   Reactions: 1 person