Page 1 of 1

Compiling

Posted: Thu Aug 24, 2017 4:27 pm
by Google
Very short.


bam server_release
[1/2] #1 c++ src/game/server/entities/character.cpp
src/game/server/entities/character.cpp:18:25: fatal error: projectile1.h: No such file or directory
#include "projectile1.h"
^
compilation terminated.
bam: 'objs/game/server/entities/character.o' error 256
bam: error: a build step failed

Re: Compiling

Posted: Thu Aug 24, 2017 5:02 pm
by Google
When i delete #include projectile1 in character.cpp it's next error: [[2/2] #1 link DDNet-Server
objs/game/server/gamecontext.o: In function `CGameContext::OnConsoleInit()':
gamecontext.cpp:(.text+0xc2c): undefined reference to `CGameContext::ConDragonGrenade(IConsole::IResult*, void*)'
collect2: error: ld returned 1 exit status
bam: 'DDNet-Server' error 256
bam: error: a build step failed

Re: Compiling

Posted: Fri Aug 25, 2017 10:33 am
by :Ram
:lol:

Re: Compiling

Posted: Fri Aug 25, 2017 11:00 am
by deen
You're missing the definition of the ConDragonGrenade method in gamecontext.cpp

Re: Compiling

Posted: Thu Aug 31, 2017 9:50 am
by Google
deen wrote: Fri Aug 25, 2017 11:00 am You're missing the definition of the ConDragonGrenade method in gamecontext.cpp
I know what i do wrong, I installed bad bam :)