Re: [MOD] OpenFNG (updated and maintained again)
Hi all
I wanted to build a server for my Raspberry Pi (ARM processor).
When i compile the server with the command "../bam/bam server_release" it shows the following:
[1/3] #1 c++ src/game/server/gamemodes/openfng.cpp
In file included from src/game/server/gamemodes/openfng.cpp:8:0:
src/engine/server/server.h:65:1: error: invalid use of incomplete type 'struct CNetBan'
src/engine/shared/network.h:252:8: error: forward declaration of 'struct CNetBan'
src/engine/server/server.h:76:21: error: 'CNetRange' does not name a type
src/engine/server/server.h:76:32: error: ISO C++ forbids declaration of 'pRange' with no type [-fpermissive]
src/game/server/gamemodes/openfng.cpp: In member function 'void CGameControllerOpenFNG::DoRagequit()':
src/game/server/gamemodes/openfng.cpp:243:26: error: 'class CServer' has no member named 'BanAdd'
bam: 'objs/game/server/gamemodes/openfng.o' error 256
[2/3] #1 c++ src/game/server/gamecontroller.cpp
src/game/server/gamecontroller.cpp: In member function 'void IGameController::CycleMap()':
src/game/server/gamecontroller.cpp:316:1: error: a function-definition is not allowed here before '{' token
src/game/server/gamecontroller.cpp:749:1: error: expected '}' at end of input
bam: 'objs/game/server/gamecontroller.o' error 256
bam: error: a build step failed
i also get it on my x64 Linux so i think there is no problem with the ARM processor..
and i dont know what to do with this so i want to ask you!
thx in advance,
Neolyum