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

Help - Error when Copying.

Zodia

Member
Joined
Feb 21, 2020
Messages
220
Reaction score
20
I'm trying to compile Nekiro's forgottenserver 1.3 downport on Ubuntu 14.04.6, however I am having the following error on the console.


Lua:
root@ubuntu-trusty-1:/home/Servidor/Aibit2020/down/server/build# make
[  1%] Building CXX object CMakeFiles/tfs.dir/src/actions.cpp.o
In file included from /home/Servidor/Aibit2020/down/server/src/baseevents.h:23:0,
                 from /home/Servidor/Aibit2020/down/server/src/actions.h:23,
                 from /home/Servidor/Aibit2020/down/server/src/actions.cpp:22:
/home/Servidor/Aibit2020/down/server/src/luascript.h:23:18: error: missing binary operator before token "("
 #if __has_include("luajit/lua.hpp")
                  ^
make[2]: *** [CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2
root@ubuntu-trusty-1:/home/Servidor/Aibit2020/down/server/build#



can anybody help me? It really seems like a silly mistake. If I'm in the wrong session, or said something wrong, I'm sorry.
 
I'm trying to compile Nekiro's forgottenserver 1.3 downport on Ubuntu 14.04.6, however I am having the following error on the console.


Lua:
root@ubuntu-trusty-1:/home/Servidor/Aibit2020/down/server/build# make
[  1%] Building CXX object CMakeFiles/tfs.dir/src/actions.cpp.o
In file included from /home/Servidor/Aibit2020/down/server/src/baseevents.h:23:0,
                 from /home/Servidor/Aibit2020/down/server/src/actions.h:23,
                 from /home/Servidor/Aibit2020/down/server/src/actions.cpp:22:
/home/Servidor/Aibit2020/down/server/src/luascript.h:23:18: error: missing binary operator before token "("
#if __has_include("luajit/lua.hpp")
                  ^
make[2]: *** [CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2
root@ubuntu-trusty-1:/home/Servidor/Aibit2020/down/server/build#



can anybody help me? It really seems like a silly mistake. If I'm in the wrong session, or said something wrong, I'm sorry.

Look this:
 
Look this:



I made the changes in
configmanager.cpp
luascript.h





NEW ERROR:


Lua:
 Building CXX object CMakeFiles/tfs.dir/src/actions.cpp.o
In file included from /home/Servidor/Aibit2020/down/ot/src/baseevents.h:23:0,
                 from /home/Servidor/Aibit2020/down/ot/src/actions.h:23,
                 from /home/Servidor/Aibit2020/down/ot/src/actions.cpp:22:
/home/Servidor/Aibit2020/down/ot/src/luascript.h:24:26: fatal error: luajit/lua.hpp: No such file or directory
 #include <luajit/lua.hpp>
                          ^
compilation terminated.
make[2]: *** [CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2
root@ubuntu-trusty-1:/home/Servidor/Aibit2020/down/ot/build#
 
Could you paste the exact command you used to install libs in terminal? This might be due to missing depedencies.
 
Could you paste the exact command you used to install libs in terminal? This might be due to missing depedencies.


$ sudo apt install git cmake build-essential libluajit-5.1-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev
 
Back
Top