Hi there,
So I've been going through the sd2gau29 tutorials and have had no problems with compiling them, and getting them to work in FSX, however I thought that I would try the GDI+ example at MSDN http://code.msdn.microsoft.com/ESPDrawingGaugesGDI, however when I try to build it, I get the following errors.
What am I doing wrong?
So I've been going through the sd2gau29 tutorials and have had no problems with compiling them, and getting them to work in FSX, however I thought that I would try the GDI+ example at MSDN http://code.msdn.microsoft.com/ESPDrawingGaugesGDI, however when I try to build it, I get the following errors.
Code:
Error 1 error LNK2005: _get_listelement_pointer@8 already defined in CSimConnectData.obj GaugeDeclarations.obj GDIPlus_Gauge
Error 2 error LNK2005: _add_imagedata_to_listelement@12 already defined in CSimConnectData.obj GaugeDeclarations.obj GDIPlus_Gauge
Error 3 error LNK2005: _remove_imagedata_from_listelement@12 already defined in CSimConnectData.obj GaugeDeclarations.obj GDIPlus_Gauge
Error 4 error LNK2005: _get_listelement_pointer@8 already defined in CSimConnectData.obj GDIPlus_Gauge.obj GDIPlus_Gauge
Error 5 error LNK2005: _add_imagedata_to_listelement@12 already defined in CSimConnectData.obj GDIPlus_Gauge.obj GDIPlus_Gauge
Error 6 error LNK2005: _remove_imagedata_from_listelement@12 already defined in CSimConnectData.obj GDIPlus_Gauge.obj GDIPlus_Gauge
Error 7 fatal error LNK1169: one or more multiply defined symbols found J:\I Hate cpp Right NOW\Debug\GDIPlus_Gauge.dll 1 GDIPlus_Gauge
What am I doing wrong?
