title: My program is using an invalid compiler, how do I find the right compiler?
body: <p>When I try to build and run my program I get this error message:</p>
  
  <blockquote>
    <p>"First Project": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
    Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)
    Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
    Skipping...
    Nothing to be done (all items are up-to-date).</p>
    
    <p>Target uses an invalid compiler; run aborted</p>
  </blockquote>
  
  <p>I tried to fix this issue on my own by going to Settings->Compiler->Toolchain executables-> and clicking the "Auto-detect" button-> and clicking "OK", but when I did that a window popped up saying </p>
  
  <blockquote>
    <p>Enviromental Error</p>
    
    <p>Can't find compiler executable in your configured search path's for GNU GCC Compiler</p>
  </blockquote>
  
  <p>I apologize if this question had been asked before, but when I researched this problem, most people fixed it by simply hitting "Auto-detect" and that didn't work for me. </p>