tags:

views:

3515

answers:

2

i have installed successfully codeblock on my pc but when i try to run "hello world" or even another code, i get this messege of bluild log "name-Debug uses an invalid compiler. Skipping... nothing to be done" so please help me!

A: 

This gets asked a lot on the Code::Blocks support forms at http://forums.codeblocks.org - you should take a look there.

However, the compiler etc. you are using is specified by:

  • Settings menu
  • Compiler and debugger
  • Toolchain Executables tab

check that the path to the MinGW (or whatever) install directory is set correctly here, then close CB and start a NEW project.

anon
+1  A: 

hey, had the same issue and fixed it easily!

go to Settings-Compiler & Debugger and it opens in new window in here click on the 'restore defaults' button now it will automatically find your compiler

(mine was in C:\Program Files\CodeBlocks\MinGW) --and this can be set in toolchain executables tab if the above doesnt work

jesus