Hi,
i Installed the latest Mono for MAC (OS X 10.8.4) from here:
http://www.go-mono.com/mono-downloads/download.html
and installed it on my mac
Then i copied the latest installation of the MissionPlanner from my PC-Laptop to My Mac
to the users "Applications" Folder, and tryed to run the exe from console:
macbookpro:APM_PLANNER macuser$ mono ArdupilotMegaPlanner10.exe
Thats what i earned:
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
at System.Drawing.FontFamily..ctor (GenericFontFamilies genericFamily) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:.ctor (System.Drawing.Text.GenericFontFamilies)
at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <filename unknown>:0
at System.Drawing.Font.CreateFont (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) [0x00000] in <filename unknown>:0
at System.Drawing.Font..ctor (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) [0x00000] in <filename unknown>:0
at System.Drawing.Font..ctor (System.String familyName, Single emSize, System.String systemName) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (string,single,string)
at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Theme..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
at ArdupilotMega.Splash..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) ArdupilotMega.Splash:.ctor ()
at ArdupilotMega.Program.Main () [0x00000] in <filename unknown>:0
Any ideas to get it run?
Replies
Installing XQuartz gets you a bit further and solves the font problem, but MP under Mono on OS X is painfully slow. I found it's better to run Windows 7 under VirtualBox and run MP there. You need a copy of Windows though.
Make sure you reset your file permissions after a copy