Dear Mission Planner development team,

i have just downloaded both the zipped as well as the 64 bit MSI version of the APM 1.1.79 and now it does not start anymore. I get the following in the console, i assume it got to do with directx.

I am currently trying to update directx on my machine and just posted this in case somebody else has the same issue.

Cheers

Florian

---LOG---

INFO Program - ******************* Logging Configured *******************
INFO Program - Max Threads: 1000
FATAL Program - Fatal app exception
System.TypeInitializationException: The type initializer for 'ArdupilotMega.Main
V2' threw an exception. ---> System.IO.FileNotFoundException: Could not load fil
e or assembly 'Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutra
l, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system canno
t find the file specified.
File name: 'Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35'
   at ArdupilotMega.MainV2..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].

   --- End of inner exception stack trace ---
   at ArdupilotMega.MainV2..ctor()
   at ArdupilotMega.Program.Main() in C:\Users\hog\Documents\Visual Studio 2010\
Projects\ArdupilotMega\ArdupilotMega\Program.cs:line 56
System.TypeInitializationException: The type initializer for 'ArdupilotMega.Main
V2' threw an exception. ---> System.IO.FileNotFoundException: Could not load fil
e or assembly 'Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutra
l, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system canno
t find the file specified.
File name: 'Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35'
   at ArdupilotMega.MainV2..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].

   --- End of inner exception stack trace ---
   at ArdupilotMega.MainV2..ctor()
   at ArdupilotMega.Program.Main() in C:\Users\hog\Documents\Visual Studio 2010\
Projects\ArdupilotMega\ArdupilotMega\Program.cs:line 56

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Installing the file directx_Jun2010_redist.exe downloaded from http://www.microsoft.com/en-us/download/details.aspx?id=8109 fixed the problem.

    It seems APM uses directx10 as of Version 1.1.79.

    Cheers

    Florian

    DirectX Redist (June 2010)
    This download provides the DirectX end-user redistributable that developers can include with their product.
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…