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

[Problem] Compiling TFS on Arch Linux

Nexiu

New Member
Joined
Nov 22, 2007
Messages
1
Reaction score
0
Hi there.

I got problem while I compiling TFS on my Arch.
I have installed dependencies, but when I type make I got errors with boots::asio in connection.h.
So I have change
Code:
#include <boost/asio.hpp>
to
Code:
#include <asio.hpp>

After that, when I trying compile program, it returns
Code:
(...)
 error: 'boost::asio' has not been declared
 (...)

so I changed all boost:asio to asio and now I have errors:

Code:
In file included from admin.cpp:24:
connection.h:114: error: expected unqualified-id before '::' token
connection.h:114: error: expected ',' or '...' before '::' token
connection.h:115: error: expected unqualified-id before '::' token
connection.h:115: error: expected ',' or '...' before '::' token
connection.h:117: error: expected unqualified-id before '::' token
connection.h:117: error: expected ',' or '...' before '::' token
connection.h:119: error: expected unqualified-id before '::' token
connection.h:119: error: expected ',' or '...' before '::' token
connection.h:120: error: expected unqualified-id before '::' token
connection.h:120: error: expected ',' or '...' before '::' token

There is part of connection.h:

Code:
	private:
		void parseHeader(const boost::system::error_code& error);
		void parsePacket(const boost::system::error_code& error);

		void onWriteOperation(OutputMessage* msg, const boost::system::error_code& error);

		void handleReadError(const boost::system::error_code& error);
		void handleWriteError(const boost::system::error_code& error);

Any ideas how can I compile that?
 
Back
Top