[Mono-osx] System.Drawing not working on OSX 10.8 (latest Mono)
kjpou
kjpou at pt.lu
Tue Mar 5 05:17:07 UTC 2013
Zinali
Here is what I just did in a new directory to make sure everything is fresh.
git clone https://github.com/mono/mono.git
git clone https://github.com/mono/maccore.git
git clone https://github.com/mono/monomac.git
git clone https://github.com/mono/sysdrawing-coregraphics.git
cd monomac
cd src
make
Then open the sysdrawing-coregraphics solution file
In the project sysdrawing-coregraphics-Mac make sure that the references
point to the MonoMac.dll that you just built because it does not run
against what is delivered.
Right click the sysdrawing-coregraphics-Mac project and select Clean and
then Build or Rebuild
Try that and let me know if it compiles.
Again no need to compile mono as we are just using the sources.
On 3/5/13 5:34 AM, Zinali wrote:
> Hello Kenneth,
>
> Thank you for your reply, I was still unable to build anything. I tried
> running the samples but receive the same build errors for those.
>
> I wonder if this is related to the circular dependency for monomac.dll that
> is mentioned in the systemdrawing-coregraphics Makefile.
>
> Many thanks
>
>
> kjpou1 wrote
>> Zinali
>>
>> You need to reference both of the assemblies in your solution -
>>
>> sysdrawing-coregraphics-Mac and sysdrawing-Mac
>>
>> It is a little confusing about that but if you open up the solution file
>> of the
>>
>> sysdrawing-coregraphics-master
>>
>> You will see how the references are made in the Samples.
>>
>> Again mono does not need to be built because it is not used so not to
>> worry about that. It is only referencing the source files from the mono
>> directory and the rest is is built using MonoMac.
>>
>> I have not tried the Makefile yet so do not know anything about that part.
>>
>> If that still does not work let me know and I will try to recreate it
>> with a fresh repo clone.
>>
>> Kenneth
>
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/System-Drawing-not-working-on-OSX-10-8-latest-Mono-tp4656801p4658815.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
More information about the Mono-osx
mailing list