Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problems loading gauges compiled with gcc

Featured Replies

Has anyone out there had any luck building gauges using the GNU tools under Cygwin?I've managed to get the samples from the Panel SDK compiled as well as my own dummy gauge (bitmap and mouse tooltips and not much more). They show up just fine in FS Panel Studio, but FS2002 won't load them.I really don't want to spend $100 on Microsoft's compiler when I've got a perfectly good compiler for nothing ;-)

I have never worked with Cygwin to compile gauges, but the mingw32 GCC compiler produces working gauges for FS. http://mingw.org/download.shtmlArne Bartels

Hopefully, you have downloaded sd2gau13.zip (FLIGHTSIM) and are using the updated FS2K2Gauges.h file.I tried using the Cygwin and several others, but with no luck.

Bill Sieffert

Latest update ...After poking around, I actually found an option on the minGW pages describing a cygwin compiler option that seems to work. Added the -mno-cygwin switch on the command line, recompiled and got the gauge to show up in FS2002. My guess is that without the switch (a) the compiler maps some functions to cygwin functions and/or (:( the linker is simply including the cygwin DLL in the link.I'll probably slog along with the cygwin tools for a while, but keep my eye on minGW as an option. If anyone's had success building gauges with either tool chain and would care to share their Makefile or build options it would be a great help.I'll also grab the updated header.Thanks again for your help ...

A makefile for MinGW is in the sd2gau13.zip package, tigether with some extra files. These were made by Daniel Steiner, with some little adjustments by me.Arne Bartels

Thanks ... I just pulled down the sd2gau13 package. I wish I'd found that a couple of weeks back :-roll !! I think that'll keep me going for a while!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.