Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: cplus101 on February 07, 2012, 05:59:32 am
-
Hi
I just installed codeblock and created a console application. When I hit <Build & Run>, I got this error,
"sample1 - 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.
Pls help, thank you.
Regards,
Cplus101
-
See below:
YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!
-
Hi,
Thanks any way. I resolved it:
1) go to Setting -> Compiler and Debugger
2) select <Toolchain Executable> tab
3) Change compiler's Installation Directory
I installed my codeblock at "C:\Program Files\CodeBlocks\MinGW"
NOTE: you need to know where MinGW was installed.
It works!
-
nice one
::)
work for me thx