• 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!

Ubuntu compiling TFS

Gregor

New Member
Joined
Feb 29, 2008
Messages
770
Reaction score
3
Location
UK/POLAND
I get error when i try to compile the TFS Source i use this tutorial: http://forgottenserver.svn.sourcefo...ottenserver/tags/0.2/doc/README?revision=1055
Compiling
Launch a terminal, and type this command:
cd 0.2/ && make

when im at this part i get this error
Code:
rm -rf *.o
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
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c actions.cpp
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c admin.cpp
In file included from admin.cpp:24:
connection.h:25:26: error: boost/asio.hpp: No such file or directory
In file included from admin.cpp:24:
connection.h:59: błąd: expected `;, before `(, token
connection.h:87: błąd: `boost::asio, has not been declared
connection.h:87: błąd: expected `)' before `&, token
connection.h:113: błąd: `boost::asio, has not been declared
connection.h:113: błąd: ISO C++ forbids declaration of `socket, with no type
connection.h:113: błąd: expected `;, before `&, token
connection.h:115: błąd: expected `;' before `void,
connection.h:123: błąd: expected unqualified-id before `::, token
connection.h:123: błąd: expected `,, or `..., before `::, token
connection.h:124: błąd: expected unqualified-id before `::, token
connection.h:124: błąd: expected `,, or `..., before `::, token
connection.h:126: błąd: expected unqualified-id before `::, token
connection.h:126: błąd: expected `,, or `..., before `::, token
connection.h:128: błąd: expected unqualified-id before `::, token
connection.h:128: błąd: expected `,, or `..., before `::, token
connection.h:129: błąd: expected unqualified-id before `::, token
connection.h:129: błąd: expected `,, or `..., before `::, token
connection.h:138: błąd: `boost::asio, has not been declared
connection.h:138: błąd: ISO C++ forbids declaration of `socket, with no type
connection.h:138: błąd: expected `;, before `m_socket,
make: *** [admin.o] Błąd 1

błąd = error
 
You do not have the boost libraries installed.
 
Back
Top