Page 1 of 1

DDnet Compile Error

Posted: Fri Dec 26, 2014 10:39 am
by jiks
hi
why source of ddnet dont compile ?
when i compile ddnet souce , i have too many error !!!
why ?

src/game/server/entities/laser.cpp(217) : error C2227: left of '->m_FromX' must
point to class/struct/union/generic type
type is ''unknown-type''
src/game/server/entities/laser.cpp(218) : error C2065: 'pObj' : undeclared ident
ifier
src/game/server/entities/laser.cpp(218) : error C2227: left of '->m_FromY' must
point to class/struct/union/generic type
type is ''unknown-type''
src/game/server/entities/laser.cpp(219) : error C2065: 'pObj' : undeclared ident
ifier
src/game/server/entities/laser.cpp(219) : error C2227: left of '->m_StartTick' m
ust point to class/struct/union/generic type
type is ''unknown-type''

Re: DDnet Compile Error

Posted: Fri Dec 26, 2014 10:54 am
by Alvin Risk
Maybe u make aimbot for laser, and now ask me to help u =.=
Maybe problem in ur code, maybe u just need old python.

Re: DDnet Compile Error

Posted: Fri Dec 26, 2014 11:24 am
by deen
What platform and compile are you using? I don't get that error.

Re: DDnet Compile Error

Posted: Fri Dec 26, 2014 5:30 pm
by jiks
deen wrote:What platform and compile are you using? I don't get that error.
platform = windows
compile with bam

Re: DDnet Compile Error

Posted: Fri Dec 26, 2014 5:44 pm
by deen
I have an idea:
Set python-interpreter as the default program to open Python files (.py ending). Then download the sources anew and try again.

Re: DDnet Compile Error

Posted: Fri Dec 26, 2014 6:33 pm
by jiks
thanks
Problem Solved :D

one Question more!
DDnet Servers have a Crash Problem ?

Re: DDnet Compile Error

Posted: Fri Dec 26, 2014 8:05 pm
by deen
jiks wrote:thanks
Problem Solved :D

one Question more!
DDnet Servers have a Crash Problem ?
I haven't noticed any server crashes recently.