How can i use a code blocks in pc | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i use a code blocks in pc

when i start coding and finally commant run , it says that the compiler option is not setup correctly

12th Dec 2016, 2:18 PM
mandar
2 Answers
12th Dec 2016, 3:35 PM
JENN
JENN - avatar
0
Follow the link @JENN mentioned Source : http://www.cprogramming.com/code_blocks/ The most common error people see if things don't work is a message like "CB01 - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping..." First, make sure that you downloaded the right version of Code::Blocks, the one that included MinGW. If that doesn't solve the problem, it is likely a problem with compiler auto-detection. Here's how you can check your current "auto-detected" state. Go to "Settings|Compiler and Debugger...". Then on the left, choose "Global Compiler Settings" (it has a gear icon) and on the right, select the "Toolchain executables" tab. This tab has a "Auto-detect" button that you can use. That might fix the problem--if it doesn't, you can manually fill out the form.
12th Dec 2016, 3:49 PM
Vipul Walia
Vipul Walia - avatar