Re: Feedback on gnome-devel-demos/3.22/magic-mirror.vala.page



P.S. I am using archlinux,

$ valac --version
Vala 0.36.4

On 24.08.2017 21:19, Peter Mukhachev wrote:
Hi!

I have been examining the tutorials in order to build a small app. I
copy-pasted the code and tried to compile vala examples from
gnome-devel-demos/3.22/magic-mirror.vala.page and run into the following
error both on simple and extended examples.

$ valac --pkg gtk+-2.0 --pkg gdk-x11-2.0 --pkg gstreamer-0.10 --pkg
gstreamer-interfaces-0.10 mirror.vala
mirror.vala:5.21-5.26: error: `Object' is an ambiguous reference between
`GLib.Object' and `Gtk.Object'
public class Main : Object
                    ^^^^^^
Compilation failed: 1 error(s), 0 warning(s)

Is it a bug or I am doing something wrong?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]