[Mono-list] Graph widgets Cairo problem
Jonathan Pobst
monkey at jpobst.com
Mon May 10 18:01:54 EDT 2010
One of your projects/assemblies references the 1.0.5000.0 version of
Mono.Cairo, another references the 2.0.0.0 version of Mono.Cairo.
They need to all reference the same version.
Jonathan
On 5/10/2010 4:58 PM, panoramix wrote:
>
> Hello.
>
> I'm back here again because I have problems with compiling medsphere
> widgets.
> This time the problem is linked to Cairo, MAKE says :
>
> ./IconLayout.cs(414,25): error CS0029: Cannot implicitly convert type
> `Cairo.Context' to `Cairo.Context'
> ./IconLayout.cs(920,41): error CS1502: The best overloaded method match for
> `Gdk.CairoHelper.SetSourceColor(Cairo.Context, Gdk.Color)' has some invalid
> arguments
> /usr/lib/cli/gdk-sharp-2.0/gdk-sharp.dll (Location of the symbol related to
> previous error)
> ./IconLayout.cs(920,41): error CS1503: Argument `#1' cannot convert
> `Cairo.Context' expression to type `Cairo.Context'
> ./IconLayout.cs(920,41): (equally named types possibly from different
> assemblies in previous error)
> /usr/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
> (Location of the symbol related to previous error)
> /usr/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll
> (Location of the symbol related to previous error)
> Compilation failed: 3 error(s), 0 warnings
> make[1]: *** [Medsphere.Widgets.dll] Errore 1
> make[1]: uscita dalla directory
> «/home/franaria/.local/share/Trash/files/Medsphere.2.Widgets-0.2.1/src»
> make: *** [all-recursive] Errore 1
>
>
> Can anyone help me?
>
> Thanks to all
More information about the Mono-list
mailing list