<div>This is my first posting to the list, so hello, and hope I'm not out of line with anything.</div>
<div>I'm in the midst of putting together an OSX/Win application and am new to Mono/Gtk/Cocoa development (although not new to c/++/# or windows development). I'm receiving the following error when trying to run mono TrayTest.exe
from the following source (after downloading both and compiling). <a href="http://www.mono-project.com/GtkSharpNotificationIcon">http://www.mono-project.com/GtkSharpNotificationIcon</a></div>
<div>unhandled exception : system.dllnotfoundexception:gdk-x11-2.0 in <wrapper managed to native> Egg.TrayIcon:gdk_x11_display_get_display<intptr></div>
<div>1) I have mono version 1.1.14 installed.</div>
<div>2) I'm using cygwin, have all -devel packages installed and can see gdk-x11-2.0.pc in /lib/pkgconfig.</div>
<div>3) PKG_CONFIG_PATH is set and looks like this : /usr/X11R6/lib/pkgconfig:/lib/pkgconfig:/bin/Mono-1.1.14/lib/pkgconfig (mono is installed in c:/cygwin/bin)</div>
<div>4) If I run pkg-config --libs gdk-x11-2.0, I get "Package gdk-x11-2.0 was not found in the pkg-config search path."</div>
<div>5) I turned on PKG_CONFIG_DEBUG_SPEW, and I get the following as a dump : "Cannot open directory '/usr/X11R6/lib/pkgconfig:/lib/pkgconfig:/bin/Mono-1.1.14/lib/pkgconfig' in package search path: No such file or directory.
<div>I've scoured the web and read through the blogs of the authors and the only thing I've found is to have the correct libraries installed. I found a few things in gnome to install both the gtk+ devel and glib -devel libraries, but I have (I believe), all the .pc files installed (from the error messages it just looks like pkg-config isn't looking in the right spot).
<div>Or if anyone has another idea as to how to get a notification area up and running on win/osX, I'd be much obliged.</div>
<div>Any help or advice would be greatly appreciated. Thanks! ...Dave</div>