Mission Planner needs HELP

Technical issues/questions of an intermediate or advanced nature.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: 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: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: 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
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
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 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: 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: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: 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: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: 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