Author Topic: Printing error when compiling  (Read 3224 times)

Offline aizen92

  • Single posting newcomer
  • *
  • Posts: 2
Printing error when compiling
« on: April 26, 2012, 07:52:16 pm »
Hi, I'm new in Code::Blocks, and I noticed something, that when I compile and I get some error, the red box, I dont know the error like what it is, or its reason, I have to go back to the command prompt and compile it myself and figuring it out, is there a way to make Code::Blocks print out the error I'm having, like if there is a certain variable that is not existing, to tell me that.

Thanks

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: Printing error when compiling
« Reply #1 on: April 26, 2012, 08:13:10 pm »
I'm having, like if there is a certain variable that is not existing, to tell me that.
In the logger tabs, inspect the "build messages" and "build log" tab. If you don't see that, hit F2 to toggle its visibility. (Or use the "View" menu...)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline aizen92

  • Single posting newcomer
  • *
  • Posts: 2
Re: Printing error when compiling
« Reply #2 on: April 26, 2012, 08:36:37 pm »
thanks MortenMacFly for ur help