[Gtk-sharp-list] Building GTK Sharp for .Net

tlhemphill Tara.Hemphill at l-3com.com
Tue May 20 20:29:29 UTC 2014

Matthew Trumbell wrote
> I'm using this as a guide: http://www.mono-project.com/Compiling_GtkSharp
> I'm trying to compile the master branch from the git repository on GitHub.
> autogen seems to work alright, but I'm failing on configure with the
> following:
>     configure: error: Package requirements (mono-2 glib-2.0) were not met:
>     No package 'mono-2' found
> I've checked pkg-config (it's using the one from gtk+) and I followed the
> rest of the setup.
> So I'm starting to wonder how up to date these instructions are or if I'm
> applying the wrong set of procedures to master. Which brings up a host of
> questions:
> - Why is it demanding mono if I'm trying to build for .Net? Is it an
> incidental dependency or does it signal that my environment is setup
> improperly?
> - What version of GTK+ is master targeting? (I assumed the latest 3.x
> release given comments on the GTK# project page)
> - What version of GCC/Visual Studio is this expecting? Project files seem
> to be targeting VS2008 and gcc was failing due to a bad option
> (-mno-cygwin) until I changed configure.ac.
> - How are the official builds of GTK# for .Net generated? They target gtk+
> 2.10 IIRC.
> If there are better guides, or a more appropriate branch for doing what
> I'm
> trying to do, I'd love to hear about them. 

I have followed the same steps and am having the same issues. After removing
'mno-cygwin' option from configure.ac and running autogen.sh, I receive the

configure: error: Package requirements (mono-2 glib-2.0) were not met:
    No package 'mono-2' found

Does anyone have an idea or update for building GTK#-2.99.2 on Windows?

View this message in context: http://mono.1490590.n4.nabble.com/Building-GTK-Sharp-for-Net-tp4661538p4662890.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list