Problemă compilare GAME Subiect este rezolvat

Aici găsiţi problemele rezolvate.
Deconectat
Avatar utilizator
luv12345
Nivel 1
Nivel 1
Mesaje: 126
Membru din: 19 Noi 2014
Status: La budă.
Server Metin2: Metin2Roke
Regat: Chunjo
Mulțumiri acordate: 8
Mulțumiri primite: 1
Contact:

Problemă compilare GAME  Subiect este rezolvat

Mesajde luv12345 » 14 Sep 2016, 20:08

Deci, când încerc să compilez sursa game-ului, primesc asta:

Imagine

EDIT: Poate unii nu se uită și pe paginile celelalte, așa că vă spun aici. Am rezolvat chestia din poză, acum primesc asta:

root@Metin2Teste:~ # cd /usr/src/roke/game/src
root@Metin2Teste:/usr/src/roke/game/src # gmake clean
root@Metin2Teste:/usr/src/roke/game/src # gmake
compile BattleArena.cpp
In file included from stdafx.h:39,
from BattleArena.cpp:1:
event.h:10:35: error: boost/intrusive_ptr.hpp: No such file or directory
In file included from BattleArena.cpp:6:
char.h:4:35: error: boost/unordered_map.hpp: No such file or directory
In file included from stdafx.h:39,
from BattleArena.cpp:1:
event.h:37: error: 'boost' has not been declared
event.h:37: error: expected initializer before '<' token
event.h:38: error: typedef 'TEVENTFUNC' is initialized (use __typeof__ instead)
event.h:38: error: 'LPEVENT' was not declared in this scope
event.h:38: error: expected primary-expression before 'long'
event.h:57: error: 'TEVENTFUNC' does not name a type
event.h: In constructor 'event::event()':
event.h:47: error: class 'event' does not have any field named 'func'
event.h: At global scope:
event.h:83: error: 'LPEVENT' does not name a type
event.h:84: warning: 'event_cancel' initialized and declared 'extern'
event.h:84: error: variable or field 'event_cancel' declared void
event.h:84: error: 'LPEVENT' was not declared in this scope
event.h:84: error: expected primary-expression before ')' token
event.h:85: warning: 'event_processing_time' initialized and declared 'extern'
event.h:85: error: 'LPEVENT' was not declared in this scope
event.h:86: warning: 'event_time' initialized and declared 'extern'
event.h:86: error: 'LPEVENT' was not declared in this scope
event.h:87: warning: 'event_reset_time' initialized and declared 'extern'
event.h:87: error: variable or field 'event_reset_time' declared void
event.h:87: error: 'LPEVENT' was not declared in this scope
event.h:87: error: expected primary-expression before 'long'
event.h:91: warning: 'event_info' initialized and declared 'extern'
event.h:91: error: 'LPEVENT' was not declared in this scope
In file included from BattleArena.cpp:3:
BattleArena.h:21: error: 'LPEVENT' does not name a type
In file included from char.h:9,
from BattleArena.cpp:6:
horse_rider.h:88: error: 'LPEVENT' does not name a type
horse_rider.h:89: error: 'LPEVENT' does not name a type
horse_rider.h:91: error: 'LPEVENT' has not been declared
horse_rider.h:92: error: 'LPEVENT' has not been declared
In file included from char.h:15,
from BattleArena.cpp:6:
mining.h:6: error: 'LPEVENT' does not name a type
In file included from BattleArena.cpp:6:
char.h:424: error: 'boost' has not been declared
char.h:424: error: ISO C++ forbids declaration of 'unordered_map' with no type
char.h:424: error: expected ';' before '<' token
char.h:931: error: 'LPEVENT' has not been declared
char.h:979: error: 'LPEVENT' does not name a type
char.h:988: error: 'LPEVENT' was not declared in this scope
char.h:988: error: template argument 2 is invalid
char.h:988: error: template argument 4 is invalid
char.h:1462: error: 'LPEVENT' does not name a type
char.h:1491: error: 'boost' has not been declared
char.h:1491: error: ISO C++ forbids declaration of 'unordered_map' with no type
char.h:1491: error: expected ';' before '<' token
char.h:1742: error: 'LPEVENT' does not name a type
char.h:1743: error: 'LPEVENT' does not name a type
char.h:1744: error: 'LPEVENT' does not name a type
char.h:1745: error: 'LPEVENT' does not name a type
char.h:1746: error: 'LPEVENT' does not name a type
char.h:1747: error: 'LPEVENT' does not name a type
char.h:1748: error: 'LPEVENT' does not name a type
char.h:1749: error: 'LPEVENT' does not name a type
char.h:1750: error: 'LPEVENT' does not name a type
char.h:1751: error: 'LPEVENT' does not name a type
char.h:1752: error: 'LPEVENT' does not name a type
char.h:1757: error: 'LPEVENT' does not name a type
char.h:1759: error: 'LPEVENT' does not name a type
char.h:1760: error: 'LPEVENT' does not name a type
char.h:1761: error: 'LPEVENT' does not name a type
char.h:1762: error: 'LPEVENT' does not name a type
char.h:1763: error: 'LPEVENT' does not name a type
char.h:1770: error: 'LPEVENT' does not name a type
char.h:1776: error: 'LPEVENT' was not declared in this scope
char.h:1776: error: template argument 2 is invalid
char.h:1776: error: template argument 4 is invalid
char.h:1999: error: 'LPEVENT' does not name a type
char.h: In member function 'void CHARACTER::SetPartyRequestEvent(int)':
char.h:931: error: 'm_pkPartyRequestEvent' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsWarping() const':
char.h:1765: error: 'm_pkWarpEvent' was not declared in this scope
In file included from sectree_manager.h:4,
from BattleArena.cpp:7:
sectree.h: At global scope:
sectree.h:166: error: 'LPEVENT' has not been declared
In file included from regen.h:1,
from BattleArena.cpp:8:
dungeon.h:154: error: 'LPEVENT' does not name a type
dungeon.h:156: error: 'LPEVENT' does not name a type
dungeon.h:157: error: 'LPEVENT' does not name a type
dungeon.h:161: error: 'LPEVENT' has not been declared
dungeon.h:163: error: 'LPEVENT' has not been declared
dungeon.h:164: error: 'LPEVENT' has not been declared
In file included from BattleArena.cpp:8:
regen.h:31: error: 'LPEVENT' does not name a type
regen.h: In constructor 'regen::regen()':
regen.h:47: error: type 'event' is not a direct base of 'regen'
In file included from questnpc.h:4,
from questmanager.h:6,
from BattleArena.cpp:9:
questpc.h: At global scope:
questpc.h:107: error: 'LPEVENT' has not been declared
questpc.h:175: error: 'LPEVENT' was not declared in this scope
questpc.h:175: error: template argument 2 is invalid
questpc.h:175: error: template argument 4 is invalid
In file included from BattleArena.cpp:9:
questmanager.h:71: error: 'LPEVENT' has not been declared
questmanager.h:183: error: 'LPEVENT' was not declared in this scope
questmanager.h:183: error: template argument 2 is invalid
questmanager.h:183: error: template argument 4 is invalid
questmanager.h:237: error: 'boost' has not been declared
questmanager.h:237: error: ISO C++ forbids declaration of 'unordered_map' with no type
questmanager.h:237: error: typedef name may not be a nested-name-specifier
questmanager.h:237: error: expected ';' before '<' token
questmanager.h:238: error: 'boost' has not been declared
questmanager.h:238: error: ISO C++ forbids declaration of 'unordered_map' with no type
questmanager.h:238: error: typedef name may not be a nested-name-specifier
questmanager.h:238: error: expected ';' before '<' token
questmanager.h:240: error: 'THashMapQuestName' does not name a type
questmanager.h:241: error: 'THashMapQuestStartScript' does not name a type
BattleArena.cpp: In constructor 'CBattleArena::CBattleArena()':
BattleArena.cpp:15: error: class 'CBattleArena' does not have any field named 'm_pEvent'
BattleArena.cpp: At global scope:
BattleArena.cpp:89: error: 'LPEVENT' was not declared in this scope
BattleArena.cpp:89: error: expected primary-expression before 'long'
BattleArena.cpp:89: error: initializer expression list treated as compound expression
BattleArena.cpp:90: error: expected ',' or ';' before '{' token
gmake: *** [Makefile:132: OBJDIR/BattleArena.o] Error 1
root@Metin2Teste:/usr/src/roke/game/src #
Ultima oară modificat 01 Oct 2016, 18:12 de către luv12345, modificat 1 dată în total.

