EROARE COMPILARE SURSA GAME

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
dragonul98
Membru Club

Membru Club
Mesaje: 482
Membru din: 06 Oct 2013, 18:52
Server: -
Regat: Chunjo
Aprecieri: 311  
Mulţumiri: 168  
 Contact:
Medalii

*Problemă/Întrebare: Am incercat sa compilez game si db dar imi da eroare la tabels.h din common amandoua si nu stiu cum sa rezolv.
Tipologie server: -
*Resursă folosită: Aveti aici tables.h : https://www119.zippyshare.com/v/Gjm76a38/file.html
*ServerFiles utilizat: -
*Syserr:

Cod: Selectaţi tot

In file included from constants.h:4:0,
                 from arena.cpp:2:
../../common/tables.h:654:9: error: redeclaration of 'DWORD SShopItemTable::price'
  DWORD  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #endif
         ^
../../common/tables.h:653:13: note: previous declaration 'long long int SShopItemTable::price'
  long long  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #else
             ^
In file included from constants.h:4:0,
                 from banword.cpp:2:
../../common/tables.h:654:9: error: redeclaration of 'DWORD SShopItemTable::price'
  DWORD  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #endif
         ^
../../common/tables.h:653:13: note: previous declaration 'long long int SShopItemTable::price'
  long long  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #else
             ^
In file included from constants.h:4:0,
                 from BattleArena.cpp:2:
../../common/tables.h:654:9: error: redeclaration of 'DWORD SShopItemTable::price'
  DWORD  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #endif
         ^
../../common/tables.h:653:13: note: previous declaration 'long long int SShopItemTable::price'
  long long  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #else
             ^
In file included from constants.h:4:0,
                 from horse_rider.h:4,
                 from char.h:9,
                 from ani.cpp:11:
../../common/tables.h:654:9: error: redeclaration of 'DWORD SShopItemTable::price'
  DWORD  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #endif
         ^
../../common/tables.h:653:13: note: previous declaration 'long long int SShopItemTable::price'
  long long  price; // PC, shop_table_ex.txt ▒▒?z?▒▒ REz? #else
^

Poză: -
*Detalii suplimentare: Nu se compileaza sursa game si db din cauza la eroarea respectiva.
Avatar utilizator
dragonul98
Membru Club

Membru Club
Mesaje: 482
Membru din: 06 Oct 2013, 18:52
Server: -
Regat: Chunjo
Aprecieri: 311  
Mulţumiri: 168  
 Contact:
Medalii

UP
Avatar utilizator
rakaszki.
Utilizator interzis !

Utilizator interzis !
Mesaje: 28
Membru din: 01 Apr 2020, 21:21
Server: eren5
Regat: Chunjo
Aprecieri: 53  
Mulţumiri: 1  
Discord: Copiază ID
Medalii

oare-l ai declarat de 2 ori? nu cred.
dă-mi discordu
Avatar utilizator
Len.
Membru Club

Membru Club
Mesaje: 411
Membru din: 29 Ian 2020, 22:52
Regat: Chunjo
Aprecieri: 218  
Mulţumiri: 564  
  Rezolvări prob.: 1
Discord: Copiază ID
Medalii

Inactiv, arhivat.
Închis
Răspunsuri
3
Vizualizări
164
Răspunsuri
1
Vizualizări
213
Răspunsuri
4
Vizualizări
246
Răspunsuri
9
Vizualizări
640

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie