scott-vincent / instrument-data-link

An instrument data link for Microsoft Flight Simulator 2020
31 stars 14 forks source link

Error code 000007B when running on Windows 10 #8

Open thuibregtse opened 3 years ago

thuibregtse commented 3 years ago

Hi, Scott....thanks so much for developing this and supporting the Pi 4 for display! It's exactly what I was looking for.

I'm running FS2020 on a Windows 10 non-developer box. I've installed the vc_redist.64 package (per your previous answers), and have tried various compatibility modes and Run as Administrator. The program always pops up as Error code 0x000007b when starting the program.

Is there anything I can do to help debug this?

Thanks!

scott-vincent commented 3 years ago

All I can suggest is download Microsoft Visual Studio Community edition which is free. Download the source code zip from this Github (Click Releases in right pane, then find the src zip file. Unzip to any folder and double click the .sln file which will load the source into Visual Studio. Then from the Visual Studio menus choose Build -> Build All. Hopefully, this will tell you exactly what the error is. Once you've resolved the error, just go back to using the binary version you already downloaded, Hope this helps.

thuibregtse commented 3 years ago

I enabled Developer mode in FS2020 and loaded the libs from the new mini-menu on top. The data link app now stays up and running. When I connect start instrument panel on Pi 4, it pops up for a few tantalizing seconds and then exits. Maybe an instrument/data link version issue? or something deeper in Allegro....

pi@raspberrypi:~/Desktop/flight $ ./run.sh Add knob: 27, 22 DataLink: Requested 1064 bytes but server has 1144 bytes

Add knob: 10, 9 Add knob: 11, 5 Add knob: 13, 6 Add knob: 19, 26 Add knob: 14, 15 Add knob: 18, 23 Add knob: 24, 25 Add switch: 2 Add switch: 3 Add switch: 4 Add switch: 17 Add knob: 8, 7 Add switch: 12 Add knob: 20, 21 Add switch: 16 Exiting instrument-panel: /build/allegro5-ldd4ML/allegro5-5.2.4.0/src/pixels.c:461: _al_pixel_format_is_compressed: Assertion `format < ALLEGRO_NUM_PIXEL_FORMATS' failed. ./run.sh: line 2: 1024 Aborted ./instrument-panel

scott-vincent commented 3 years ago

This message "DataLink: Requested 1064 bytes but server has 1144 bytes" means that the source is slightly ahead of the latest release version so you are getting a mismatch between the Pi software and the windows software. I will do a new release today and then you should be good to go.