1

Topic: Compile(problem :()

i have problem:   {why?}
teeworlds 0.6
python 3.2.2
bam 4
visual studio 2010

  sing return type; assumed to be a member function returning 'int'
c:\teeworlds\src\game\client\animstate.h(16) : error C2143: syntax error : missi
ng ';' before '*'
c:\teeworlds\src\game\client\animstate.h(16) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(16) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(16) : warning C4183: 'GetFrontFoot': mi
ssing return type; assumed to be a member function returning 'int'
c:\teeworlds\src\game\client\animstate.h(17) : error C2143: syntax error : missi
ng ';' before '*'
c:\teeworlds\src\game\client\animstate.h(17) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(17) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(17) : warning C4183: 'GetAttach': missi
ng return type; assumed to be a member function returning 'int'
c:\teeworlds\src\game\client\animstate.h(18) : error C2061: syntax error : ident
ifier 'CAnimation'
c:\teeworlds\src\game\client\animstate.h(19) : error C2061: syntax error : ident
ifier 'CAnimation'
c:\teeworlds\src\game\client\animstate.h(14) : error C2065: 'm_Body' : undeclare
d identifier
c:\teeworlds\src\game\client\animstate.h(15) : error C2065: 'm_BackFoot' : undec
lared identifier
c:\teeworlds\src\game\client\animstate.h(16) : error C2065: 'm_FrontFoot' : unde
clared identifier
c:\teeworlds\src\game\client\animstate.h(17) : error C2065: 'm_Attach' : undecla
red identifier
src/game/client/render.cpp(42) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(42) : error C2227: left of '->m_X' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(43) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(43) : error C2227: left of '->m_Y' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(44) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(44) : error C2227: left of '->m_W' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(45) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(45) : error C2227: left of '->m_H' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(46) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(46) : error C2227: left of '->m_pSet' must point to c
lass/struct/union/generic type
src/game/client/render.cpp(46) : error C2227: left of '->m_Gridx' must point to
class/struct/union/generic type
src/game/client/render.cpp(47) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(47) : error C2227: left of '->m_pSet' must point to c
lass/struct/union/generic type
src/game/client/render.cpp(47) : error C2227: left of '->m_Gridy' must point to
class/struct/union/generic type
src/game/client/render.cpp(78) : error C2065: 'g_pData' : undeclared identifier
src/game/client/render.cpp(78) : error C2227: left of '->m_NumSprites' must poin
t to class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(80) : error C2065: 'g_pData' : undeclared identifier
src/game/client/render.cpp(80) : error C2227: left of '->m_aSprites' must point
to class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(192) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(196) : error C2227: left of '->m_X' must point to cla
ss/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(196) : error C2227: left of '->m_Y' must point to cla
ss/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(197) : error C2065: 'SPRITE_TEE_BODY_OUTLINE' : undec
lared identifier
src/game/client/render.cpp(197) : error C2065: 'SPRITE_TEE_BODY' : undeclared id
entifier
src/game/client/render.cpp(206) : error C2065: 'EMOTE_PAIN' : undeclared identif
ier
src/game/client/render.cpp(206) : error C2051: case expression not constant
src/game/client/render.cpp(207) : error C2065: 'SPRITE_TEE_EYE_PAIN' : undeclare
d identifier
src/game/client/render.cpp(209) : error C2065: 'EMOTE_HAPPY' : undeclared identi
fier
src/game/client/render.cpp(209) : error C2051: case expression not constant
src/game/client/render.cpp(210) : error C2065: 'SPRITE_TEE_EYE_HAPPY' : undeclar
ed identifier
src/game/client/render.cpp(212) : error C2065: 'EMOTE_SURPRISE' : undeclared ide
ntifier
src/game/client/render.cpp(212) : error C2051: case expression not constant
src/game/client/render.cpp(213) : error C2065: 'SPRITE_TEE_EYE_SURPRISE' : undec
lared identifier
src/game/client/render.cpp(215) : error C2065: 'EMOTE_ANGRY' : undeclared identi
fier
src/game/client/render.cpp(215) : error C2051: case expression not constant
src/game/client/render.cpp(216) : error C2065: 'SPRITE_TEE_EYE_ANGRY' : undeclar
ed identifier
src/game/client/render.cpp(219) : error C2065: 'SPRITE_TEE_EYE_NORMAL' : undecla
red identifier
src/game/client/render.cpp(224) : error C2065: 'EMOTE_BLINK' : undeclared identi
fier
src/game/client/render.cpp(235) : error C2065: 'CAnimKeyframe' : undeclared iden
tifier
src/game/client/render.cpp(235) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(240) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(240) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(246) : error C2065: 'SPRITE_TEE_FOOT_OUTLINE' : undec
lared identifier
src/game/client/render.cpp(249) : error C2065: 'SPRITE_TEE_FOOT' : undeclared id
entifier
src/game/client/render.cpp(255) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(255) : error C2227: left of '->m_X' must point to cla
ss/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(255) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(255) : error C2227: left of '->m_Y' must point to cla
ss/struct/union/generic type
        type is ''unknown-type''
bam: 'objs/game/client/render.obj' error 2
[49/52] #1 c++ src/game/editor/editor.cpp
src\game/gamecore.h(193) : error C2146: syntax error : missing ';' before identi
fier 'm_Input'
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C2143: syntax error : missing ',' before '*'
src\game/gamecore.h(203) : error C2061: syntax error : identifier 'CNetObj_Chara
cterCore'
src/game/editor/editor.cpp(2455) : error C2065: 'g_pData' : undeclared identifie
r
src/game/editor/editor.cpp(2455) : error C2227: left of '->m_aImages' must point
 to class/struct/union/generic type
        type is ''unknown-type''
src/game/editor/editor.cpp(2455) : error C2065: 'IMAGE_FILEICONS' : undeclared i
dentifier
src/game/editor/editor.cpp(2455) : error C2228: left of '.m_Id' must have class/
struct/union
src/game/editor/editor.cpp(2457) : error C2065: 'SPRITE_FILE_FOLDER' : undeclare
d identifier
src/game/editor/editor.cpp(2457) : error C2065: 'SPRITE_FILE_MAP2' : undeclared
identifier
c1xx : fatal error C1903: unable to recover from previous error(s); stopping com
pilation
bam: 'objs/game/editor/editor.obj' error 2
[50/52] #1 c++ src/game/editor/io.cpp
src\game/gamecore.h(193) : error C2146: syntax error : missing ';' before identi
fier 'm_Input'
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C2143: syntax error : missing ',' before '*'
src\game/gamecore.h(203) : error C2061: syntax error : identifier 'CNetObj_Chara
cterCore'
bam: 'objs/game/editor/io.obj' error 2
bam: error: a build step failed
  

2

Re: Compile(problem :()

Operating System?
Try
bam -c all
bam config
and check if you can run python from the shell.
Open cmd and type python.

3

Re: Compile(problem :()

win 7
--
all right
the problem was solved

Thanks

4

Re: Compile(problem :()

icy PRO wrote:

win 7
--
all right
the problem was solved

Thanks

How have you solved it?
Is there any mistake on my compiling topic?

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

5

Re: Compile(problem :()

Just to finish this one, I got this problem too, the problem was that tried to compile without Python. Installed python and the problem persisted... BotoX suggestion fixed it.