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

Matthew Trumbell matthew at thirdstonepartners.com
Fri Dec 13 20:11:14 UTC 2013


I'm trying to make my own build of GTK Sharp for .Net. Initially, I'd just
like to get everything compiling. Eventually, I'm trying to get a 64 bit
build.

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. Thanks!

Matthew Trumbell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20131213/23ee2d93/attachment.html>


More information about the Gtk-sharp-list mailing list