• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux build error

JonatasLucas

New Member
Joined
Jun 12, 2013
Messages
116
Reaction score
3
I am with this error when I compile my OTServ
use tfs version 1.1 10.76
Ubuntu 12.04 32bit


In file included from /home/sources/src/actions.h:23:0,
from /home/sources/src/actions.cpp:22:
/home/sources/src/baseevents.h:30:22: error: 'virtual Event::~Event()' declared virtual cannot be defaulted in the class body
/home/sources/src/baseevents.h:56:27: error: 'virtual BaseEvents::~BaseEvents()' declared virtual cannot be defaulted in the class body
In file included from /home/sources/src/actions.cpp:22:0:
/home/sources/src/actions.h:35:49: error: expected ';' at end of member declarat ion
/home/sources/src/actions.h:35:51: error: 'override' does not name a type
/home/sources/src/actions.h:36:52: error: expected ';' at end of member declarat ion
/home/sources/src/actions.h:36:54: error: 'override' does not name a type
/home/sources/src/actions.h:73:36: error: expected ';' at end of member declarat ion
/home/sources/src/actions.h:73:42: error: 'override' does not name a type
/home/sources/src/actions.h:84:21: error: expected initializer before ':' token
In file included from /home/sources/src/item.h:23:0,
from /home/sources/src/bed.h:23,
from /home/sources/src/actions.cpp:23:
/home/sources/src/cylinder.h:208:29: error: expected initializer before ':' toke n
In file included from /home/sources/src/items.h:25:0,
from /home/sources/src/item.h:25,
from /home/sources/src/bed.h:23,
from /home/sources/src/actions.cpp:23:
/home/sources/src/itemloader.h:181:16: error: expected declaration before end of line
make[2]: *** [CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2
 
I use the tfs 1.1 version 10.76 of bruno minervino

Then have fun fixing it :p
The errors are pretty much explained to you there, unless there are more hidden bugs in that source (as most others with cast systems) then you shoulden't have any major issues.
 
Back
Top