(linking back to the list)
Thanks for that...I went in and manually added the paths to PKG_CONFIG_PATH:
PKG_CONFIG_PATH=/usr/local/Cellar/gtk+3/3.4.4/lib/pkgconfig:/usr/local/Cellar/cairo/1.12.6/lib/pkgconfig:/usr/local/Cellar/pixman/0.28.0/lib/pkgconfig:/usr/local/Cellar/fontconfig/2.10.1/lib/pk
On Wed, 2012-11-14 at 14:31 -0800, Rich Rodecker wrote:
> Yes it is Mac OS X, 10.7.4. I do have gtk+ and gtk+3 installed, via
> homebrew. I can actually see the gtk.h file
> at /usr/local/Cellar/gtk+3/3.4.4/include/gtk-3.0/gtk/gtk.h.
valac uses pkg-config to find out which compiler/linker flags
Yes it is Mac OS X, 10.7.4. I do have gtk+ and gtk+3 installed, via
homebrew. I can actually see the gtk.h file
at /usr/local/Cellar/gtk+3/3.4.4/include/gtk-3.0/gtk/gtk.h.
On Wed, Nov 14, 2012 at 2:25 PM, David Gomes wrote:
> You don't seem to have Gtk installed? Also, is it on Mac OS X?
>
>
You don't seem to have Gtk installed? Also, is it on Mac OS X?
On Wed, Nov 14, 2012 at 10:23 PM, Rich Rodecker wrote:
> I'm new to Vala, and trying to run the "Vala GStreamer Video Example"
> (found here: https://live.gnome.org/Vala/GStreamerSample) on a mac. When
> I attempt to compile the p
I'm new to Vala, and trying to run the "Vala GStreamer Video Example"
(found here: https://live.gnome.org/Vala/GStreamerSample) on a mac. When
I attempt to compile the program using the command:
(Note that I am using Vala 0.17.5, installed via Homebrew):
valac --pkg gtk+-3.0 --pkg gdk-x11-3.0 -
OK, I've got it, thanks to Valadoc.org.
"Gtk.Widget.modify_text ()" is deprecated under GTK+3. One should use
"Gtk.Widget.override_color ()" instead.
The trap is that no warning messages are displayed when using it.
Here is the corrected sample part :
var red = Gdk.RGBA ();
red.parse ("#ff0