Error pop up messages?

CodeLite installation/troubleshooting forum
HJarausch
CodeLite Veteran
Posts: 98
Joined: Thu Feb 18, 2010 10:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Error pop up messages?

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post 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
Make sure you have read the HOW TO POST thread
HJarausch
CodeLite Veteran
Posts: 98
Joined: Thu Feb 18, 2010 10:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post 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
Make sure you have read the HOW TO POST thread
HJarausch
CodeLite Veteran
Posts: 98
Joined: Thu Feb 18, 2010 10:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post 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
Make sure you have read the HOW TO POST thread
HJarausch
CodeLite Veteran
Posts: 98
Joined: Thu Feb 18, 2010 10:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post 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 .
Image
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post 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
Make sure you have read the HOW TO POST thread
HJarausch
CodeLite Veteran
Posts: 98
Joined: Thu Feb 18, 2010 10:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error pop up messages?

Post by HJarausch »

Many thanks! That solved the problem.
My students are enthusiastic about CodeLite.

Helmut.
Post Reply