User forums > Using Code::Blocks
Compiling results in "...built it now?" - but no outputfile is generated...
stahta01:
The error appears to be in trunk.
I added a regular expression and it now reports an error in Build Messages.
Edit: I got the regular expression by trial and error; it might not be a good one.
--- Code: ---Description:
Linker error (collect2: error: ld returned)
Regular Expression:
(collect2.*):.(ld returned.*)(exit status.*)
1
2
3
0
0
--- End code ---
The string I got on my error.
--- Code: ---collect2: error: ld returned 1 exit status
--- End code ---
A second regular expression that works for me; this one might be better than the prior one.
--- Code: ---(collect2).*:.(error).*:.(ld returned.*)
--- End code ---
ouch:
I noticed when right click building with the trunk of codeblocks on win 7, the popup box that shows up at the end of completion always displays an error code of 0 even if an error occurred.
stahta01:
--- Quote from: ouch on March 25, 2013, 11:18:29 am ---I noticed when right click building with the trunk of codeblocks on win 7, the popup box that shows up at the end of completion always displays an error code of 0 even if an error occurred.
--- End quote ---
What pop-up box are you talking about?
Tim S.
Navigation
[0] Message Index
[*] Previous page
Go to full version