Jump to content
The simFlight Network Forums

Compilign Gauge problem


Recommended Posts

I´m tring to compil this gaugue, but I get many error:

#include "GAUGES.H"

char *temperature_string = "hello world";


/////////////////////////////////////////////////////////////////////////////

MAKE_STRING
(
	temperature_string,
	NULL,
	temperature_fail,
	IMAGE_USE_ERASE | IMAGE_USE_BRIGHT | IMAGE_USE_TRANSPARENCY,
	0,
	28, 9,
	60, 29,
	3,
	TOTAL_AIR_TEMP,
	DISPLAY_UNITS,
	MODULE_VAR_NONE,
	RGB(255,0,0),
	RGB(0,0,0),
	RGB(92,92,92),
	GAUGE_FONT_DEFAULT,
	GAUGE_WEIGHT_DEFAULT,
	GAUGE_CHARSET,
	0,
	DT_CENTER | DT_VCENTER | DT_SINGLELINE,
	NULL,
	temperature_string_cb
)

Errors:

--------------------Configuration: miprimer gauge - Win32 Debug--------------------
Compiling...
gauge.cpp
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(5335) : warning C4200: nonstandard extension used : zero-sized array in struct/union
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2040: 'temperature_string' : 'struct ELEMENT_STRING' differs in levels of indirection from 'char *'
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2065: 'GAUGEHDR_VAR_NAME' : undeclared identifier
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'int *' to 'struct GAUGEHDR *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'struct ELEMENT_HEADER ** ' to 'struct ELEMENT_HEADER *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2065: 'temperature_fail' : undeclared identifier
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'struct FAILURE_RECORD *' to 'struct ELEMENT_HEADER *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'struct ELEMENT_HEADER *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'enum GAUGE_TOKEN' to 'struct FAILURE_RECORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'enum GAUGE_TOKEN' to 'struct FAILURE_RECORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'enum GAUGE_TOKEN' to 'struct FAILURE_RECORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2078: too many initializers
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'unsigned long' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'unsigned long' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'unsigned long' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2065: 'GAUGE_FONT_DEFAULT' : undeclared identifier
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2065: 'GAUGE_WEIGHT_DEFAULT' : undeclared identifier
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2065: 'GAUGE_CHARSET' : undeclared identifier
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2065: 'temperature_string_cb' : undeclared identifier
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\proyectos VB\Proyectos C\miprimer gauge\gauge.cpp(41) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum GAUGE_TOKEN'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
SDK.c
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(267) : error C2011: 'SURFACE_TYPE' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(299) : error C2011: 'SURFACE_CONDITION' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(336) : error C2011: 'TOOLTIP_UNITS_TYPE' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2074) : error C2011: 'VAR64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2080) : error C2011: 'UIF64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2086) : error C2011: 'SVAR64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2161) : error C2011: 'UIF48' : 'union' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2174) : error C2011: 'SIF48' : 'union' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2200) : error C2011: 'SUBSTRING' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2223) : error C2011: 'ANGL48' : 'union' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2258) : error C2011: 'APP_VERSION' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2269) : error C2371: 'LATLON' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2269) : see declaration of 'LATLON'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2269) : error C2371: 'PLATLON' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2269) : see declaration of 'PLATLON'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2269) : error C2371: 'PPLATLON' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2269) : see declaration of 'PPLATLON'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2276) : error C2371: 'LATLON32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2276) : see declaration of 'LATLON32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2276) : error C2371: 'PLATLON32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2276) : see declaration of 'PLATLON32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2276) : error C2371: 'PPLATLON32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2276) : see declaration of 'PPLATLON32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2280) : error C2011: 'LATLONALT' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2291) : error C2371: 'LATLONALT32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2291) : see declaration of 'LATLONALT32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2291) : error C2371: 'PLATLONALT32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2291) : see declaration of 'PLATLONALT32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2291) : error C2371: 'PPLATLONALT32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2291) : see declaration of 'PPLATLONALT32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2294) : error C2011: '_latlonalt_float32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2301) : error C2011: '_llf64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2307) : error C2011: '_llaf64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2315) : error C2011: 'ZXY48' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2326) : error C2011: '_FLOAT64_VECTOR3' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2334) : error C2011: '_FLOAT64_VECTOR2' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2342) : error C2011: 'PBH32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2349) : error C2011: 'PBH16' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2358) : error C2011: 'LATLONBOX' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2367) : error C2011: 'LATLONRECT32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2376) : error C2011: 'LATLONRECTF64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2384) : error C2011: 'LLAPBH' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2391) : error C2011: 'LATLONALTPBH' : 'union' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2411) : error C2011: 'LATLONALTTPO' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2438) : error C2011: 'LLA2416' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2443) : error C2011: 'LLA2424' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2449) : error C2011: 'XYZ16' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2456) : error C2011: 'XYZ32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2463) : error C2011: '_xyz_float32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2472) : error C2011: 'EAN32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2481) : error C2011: 'XZF32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2487) : error C2011: 'XZ32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2495) : error C2011: 'EN32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2502) : error C2011: 'ANGLSINCOS16' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2510) : error C2011: 'XYZPBH' : 'union' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2532) : error C2011: 'XYZTPO' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2563) : error C2011: 'XYZF64_' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2572) : error C2011: 'XYZF64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2593) : error C2011: 'XYF64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2601) : error C2011: 'XYZF32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2621) : error C2011: 'PBHF64' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2629) : error C2011: 'MATRIXF32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2668) : error C2011: 'RGB15' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2676) : error C2011: 'RGB16' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2684) : error C2011: 'RGB24' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2691) : error C2011: 'RGB32' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2699) : error C2011: 'RGBA' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2707) : error C2011: 'RGB' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2714) : error C2011: 'RGBAF' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2722) : error C2011: 'XY' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2728) : error C2011: 'UNIPOINT' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2734) : error C2011: 'UNIBOX' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2742) : error C2011: 'UNIRECT' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2750) : error C2011: 'PIXPOINT' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2758) : error C2011: 'PIXBOX' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2766) : error C2011: 'PIXRECT' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2775) : error C2011: 'BOUNDSRECT' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2791) : error C2371: 'BOUNDSRECT32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2791) : see declaration of 'BOUNDSRECT32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2791) : error C2371: 'PBOUNDSRECT32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2791) : see declaration of 'PBOUNDSRECT32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2791) : error C2371: 'PPBOUNDSRECT32' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2791) : see declaration of 'PPBOUNDSRECT32'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2797) : error C2011: 'LLA_INFO' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2814) : error C2011: 'IMG_FORMAT' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2832) : error C2011: 'IMAGE' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2849) : error C2011: 'VIEW_DIR' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2880) : error C2011: 'BOUNDBOX' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2888) : error C2011: '_engine_fuel_vars' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2898) : error C2011: 'ENG' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2957) : error C2011: 'SENSEBLOCK' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2977) : error C2371: 'LOOKUP_TABLE' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2977) : see declaration of 'LOOKUP_TABLE'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2977) : error C2371: 'PLOOKUP_TABLE' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2977) : see declaration of 'PLOOKUP_TABLE'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2977) : error C2371: 'PPLOOKUP_TABLE' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2977) : see declaration of 'PPLOOKUP_TABLE'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2980) : error C2011: '_xyz_minmax' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2987) : error C2011: '_min_max' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(2994) : error C2011: '_uv' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(3000) : error C2011: '_uv_info' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(3007) : error C2011: 'FUEL_SELECT' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(3032) : error C2011: 'CROSS_FEED_SELECT' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(3042) : error C2011: 'PROP_TYPE' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(3051) : error C2011: 'UNITS_OF_MEASURE' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(3065) : error C2011: 'GAUGE_TOKEN' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4033) : error C2011: 'VAR_TYPE' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4088) : error C2011: 'UNIVERSAL_VAR' : 'union' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4098) : error C2011: 'MODULE_VAR' : 'struct' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4182) : error C2011: 'GENERATE_PHASE' : 'enum' type redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4199) : error C2371: 'PANEL_TYPE_PLAIN' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4199) : see declaration of 'PANEL_TYPE_PLAIN'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4199) : error C2086: 'PANEL_TYPE_PLAIN' : redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4200) : error C2371: 'PANEL_TYPE_HUD' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4200) : see declaration of 'PANEL_TYPE_HUD'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4200) : error C2086: 'PANEL_TYPE_HUD' : redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4201) : error C2371: 'PANEL_TYPE_SPECIAL' : redefinition; different basic types
        c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4201) : see declaration of 'PANEL_TYPE_SPECIAL'
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4201) : error C2086: 'PANEL_TYPE_SPECIAL' : redefinition
c:\proyectos vb\proyectos c\miprimer gauge\gauges.h(4201) : fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.

miprimer gauge.dll - 147 error(s), 1 warning(s)

Does Any one now how to do it right? I ´ve try many ways and non of them work.

What I´m trying to do is to show a piece of text, inside the FS.

Hope someone can help

Regards

Thomas

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.