August 3, 200916 yr Hi All,Looking for some technical help on a struggle that has lasted a few months. I am using MS C++ compilers (early to current) and make lots of simple gauges.Currently, those gauges compile fine when include fs2004_gauges.h by Arne Bartels/Dai Griffiths but when I use the fsxgauges.h(by Arne/Dai, unmodified) for the exact same gauge (everything else identical in my project files and settings) it will not compile.I get no errors or warnings with fs2004_gauges.h but I get the following errors and failed build:1>------ Build started: Project: F28sw, Configuration: Release Win32 ------1>Compiling...1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release1>F28sw.c1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(4996) : error C2061: syntax error : identifier 'IGaugeCDrawableCreateParameters'1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(4996) : error C2059: syntax error : ';'1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(4997) : error C2449: found '{' at file scope (missing function header?)1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(5012) : error C2059: syntax error : '}'1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(5026) : error C2061: syntax error : identifier 'IGaugeCDrawable'1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(5026) : error C2059: syntax error : ';'1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(5027) : error C2449: found '{' at file scope (missing function header?)1>d:\fs_design\fsx_sdk\panels_sdk\test\inc\fsxgauges.h(5048) : error C2059: syntax error : '}'and so on until compiler stops...Anyone have any ideas to get past this? I am hoping to use some of the FSX functions so I would like the compiler to work equally well with fsxgauges.h as it does with fs2004_gauges.h now.thanks,StevePS: Using MS Visual C++ Express but have tried using most earlier versions, including full versions of MS VC++ with exact same results. Steve W from Great White North i5-2500k, dual EVGA 470GTXs.
August 3, 200916 yr Moderator Don't keep trying that version. D/L and install the Dai Griffiths' latest sd2gau28.zip tutorial and use the fsxgauges_sp2.h file included. Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
August 3, 200916 yr Author Don't keep trying that version. D/L and install the Dai Griffiths' latest sd2gau28.zip tutorial and use the fsxgauges_sp2.h file included.He's (Dai) is up to version 28 now? I didn't realize that. Okay, I'll give that a try.thanks,Steve Steve W from Great White North i5-2500k, dual EVGA 470GTXs.
Create an account or sign in to comment