Page 1 of 1

Mission Planner needs HELP

Posted: 17 Nov 2016, 15:59
by Jack
I want to use Mission Planner at first it needed mono so I use USM and I downloaded mono. After I ran sh MissionPlanner.sh this is the error I got. What is it looking for?

Code: Select all

guest@porteus:~/Downloads$ sh MissionPlanner.sh
: No such file or directory#!/bin/sh
If your error is about Microsoft.DirectX.DirectInput, please install the latest directx redist from here http://www.microsoft.com/en-us/download/details.aspx?id=35 


Debug under mono    MONO_LOG_LEVEL=debug mono MissionPlanner.exe

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000cc] in <360d2c78ba5a464c84ab987e916718c3>:0 
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
  at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <360d2c78ba5a464c84ab987e916718c3>:0 
  at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x0007e] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <5d999439b3404adfac86e7eebb5f00d6>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at MissionPlanner.Program.Main (System.String[] args) [0x00027] in <3b44bc0315dd49dbb9d66ed44432496f>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000cc] in <360d2c78ba5a464c84ab987e916718c3>:0 
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
  at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <360d2c78ba5a464c84ab987e916718c3>:0 
  at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x0007e] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <5d999439b3404adfac86e7eebb5f00d6>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <5d999439b3404adfac86e7eebb5f00d6>:0 
  at MissionPlanner.Program.Main (System.String[] args) [0x00027] in <3b44bc0315dd49dbb9d66ed44432496f>:0 
guest@porteus:~/Downloads$
Can anyone try and help me out.

Re: Mission Planner needs HELP

Posted: 17 Nov 2016, 17:21
by Jack
It now works, it needed libgdiplus-4.2-x86_64-1_slonly.txz and when the I get the Flight Controller I will test it. It is on order.

Re: Mission Planner needs HELP

Posted: 17 Nov 2016, 17:28
by Blaze
Hi, Jack.
At work, for our program budgetmono.xzm I used these libs https://cloud.mail.ru/public/E2Uq/L8tYpCWLK

Re: Mission Planner needs HELP

Posted: 17 Nov 2016, 17:44
by Jack
@Blaze, Thanks and I just downloaded it.

Re: Mission Planner needs HELP

Posted: 17 Nov 2016, 18:00
by Jack
Here is a error I received.
Image
Not sure how to fixed it.

Re: Mission Planner needs HELP

Posted: 18 Nov 2016, 01:28
by Jack
Here is what it looks like.
Image

I had to run it as root the first time to create a directory. Thanks brokenman for fixing my problem.