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

Compiling (Ubuntu) Build.sh ERROR

Loney

#!
Senator
Premium User
Joined
Jul 23, 2012
Messages
2,044
Solutions
31
Reaction score
243
Location
México
Hi all.
I was trying to install theforgottenserver, all was running fine but when I try to execute ./build.sh this happens:

Code:
  CXX  actions.o
  CXX  baseevents.o
  CXX  beds.o
  CXX  condition.o
  CXX  chat.o
  CXX  combat.o
  CXX  configmanager.o
In file included from baseevents.h:20:0,
  from actions.h:20,
  from actions.cpp:20:
otsystem.h:33:20: fatal error: asio.hpp: No such file or directory
compilation terminated.
In file included from baseevents.h:20:0,
  from baseevents.cpp:20:
otsystem.h:33:20: fatal error: asio.hpp: No such file or directory
compilation terminated.
In file included from combat.h:20:0,
  from combat.cpp:20:
otsystem.h:33:20: fatal error: asio.hpp: No such file or directory
compilation terminated.
In file included from luascript.h:20:0,
  from configmanager.h:20,
  from configmanager.cpp:20:
otsystem.h:33:20: fatal error: asio.hpp: No such file or directory
compilation terminated.
In file included from item.h:20:0,
  from beds.h:20,
  from beds.cpp:19:
otsystem.h:33:20: fatal error: asio.hpp: No such file or directory
compilation terminated.
In file included from chat.h:20:0,
  from chat.cpp:18:
otsystem.h:33:20: fatal error: asio.hpp: No such file or directory
compilation terminated.
In file included from condition.h:20:0,
  from condition.cpp:19:
otsystem.h:33:20: fatal error: asio.hpp: No such file or directory
compilation terminated.
make[1]: *** [beds.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [baseevents.o] Error 1
make[1]: *** [configmanager.o] Error 1
make[1]: *** [actions.o] Error 1
make[1]: *** [condition.o] Error 1
make[1]: *** [combat.o] Error 1
make[1]: *** [chat.o] Error 1
make[1]: Leaving directory `/home/loney'
make: *** [all] Error 2

I've never seen this before, and also I can't find any solution to this problem.
Hope someone can help me and thanks in advance, Loney.
 
I tried updating libboost and still no results

EDIT

Solved by installing libasio, now got this:

Code:
talkaction.cpp: In static member function ‘static bool TalkAction::software(Creature*, const string&, const string&)’:
talkaction.cpp:1241:18: error: ‘BOOST_ASIO_VERSION’ was not declared in this scope
 
Last edited:
Back
Top