[Mono-list] GTK-Sharp: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context'

cornholio mail at hofmeister-christian.de
Mon Jul 13 14:54:52 EDT 2009


hi,

i couldn't compile mono (mono-develop) from svn since last week:

./DemoColorSelection.cs(45,30): warning CS0612:
`Gtk.Box.PackStart(Gtk.Widget)' is obsolete
./DemoImages.cs(173,42): warning CS0618: `Gtk.Image.FromPixbuf' is obsolete:
`Use the Pixbuf property instead'
./DemoPrinting.cs(79,39): error CS0029: Cannot implicitly convert type
`Cairo.Context' to `Cairo.Context'
./DemoPrinting.cs(104,43): error CS1502: The best overloaded method match
for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some
invalid arguments
/home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of
the symbol related to previous error)
./DemoPrinting.cs(104,43): error CS1503: Argument `#1' cannot convert
`Cairo.Context' expression to type `Cairo.Context'
./DemoPrinting.cs(104,43): (equally named types possibly from different
assemblies in previous error)
/usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll
(Location of the symbol related to previous error)
/usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
(Location of the symbol related to previous error)
./DemoPrinting.cs(111,43): error CS1502: The best overloaded method match
for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some
invalid arguments
/home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of
the symbol related to previous error)
./DemoPrinting.cs(111,43): error CS1503: Argument `#1' cannot convert
`Cairo.Context' expression to type `Cairo.Context'
./DemoPrinting.cs(111,43): (equally named types possibly from different
assemblies in previous error)
/usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll
(Location of the symbol related to previous error)
/usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
(Location of the symbol related to previous error)
./DemoPrinting.cs(125,51): error CS1502: The best overloaded method match
for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some
invalid arguments
/home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of
the symbol related to previous error)
./DemoPrinting.cs(125,51): error CS1503: Argument `#1' cannot convert
`Cairo.Context' expression to type `Cairo.Context'
./DemoPrinting.cs(125,51): (equally named types possibly from different
assemblies in previous error)
/usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll
(Location of the symbol related to previous error)
/usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
(Location of the symbol related to previous error)
Compilation failed: 7 error(s), 2 warnings
make[3]: *** [GtkDemo.exe] Error 1
make[3]: Leaving directory
`/home/cho/tmp/mono_svn/source/gtk_sharp/sample/GtkDemo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cho/tmp/mono_svn/source/gtk_sharp/sample'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cho/tmp/mono_svn/source/gtk_sharp'
make: *** [all] Error 2
[FATAL].....: failed to make GTK-Sharp!


can you please help me to get mono compiled again?

thx

christian
-- 
View this message in context: http://www.nabble.com/GTK-Sharp%3A-Cannot-implicitly-convert-type-%60Cairo.Context%27-to-%60Cairo.Context%27-tp24467303p24467303.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list