Hi Guys,
I'm new to gauge programming and haven't done any C/C++ work in years so I'm a bit rusty.
I've created a simple test gauge using the examples shown in Dai Griffiths document (sd2gau24) as a template and updated gauges.h using the file supplied, however when I try to compile it, I get hundreds of errors regarding gauges.h, the first of which is:
syntax error before IGaugeCDrawableCreateParameters
I'm using DevC++ as my development tool.
I thought that it might be a config error with DevC++ so I downloaded and installed Visual C++ 2008 Express, but still get the same error.
I've also rolled back the gauges.h to the original MS Version
but still get the same error.
The two source files are available here http://web.goldsmith.ie/airbus.c
http://web.goldsmith.ie/electrical.c
I've probably forgotten something, but I cannot for the life of me see what.
Any help would be much appreciated.
Cheers
Trevor
I'm new to gauge programming and haven't done any C/C++ work in years so I'm a bit rusty.
I've created a simple test gauge using the examples shown in Dai Griffiths document (sd2gau24) as a template and updated gauges.h using the file supplied, however when I try to compile it, I get hundreds of errors regarding gauges.h, the first of which is:
syntax error before IGaugeCDrawableCreateParameters
I'm using DevC++ as my development tool.
I thought that it might be a config error with DevC++ so I downloaded and installed Visual C++ 2008 Express, but still get the same error.
I've also rolled back the gauges.h to the original MS Version
but still get the same error.
The two source files are available here http://web.goldsmith.ie/airbus.c
http://web.goldsmith.ie/electrical.c
I've probably forgotten something, but I cannot for the life of me see what.
Any help would be much appreciated.
Cheers
Trevor