Add information that newest TFS can be compiled with system packages only on Ubuntu 24.04.
It won't on 22.04, libboost required is 1.75 and Ubuntu 22.04 boost packages are 1.74.
To compile newest TFS on Ubuntu 24.04 you have to install 2 new boost libraries:
In old version of CMakeLists.txt there was detection if Lua/LuaJIT is installed and it picked version installed in system by default. Now it's always Lua by default, so Ubuntu compilation instruction should contain liblua5.3-dev in place of libluajit-5.1-dev.
There are be also added instruction how to compile with LuaJIT.
By submitting this feature issue, you agree to the following.
Pull Requests or Links to add this feature
Request
Ubuntu compilation wiki is not up to date.
Add information that newest TFS can be compiled with system packages only on Ubuntu 24.04. It won't on 22.04, libboost required is 1.75 and Ubuntu 22.04 boost packages are 1.74.
To compile newest TFS on Ubuntu 24.04 you have to install 2 new boost libraries:
Package listed in instruction:
is for LuaJIT compilation and default option ( https://github.com/otland/forgottenserver/blob/master/CMakeLists.txt#L27 ) is to use Lua, not LuaJIT. So to compile you have to run:
or first install Lua:
In old version of
CMakeLists.txt
there was detection if Lua/LuaJIT is installed and it picked version installed in system by default. Now it's always Lua by default, so Ubuntu compilation instruction should containliblua5.3-dev
in place oflibluajit-5.1-dev
. There are be also added instruction how to compile with LuaJIT.Possible Solutions
No response