Witam korzystam z tego poradnika -> [Podstawy] Małe HOWTO, czyli OTS na platformie GNU/Linux* - Forum tibia.org.pl
NO i przy kompilacji wywala mi błąd.
Używam mystic spirita 0.2.4 pod 8.5
NO i przy kompilacji wywala mi błąd.
Code:
rm -rf *.o
g++ -I/usr/include/libxml2 -I/usr/include//lua5.1 -I/usr/include//lua50 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -Werror -O2 -c account.cpp
g++ -I/usr/include/libxml2 -I/usr/include//lua5.1 -I/usr/include//lua50 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -Werror -O2 -c actions.cpp
g++ -I/usr/include/libxml2 -I/usr/include//lua5.1 -I/usr/include//lua50 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -Werror -O2 -c admin.cpp
In file included from admin.cpp:24:
connection.h:25:26: error: boost/asio.hpp: Nie ma takiego pliku ani katalogu
In file included from admin.cpp:24:
connection.h:63: error: expected ';' before '(' token
connection.h:92: error: 'boost::asio' has not been declared
connection.h:92: error: expected `)' before '*' token
connection.h:125: error: 'boost::asio' has not been declared
connection.h:125: error: ISO C++ forbids declaration of 'socket' with no type
connection.h:125: error: expected ';' before '&' token
connection.h:127: error: expected `;' before 'void'
connection.h:139: error: expected unqualified-id before '::' token
connection.h:139: error: expected ',' or '...' before '::' token
connection.h:140: error: expected unqualified-id before '::' token
connection.h:140: error: expected ',' or '...' before '::' token
connection.h:142: error: expected unqualified-id before '::' token
connection.h:142: error: expected ',' or '...' before '::' token
connection.h:145: error: expected unqualified-id before '::' token
connection.h:145: error: expected ',' or '...' before '::' token
connection.h:146: error: expected unqualified-id before '::' token
connection.h:146: error: expected ',' or '...' before '::' token
connection.h:147: error: expected unqualified-id before '::' token
connection.h:147: error: expected ',' or '...' before '::' token
connection.h:157: error: 'boost::asio' has not been declared
connection.h:157: error: ISO C++ forbids declaration of 'socket' with no type
connection.h:157: error: expected ';' before '*' token
connection.h:158: error: 'boost::asio' has not been declared
connection.h:158: error: ISO C++ forbids declaration of 'deadline_timer' with no type
connection.h:158: error: expected ';' before 'm_timer'
connection.h:159: error: 'boost::asio' has not been declared
connection.h:159: error: ISO C++ forbids declaration of 'io_service' with no type
connection.h:159: error: expected ';' before '&' token
make: *** [admin.o] B��d 1
Używam mystic spirita 0.2.4 pod 8.5
Last edited by a moderator: