User forums > Using Code::Blocks
unable to compile Console application
(1/1)
cplus101:
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
ollydbg:
See below:
YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!
cplus101:
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!
ctrl_xvc:
nice one
::)
work for me thx
Navigation
[0] Message Index
Go to full version