Enable compiler output pane in Codeblocks
go to view -> perspective -> and enable code::Blocks default, you can see your projects left side and down the build logs and messages etc.
Press F2 to enable Logs panel. Select "Build log" in it.
Or go to menu: View -> Logs
Have a good developing!
If after hitting F2, you don't see "Log & others" tab
You need choose: "View" ==> "Perspective" ==> "Delete current"