[Gtk-sharp-list] Getting started on Mac

Chuck Esterbrook chuck.esterbrook at gmail.com
Wed Mar 5 22:21:54 EST 2008


Hi,

I'm on Mac OS X 10.4 where I'm trying to get a basic GTK# program
going. I'm working off of
http://www.mono-project.com/GtkSharpBeginnersGuide

Here I go:
$  mcs -pkg:gtk-sharp-2.0 hello.cs
Package gtk-sharp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp-2.0' found
error CS8027: Error running pkg-config. Check the above output.

The beginner's guide directs me to "Downloads" at:
http://www.go-mono.com/mono-downloads/download.html

There I'm told that the Mono package "Includes Mono, Cocoa#, Gtk#,
MonoDevelop installs in /Library/Frameworks:"

But I have Mono 1.2.6 already! And I can't find anything else on the
Downloads page except "Cocoa# 0.9.4 source".

$  mono --version
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notification:  Thread + polling
        Architecture:  x86
        Disabled:      none

I tried "gacutil /l | grep -i gtk" and got nothing. I tried "gacutil
/l | sort" and read through the list but nothing caught my eye except
competing frameworks like cocoa-sharp and System.Windows.Forms.  ;-)

I also tried Spotlight for "gtk-sharp". Nothing.

So I definitely don't have it. I also don't know where/how to get it.

*** Is anyone using GTK# on the Mac? If so, what version of Mac, Mono
and GTK#? How/where did you get it?

Thanks,
-Chuck


More information about the Gtk-sharp-list mailing list