Re: [Vala] strange errors while I compile my project
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Arkadi Viner <arkashkin gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] strange errors while I compile my project
- Date: Thu, 8 Oct 2009 19:04:30 +0100
Hi
2009/10/8 Arkadi Viner <arkashkin gmail com>:
Hello every body,
I have some strange errors while I compiling my project and I really don't
understand why I get them.
The funny thing is that It was compiling perfectly then I only add some
comments here and there and now I can't compile it again....
[...]
/home/arkadi/Projects/Repositor.bak/main.vala.c:5:41: error:
gtksourceview/gtksourceview.h: No such file or directory
[...]
Here is the problem.
I can see from the errors that it doesn't recognise SourceView and
SourceBuffer objects, but how is that possible?
As a good habit, try to look at the first lines in the error message
since if there is a missing include files, later errors won't make
sense.
I use ValaIDE to edit my project and in Project->Options->Packages There
is definitely gtksourceview-2.0 package included so the compiler knows that
it should link this library to my project... (full list: gio-2.0 gmodule-2.0
gtk+-2.0 gtksourceview-2.0 libxml-2.0, all this are included!)
Maybe some one could help me with this? Any ideas are welcome.... Thanks.
Are you sure you have the -dev package for gtksourceview? try to make
sure the above header is actually installed (should be in
/usr/include/gtksourceview-2.0/). (Obviously, if you've already
compiled something that uses sourceview, this is not the problem)
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]