Re: [Vala] FreeBSD - vala/GTK3 - Seat & FileChooserNative types not found
- From: Al Thomas <astavale yahoo co uk>
- To: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] FreeBSD - vala/GTK3 - Seat & FileChooserNative types not found
- Date: Fri, 22 Dec 2017 16:54:38 +0000 (UTC)
On Friday, 22 December 2017, 16:17:53 GMT, philip is hungry via vala-list <vala-list gnome org> wrote:
I am trying to compile a vala program on FreeBSD
From the file paths it looks like you are trying to compile Dino on FreeBSD:
https://github.com/dino/dino
Running "make" I encounter the following errors:
/home/philip/Downloads/dino-master/main/src/ui/conversation_summary/message_textview.vala:68.14-68.22:
error: The type name `Seat' could not be found
List<weak Seat> seats = window.get_display().list_seats();
^^^^^^^^^
These errors are from the Vala compiler, rather than the C compiler. Although it is a good idea to check your
installed libraries and C headers, as you have done, you should focus on the Vala side first. The Vala
compiler is saying it can't find Seat.
One possibility is the Gdk namespace has not been brought in to scope with the 'using' keyword. The source
from Dino:
https://github.com/dino/dino/blob/master/main/src/ui/conversation_summary/message_textview.vala
shows that it is in scope. So unless you've modified the source that shouldn't be the reason.
Gdk.Seat is defined in gdk-3.0.vapi. You should check that the VAPI is in the appropriate search path and
that Seat is defined. From https://developer.gnome.org/gdk3/stable/GdkSeat.html it looks like GdkSeat was
added since Gdk 3.20. GNOME 3.20 and libraries were release March 2016. That would tie in with a minimum Vala
version of 0.32.0 - released 21 March 2016.
I hope that gets you further along the way,
Al
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]