• 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 Compiling tfs 0.2.11 [8.1]

seyakuroya

DevlandOT.eu
Joined
Dec 21, 2008
Messages
711
Solutions
1
Reaction score
411
Hi There,

I have critical error when I try to compile this engine
Using Debian 7 (Wheezy) (64-bit)
Tfs 0.2.11 [8.1]
log:
Code:
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c account.cpp
In file included from /usr/include/c++/4.7/ext/hash_map:61:0,
                 from definitions.h:137,
                 from account.h:26,
                 from account.cpp:22:
/usr/include/c++/4.7/backward/backward_warning.h:33:2: error: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Werror=cpp]
cc1plus: all warnings being treated as errors
 
Now I try to compile OTX 2


Got this error:

CXX item.o
CXX iomap.o
iomap.cpp: In member function 'bool IOMap::loadMap(Map*, const string&)':
iomap.cpp:148:24: error: 'CLIENT_VERSION_ITEMS' was not declared in this scope
if(headerMinorItems < CLIENT_VERSION_ITEMS)

still need help :(

Still!
 
Last edited by a moderator:
Now I try to compile OTX 2


Got this error:

CXX item.o
CXX iomap.o
iomap.cpp: In member function 'bool IOMap::loadMap(Map*, const string&)':
iomap.cpp:148:24: error: 'CLIENT_VERSION_ITEMS' was not declared in this scope
if(headerMinorItems < CLIENT_VERSION_ITEMS)

still need help :(

Still!

Well if it's a clean source I would report it to OTX and hope they fix it.
Code:
CLIENT_VERSION_ITEMS
Is not declared in the code as the error says, you have to define it with the correct value.
 
Back
Top