Page 1 of 1
Error pop up messages?
Posted: Mon Mar 08, 2010 7:19 pm
by HJarausch
Hi,
I have CodeLite 3833 installed on two different machines (both Linux).
On one machine I get a "pop up" window showing a compile error directly after the source line
where the error has been detected.
On the other machine this doesn't work.
What could be wrong with that other installation ( a flag? )
Many thanks for a hint,
Helmut.
Re: Error pop up messages?
Posted: Mon Mar 08, 2010 9:39 pm
by eranif
'settings -> build settings -> build output appearance'
and make sure that the 'Compiler errors / warnings shown in text annotations' (if you want it enabled)
Eran
Re: Error pop up messages?
Posted: Mon Mar 08, 2010 11:14 pm
by HJarausch
Thanks,
as far as I remember (I'm sitting at a different machine now), it is enabled.
Might it be that it's connected to the wxWidget version.
On that machine, where it doesn't work, they still have wxWidgets-2.8.7 installed (Kubuntu/Hardy).
Thanks, Helmut.
Re: Error pop up messages?
Posted: Tue Mar 09, 2010 8:46 am
by eranif
HJarausch wrote:Might it be that it's connected to the wxWidget version.
No, its an option in codelite and not related to the current wxWidgets version used
Eran
Re: Error pop up messages?
Posted: Tue Mar 09, 2010 11:57 am
by HJarausch
Hi Eran,
I did what you told me but still these annotations don't show up.
Is there anything else I could check?
Thanks,
Helmut.
Re: Error pop up messages?
Posted: Tue Mar 09, 2010 12:44 pm
by eranif
Which version of codelite are you using on the old 'Ubuntu' ?
Can u post a screen shot of sample error? that you see atm?
Eran
Re: Error pop up messages?
Posted: Tue Mar 09, 2010 2:58 pm
by HJarausch
I don't see any error, but I don't see the annotation box with the error message either.
The version is 2.0.3 3833 .
Re: Error pop up messages?
Posted: Tue Mar 09, 2010 3:50 pm
by eranif
This is why it does not work: codelite is scanning for regexes which are meant for the 'English' language.
Since your locale is obviously not english, the error detection fails.
To fix this:
settings -> build settings -> compilers, select the 'gnu g++' compiler, and under it select the sub-node that says: 'Patterns' and in each entry in the list control, replace 'error' with 'Fehler' and 'warning' with <warning-in-your-language>
Click OK, build the project and it should be OK
Eran
Re: Error pop up messages?
Posted: Tue Mar 09, 2010 7:32 pm
by HJarausch
Many thanks! That solved the problem.
My students are enthusiastic about CodeLite.
Helmut.