[Mono-dev] gtkSharpNotification and PKG_CONFIG_PATH help

Dave Ludwigsen palamangelus at gmail.com
Tue Apr 18 16:23:26 EDT 2006

This is my first posting to the list, so hello, and hope I'm not out of line
with anything.

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). http://www.mono-project.com/GtkSharpNotificationIcon

unhandled exception : system.dllnotfoundexception:gdk-x11-2.0 in <wrapper
managed to native> Egg.TrayIcon:gdk_x11_display_get_display<intptr>

1) I have mono version 1.1.14 installed.
2) I'm using cygwin, have all -devel packages installed and can see
gdk-x11-2.0.pc in /lib/pkgconfig.
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)
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."
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.

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).

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.

Any help or advice would be greatly appreciated. Thanks! ...Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060418/8d430512/attachment.html 

More information about the Mono-devel-list mailing list