Deconectat
Avatar utilizator
Taz
Membru Club
Membru Club
Mesaje: 152
Membru din: 14 Noi 2015
Status: Sunt bine mersi ^.^
Mulțumiri acordate: 6
Mulțumiri primite: 47

Re: Problemă compilare GAME

Mesajde Taz » 14 Sep 2016, 20:15

nu ai tot ce trebuie instalat pentru compilare

Deconectat
Avatar utilizator
luv12345
Nivel 1
Nivel 1
Mesaje: 126
Membru din: 19 Noi 2014
Status: La budă.
Server Metin2: Metin2Roke
Regat: Chunjo
Mulțumiri acordate: 8
Mulțumiri primite: 1
Contact:

Re: Problemă compilare GAME

Mesajde luv12345 » 14 Sep 2016, 20:17

Taz scrie:nu ai tot ce trebuie instalat pentru compilare

Am instalat cam tot ce am găsit la rezolvări pe net. Tot așa face.

Deconectat
Avatar utilizator
stilledanger
Mister Just4Metin
Mister Just4Metin
Mesaje: 1019
Membru din: 31 Ian 2014
Localitate: #127.0.0.1
Reputație: Fost dezvoltator la Zearth2 si ThunderWorld2
Fost Super Moderator
Fost Moderator
Fost Trial Moderator
Status: https://somthegame.com
Server Metin2: somthegame.com
Mulțumiri acordate: 4
Mulțumiri primite: 89
Contact:

