Athero scrie: ↑17 Mar 2020, 10:10
Lirium scrie: ↑17 Mar 2020, 10:09
Athero scrie: ↑17 Mar 2020, 10:01
Fara suparare dar, e total gresit.
Iti lipseste din item_manager.h functia.
Cauta in oricare sursa de la martysama, ar trebui sa le aibe.
Intra in item_manager.h si cauta:
DWORD GetAttrVnum(DWORD dwVnum) const
{
............
}
sub asta adaugi
// Group의 Size를 return해준다.
int GetGroupSize() const
{
return m_vecProbs.size();
}
[ Postat de pe Android ]
nu imi gaseste DWORD GetAttrVnum(DWORD dwVnum) const
Cauta si tu un const oarecare sau cauta doar asta GetAttrVnum si pui functia sub toata aia.
[ Postat de pe Android ]
In file included from building.cpp:4:
item_manager.h:180: error: 'CSpecialItemInfo' was not declared in this scope
item_manager.h:180: error: template argument 1 is invalid
item_manager.h:180: error: template argument 2 is invalid
item_manager.h:180: error: invalid type in declaration before ';' token
item_manager.h:181: error: expected declaration before '}' token
In file included from char_battle.cpp:8:
item_manager.h:180: error: 'CSpecialItemInfo' was not declared in this scope
item_manager.h:180: error: template argument 1 is invalid
item_manager.h:180: error: template argument 2 is invalid
item_manager.h:180: error: invalid type in declaration before ';' token
item_manager.h:181: error: expected declaration before '}' token
gmake: *** [OBJDIR/building.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/char_battle.o] Error 1
In file included from battle.cpp:9:
item_manager.h:180: error: 'CSpecialItemInfo' was not declared in this scope
item_manager.h:180: error: template argument 1 is invalid
item_manager.h:180: error: template argument 2 is invalid
item_manager.h:180: error: invalid type in declaration before ';' token
item_manager.h:181: error: expected declaration before '}' token
gmake: *** [OBJDIR/battle.o] Error 1
Mi-a dat alta eroare dupa ce l-am pus cum ai spus