Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable compiler output pane in Codeblocks

Tags:

ide

codeblocks

This is probably a really noob question, but the fact of the matter is that my Code::blocks wouldn't show me errors when it compiles - it only shows a red bar next to the offending line as shown in screenshot. Also, when my code does run and has output, CB opens a new window instead of showing the output in a pane in the bottom of the editor window like some other IDEs. How do I enable either/both, since they're probably the same feature? Thanks!alt text

like image 431
Bad Request Avatar asked Dec 15 '10 23:12

Bad Request


People also ask

How do I enable Compiler in CodeBlocks?

Run the downloaded installer. Accept the default options. Verify the Compiler's and Debugger's Path: (For CodeBlocks 13.12 For Windows) Goto "Settings" menu ⇒ "Compiler..." ⇒ In "Selected Compiler", choose "GNU GCC Compiler" ⇒ Select tab "Toolchain Executables" ⇒ Check the "Compiler's Installation Directory".

How do I open console in CodeBlocks?

Click on build->run or hit Ctrl+F10 and a new CMD Window should pop up, showing you your "Hello world!". Show activity on this post.

Why is my Compiler not working in CodeBlocks?

It is generally due to non availability of compiler or Codeblocks is not properly configured to use the compiler. Best way is to uninstall the current codeblocks and download the version with compiler included. It will be around 80–100MB in size. Install it and most probably your problem will be solved.


2 Answers

Press F2 to enable Logs panel. Select "Build log" in it.

Or go to menu: View -> Logs

Have a good developing!

like image 62
osgx Avatar answered Sep 30 '22 05:09

osgx


go to view -> perspective -> and enable code::Blocks default, you can see your projects left side and down the build logs and messages etc.

like image 27
Mamatha .G Avatar answered Sep 30 '22 05:09

Mamatha .G