38

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

Bad Request
  • 3,990
  • 5
  • 33
  • 37
  • Also, your Code Blocks is rather old (version 8). There is a 10.05. – osgx Dec 15 '10 at 23:55
  • My GCC doesn't work with v10 for some reason :( – Bad Request Dec 16 '10 at 06:13
  • 1
    gcc that comes with C::B v8 is also rather old, 3.4.x I believe. I encourage you to download the nightly builds of C::B and give it a try. There's been a vast amount of improvement done on the IDE. – greatwolf Dec 23 '10 at 04:41

5 Answers5

67

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

Or go to menu: View -> Logs

Have a good developing!

osgx
  • 90,338
  • 53
  • 357
  • 513
  • 2
    they have to rename it. I searched in all menu. it is difficult to guess. I think many people get this problem in codeblocks. It is better to move it to a menu called 'window' to match in other IDEs – fSazy Mar 12 '14 at 13:31
4

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

Mamatha .G
  • 41
  • 1
2

If after hitting F2, you don't see "Log & others" tab

You need choose: "View" ==> "Perspective" ==> "Delete current"

leminhnguyen
  • 1,518
  • 2
  • 13
  • 19
0

You just need to hit F2 to enable the "log & others" pane.

Akash Verma
  • 638
  • 1
  • 11
  • 15
0

Steps :View ->Perspective ->Delete works definitely, if F2 and view logs don't work.

shaikh nifa
  • 139
  • 1
  • 2