Hello, Likely the tool pkg-config is not in your path, that is usually part of the Mono installation.
But do not worry, pkg-config is not technically necessary, it is just a convenience. You can instead reference the gtk-sharp library directly. Say the library is in c:\mono\lib\mono\gtk-sharp-2.0, you can do: mcs hello.cs –r:c:\mono\lib\mono\gtk-sharp-2.0\gtk-sharp.dll Miguel On 6/25/16, 5:37 AM, "gtk-sharp-list-boun...@lists.ximian.com on behalf of jb007" <gtk-sharp-list-boun...@lists.ximian.com on behalf of james.o.bartl...@gmail.com> wrote: 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 problems: *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? Jim -- View this message in context: https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fmono.1490590.n4.nabble.com%2fNewbie-Error-in-Windows-10-compiling-c-with-GTK-tp4668066.html&data=01%7c01%7cmiguel%40microsoft.com%7cf57171204c3849dcc35008d39ce1f076%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=HSc5yFdcwlfa0vikzGPtl5R%2blcG9fKOAKilqndBzfnE%3d Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2flists.ximian.com%2fmailman%2flistinfo%2fgtk-sharp-list&data=01%7c01%7cmiguel%40microsoft.com%7cf57171204c3849dcc35008d39ce1f076%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=bL1QfUbFDrVeyEgyFzPPMQCstEBH%2bon%2fSjeClVukZUE%3d _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list