Dave Murphy wrote:

I'm compiling gtkmozembed-sharp from svn, and get the following error:

/usr/local/bin/mcs      -L ..//gtkmozembed \
-r gecko-sharp.dll \
-pkg:gtk-sharp-2.0 ./WebThumbnailer.cs \
-o WebThumbnailer.exe
./WebThumbnailer.cs(12) error CS0246: The namespace `Gtk' can not be found 
(missing assembly reference?)
   Try using -pkg:gtk-sharp
Compilation failed: 1 error(s), 0 warnings

mono, mcs, gtk-sharp (1.0 and 2.0) have all compiled successfully, with
--prefix=/usr/local. Any ideas where I should start looking?

Cheers,


If you installed them to /usr/local make sure /usr/local/lib/pkgconfig is part of PKG_CONFIG_PATH
so that
pkg-config --modversion gtk-sharp-2.0
returns something useful
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to