Author Topic: Build and Run!  (Read 4946 times)

Capt volcan

  • Guest
Build and Run!
« on: May 27, 2011, 06:23:02 am »
I've gone through many posts relating to Build and Run problem. But I couldn't find a solution for my problem

I just started learning programming and was advised to use Code::Blocks. But the thing is, every time I press Build/Build and Run/Run nothing happens. The only change I see is in Build log which says:

Quote
"Software - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done."

Whats the solution?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Build and Run!
« Reply #1 on: May 27, 2011, 08:03:33 am »
  • Be sure to have installed a compiler
  • make sure the compilers installation path and the executables are set correctly in "Settings -> Compiler and debugger -> Global compiler settings -> [your compiler] -> Toolchain executables"
  • make sure your project uses the compiler
  • or (for single files without a project) make sure the compiler is set as default compiler