Re: Problemă compilare GAME

Mesajde stilledanger » 14 Sep 2016, 21:46

Nu ai extern la sursa iti zice clar "g++"

[ Postat de pe Android ] Imagine
Fost Super Moderator / Moderator / Trial-Moderator la Just4Metin
Fost dezvoltator la Zearth2 & ThunderWorld2
Retras din domeniul Metin2, vă rog sa nu mă mai căutați pentru support!
discutii-diverse/surviveonmars-disponibil-luna-aceasta-t63026-20.html
Trebuie să fii logat sau înregistrat pentru a vedea acest link.

Deconectat
Avatar utilizator
*A.Sebastian*
Moderator
Moderator
Mesaje: 1092
Membru din: 02 Mar 2015
Localitate: Constanta
Reputație: ► Moderator
===================
► Fost Trial Moderator
===================
► Fost ™Helper Avansat™
===================
► Fost Helper
===================
► Fost Trial Helper
===============
► Scripter PHP/HTML/CSS/JAVA
===============
► Scripter SA:MP
===============
► Administrator 3xtr3m.com
===============
► Board Administrator 3xtr3m.com
===============
► Administrator Tehnic Metin2
===============
► Deținător 3xtr3m.com
===============
Nume anterior: [ST]Andrew[J4M]
===============
Status: Un om poate avea multe succese in viata!
Server Metin2: 3xtr3m.com
Regat: Chunjo
Mulțumiri acordate: 7
Mulțumiri primite: 19
Contact:

Re: Problemă compilare GAME

Mesajde *A.Sebastian* » 14 Sep 2016, 23:50

"g++" lipsa.
Imagine
Imagine
Imagine

Deconectat
Avatar utilizator
luv12345
Nivel 1
Nivel 1
Mesaje: 126
Membru din: 19 Noi 2014
Status: La budă.
Server Metin2: Metin2Roke
Regat: Chunjo
Mulțumiri acordate: 8
Mulțumiri primite: 1
Contact:

Re: Problemă compilare GAME

Mesajde luv12345 » 15 Sep 2016, 15:45

Și cum instalez g++?

Deconectat
Avatar utilizator
luv12345
Nivel 1
Nivel 1
Mesaje: 126
Membru din: 19 Noi 2014
Status: La budă.
Server Metin2: Metin2Roke
Regat: Chunjo
Mulțumiri acordate: 8
Mulțumiri primite: 1
Contact:

Re: Problemă compilare GAME

Mesajde luv12345 » 17 Sep 2016, 10:12

UP!

Deconectat
Avatar utilizator
luv12345
Nivel 1
Nivel 1
Mesaje: 126
Membru din: 19 Noi 2014
Status: La budă.
Server Metin2: Metin2Roke
Regat: Chunjo
Mulțumiri acordate: 8
Mulțumiri primite: 1
Contact:

Re: Problemă compilare GAME

Mesajde luv12345 » 18 Sep 2016, 12:17

UP!

Deconectat
Avatar utilizator
Lehel
Fost Super Ad Moderator
Fost Super Ad Moderator
Mesaje: 1388
Membru din: 21 Aug 2013
Localitate: Cluj-Napoca
Reputație: ---------------------------------------
► Fost Super Moderator
► c++ programmer
► Fost super ad moderator
► Fost lider helperi
---------------------------------------
Regat: Jinno
Mulțumiri acordate: 17
Mulțumiri primite: 18
Contact:

Re: Problemă compilare GAME

Mesajde Lehel » 18 Sep 2016, 13:11

Scrie asta in putty:
cd /usr/ports/lang/gcc49/ && make install clean
Imagine

Deconectat
Avatar utilizator
luv12345
Nivel 1
Nivel 1
Mesaje: 126
Membru din: 19 Noi 2014
Status: La budă.
Server Metin2: Metin2Roke
Regat: Chunjo
Mulțumiri acordate: 8
Mulțumiri primite: 1
Contact:

Re: Problemă compilare GAME

Mesajde luv12345 » 18 Sep 2016, 19:54

Lehel scrie:Scrie asta in putty:
cd /usr/ports/lang/gcc49/ && make install clean

Am făcut aia deja, îmi apare la fel..


Înapoi la “Probleme rezolvate”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: BattleHero, LppSoulHunter, Metin2Luxuria.RO, ShadowSide(Alext3rAMV) și 9 vizitatori