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

Alan McGovern alan.mcgovern at gmail.com
Tue Jul 14 06:20:07 EDT 2009


If it was all working before, I'm unsure why it would just stop working
after updating from SVN. The best I can offer is that you should check to
see if you changed anything on your system or installed new packages which
might result in this conflict.

Finally, you should follow the guide on setting up a completely clean prefix
so you don't get conflicts like this. It might help.

Alan.

On Mon, Jul 13, 2009 at 8:46 PM, cornholio <mail at hofmeister-christian.de>wrote:

>
> Hi Alan,
>
> thank you for your response.
>
> no, i didn't follow the guideline, but i removed my old mono installation a
> few weeks ago (via ubuntu apt-get remove), so i thought i have a clean svn
> installation of mono-svn. it works fine for many days and i did rebuilt the
> sources every day (on 2 systems both are broken now, it's a fault of my
> build-script for sure)
>
> i am downloading the sources from: anonsvn.mono-project.com and i wrote a
> script for checking out /update svn repository and running autogen.sh or
> configure.sh scripts (prefix=/usr/local/).
>
> can you help me how to get rid of the old installation?
>
> thank you
>
>
> Alan McGovern-2 wrote:
> >
> > Hey,
> >
> >
> /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
> >
> > You appear to be loading both the 1.0 and 2.0 Mono.Cairo assemblies at
> the
> > same time, this shouldn't happen and is what is causing the issues. My
> > guess
> > is that you have a broken mono install, as I've been happily compiling
> > monodevelop on a daily basis for the last few months.
> >
> > What commands/arguments did you use to compile mono, gtk and/or
> > monodevelop.
> > Where did you get the source to compile whatever it is you're compiling,
> > what versions of those things are you compiling. Did you follow the
> > guidelines here on how to install a parallel mono without breaking your
> > system: http://www.mono-project.com/Parallel_Mono_Environments.
> >
> > Alan.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/GTK-Sharp%3A-Cannot-implicitly-convert-type-%60Cairo.Context%27-to-%60Cairo.Context%27-tp24467303p24468067.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090714/d2f0ef37/attachment.html 


More information about the Mono-list mailing list