[Gtk-sharp-list] Newbie - Error in Windows 10 compiling c# with GTK

jb007 james.o.bartlett at gmail.com
Sat Jun 25 09:37:00 UTC 2016

Hi. I'm a newbie to Mono and GTK, so be kind?

The following is a sample of my test code:

*using Gtk;
using System;

class Hello
    static void Main ()
        Application.Init ();

        Window window = new Window ("Hello Mono World");
        window.Show ();

        Application.Run ();
Using OS X the following command line compiles and runs the C# code, with no
*mcs hello.cs -pkg:gtk-sharp-2.0*

I get this error when run on Windows 10:error CS8027:
*Error running pkg-config. Check the above output.*

What am I doing wrong?


View this message in context: http://mono.1490590.n4.nabble.com/Newbie-Error-in-Windows-10-compiling-c-with-GTK-tp4668066.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list