Author Topic: Strange builing  (Read 3625 times)

Offline yerzhik

  • Single posting newcomer
  • *
  • Posts: 2
Strange builing
« on: June 29, 2012, 04:57:10 am »
I am trying to compile a project in Code::Blocks IDE.
I am new to it.
I was expecting some output window with errors and warnings log. Instead I don't see anything, but just a red rectangle on one of the sourcej files,
on the left side of the line including the text: #include "somefile.h"

What is the problem? I have set in the projects properites the additional search pathes correctly, and still getting this strange red small rectangle.
Does that rectangle mean that the compiler can't find the include file? How to correctly set the search pathes for include files?
And can the IDE at least show some explanation of the red rectangle?
Thank you.

P.S.
I have tried to make intentional syntax error in another program which is correctly builded and run.
The IDE shows the red rectangle without any error messages. If I perform BUILD (ctrl-F9) operation it doesn't say that operation was successful.
What is a problem?
« Last Edit: June 29, 2012, 05:06:59 am by yerzhik »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: Strange builing
« Reply #1 on: June 29, 2012, 06:15:07 am »
Probably the logwindow is hidden, try "F2" or (via menu) try to toggle "View -> Logs".

You also can play with the settings belonging to "Settings -> View -> Auto show/hide message pane".

Offline yerzhik

  • Single posting newcomer
  • *
  • Posts: 2
Re: Strange builing
« Reply #2 on: June 29, 2012, 06:35:21 am »
Oh, thanks! You are right!