Mission Planner needs HELP

Technical issues/questions of an intermediate or advanced nature.
Post Reply
Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Mission Planner needs HELP

Post#1 by Jack » 17 Nov 2016, 15:59

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Mission Planner needs HELP

Post#2 by Jack » 17 Nov 2016, 17:21

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Blaze
Moderator
Moderator
Posts: 1330
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Mission Planner needs HELP

Post#3 by Blaze » 17 Nov 2016, 17:28

Hi, Jack.
At work, for our program budgetmono.xzm I used these libs https://cloud.mail.ru/public/E2Uq/L8tYpCWLK
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Mission Planner needs HELP

Post#4 by Jack » 17 Nov 2016, 17:44

@Blaze, Thanks and I just downloaded it.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Mission Planner needs HELP

Post#5 by Jack » 17 Nov 2016, 18:00

Here is a error I received.
Image
Not sure how to fixed it.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Mission Planner needs HELP

Post#6 by Jack » 18 Nov 2016, 01:28

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Post Reply