User forums > Help
Code::Blocks 16.01 suddenly won't compile or build
fopetesl:
Windows 7 Ultimate 64 bit.
Have been compiling successfully with current set up for over a month.
GCC using C (not C++)
Rechecked settings>compiler>toolchain
Option to show message windows ticked
Only response is Ctrl+F11 (or Build>Rebuild) with warning window but still does not compile.
All other commands to (re)build or compile elicit no obvious response.
No message window.
UPDATE. Problem disappeared and now compiles.
I undid a couple of commented out lines
--- Code: ---// fHaM = 1,fHaC = 0;
// fHaMs = 0,fHaCs = 0;
--- End code ---
to
--- Code: --- fHaM = 1,fHaC = 0;
fHaMs = 0,fHaCs = 0;
--- End code ---
cured the problem but it makes no logical sense ???
BlueHazzard:
always look at the output of the Build log. There is mostly written what went wrong. Also if you have a compiling problem always post the output from this window here...
fopetesl:
OK, first where IS build log?
I've been through all the menu options and looked in help.
Second, I 'm now on a 32 bit Windows 7 Ultimate computer.
Same issue.
Only response is the Rebuild option.
No compiler output to show. Sorry.
BlueHazzard:
open the log windows by pressing F2 or View->Logs
enable the build log tab by pressing right click on one log tab->Toggle->Build Log
this should be enabled by default?
fopetesl:
Thanks, I eventually found it. :)
Must be a senior thing missing it.
Build logs aren't enabled by default in Settings->Compiler but that seems only to refer to html output.
What has happened is that the "Logs & others" window has disappeared from main screen.
I can drag the log file window from F2 and drop it to the bottom of the screen but it won't resize to its original position.
Navigation
[0] Message Index
[#] Next page
Go to full version