[Mono-osx] System.Drawing not working on OSX 10.8 (latest Mono)

Zinali ee at zinali.com
Wed Mar 20 04:31:38 UTC 2013


Hi Kenneth,

Your suggestion below does help -- I can now compile and run the
Samples.Monomac examples in the sysdrawing-coregraphics.

I still can't get my application running, it seems the 3rd party component
I'm using depends on something that is not yet in
sysdrawing-coregraphics-mac.  Unfortunately I can't figure out what it is. 
I simply get type load errors.

Thank you for all your help. Unfortunately it seems this isn't going to work
at this time unless there is some way I can figure out what is missing.  I
do feel there may be something to the errors I receive when trying to build
sysdrawing-coregraphics-mac with Mono 3.0.6 but I don't understand enough to
trace them down.

Kind regards,
erik



kjpou1 wrote
> Zinalli
> 
> I have not had a chance to get to Bitmap and it is probably in the 
> OpenGL implementation.
> 
> What I have done is commented those out in the monomac sources:
> 
> cd to monomac and
> 
> 1)  comment out the following in src/OpenGL/INativeWindow.cs
> 
> // Icon Icon { get; set; }
> 
> 2) comment out the following in src/OpenGL/MonoMacGameView.cs
> 
> //             Icon INativeWindow.Icon {
> //                     get { throw new NotSupportedException ();}
> //                     set { throw new NotSupportedException ();}
> //             }
> 
> That should get you up and running for now.  You will need to compile 
> the monomac sources.
> 
> in the src directory of monomac type -> make
> 
> When it finishes reference the the new MonoMac.dll in your project.
> 
> Let me know what happens.
> 
> Kenneth





--
View this message in context: http://mono.1490590.n4.nabble.com/System-Drawing-not-working-on-OSX-10-8-latest-Mono-tp4656801p4659094.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list