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

On 3/19/13 3:44 AM, Zinali wrote:
Hi Kenneth,

I believe the relevant error is:

Could not load type 'System.Drawing.Bitmap' from assembly 'System.Drawing,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Sometimes I see only:

A type load exception has occurred

Many thanks
erik


kjpou1 wrote
Zinali

Can you post the error that you are getting?

I think I may know what it is but need to get the error you are having.

Kenneth

On 3/17/13 2:24 PM, Zinali wrote:
Hello Kenneth,

Thanks for these instructions, I did as described and initially it still
did
not work. I did a clean install and it still did not work...  What
finally
allowed me to compile was to switch to mono 2.10.11.  Switching to mono
3.0.6 results in the previously described errors regarding things like
System.Drawing.PointF and System.Drawing.Rectangle not being defined.

So I have sysdrawing-coregraphics-mac built under 2.10.11 but my
application
is still not running with it, it does run with the default System.Drawing
so
I'm in the process of figuring out what might is different or missing.
Unfortunately I'm using a closed source .NET component that is calling
System.Drawing so it is not straightforward to figure out what is
happening.

Many thanks






--
View this message in context: 
http://mono.1490590.n4.nabble.com/System-Drawing-not-working-on-OSX-10-8-latest-Mono-tp4656801p4659067.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
_______________________________________________
Mono-osx mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-osx


_______________________________________________
Mono-osx mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-osx

Reply via email to