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

TFS 1.X+ Compiling OServBR Error

Szmycu

Tibiaservers.net
Joined
Sep 2, 2008
Messages
63
Reaction score
5
Location
Poland
Im using Debian 11
I have followed this tutorial and get into trouble
https://forums.otserv.com.br/index....vbr-global-nginx-mysql-opentibiabr-gesioraac/

I getting error on making last function:
Lua:
git clone https : //github.com/microsoft/vcpkg
cd vcpkg
./ bootstrap - vcpkg . sh
cd ..

git clone -- depth 1 https : //github.com/opentibiabr/otservbr-global.git
cd otservbr - global
mkdir build && cd build

cmake - DCMAKE_TOOLCHAIN_FILE =~ /vcpkg/ scripts / buildsystems / vcpkg . cmake ..
make - j `nproc`

I got error

Code:
[  1%] Linking CXX executable ../bin/otbr
/usr/bin/ld: /tmp/otbr.lDh92m.ltrans6.ltrans.o: in function `boost::filesystem::path::relative_path() const':
<artificial>:(.text+0x2e0b84): undefined reference to `boost::filesystem::path::find_relative_path() const'
/usr/bin/ld: /tmp/otbr.lDh92m.ltrans6.ltrans.o: in function `boost::filesystem::path::parent_path() const':
<artificial>:(.text+0x2e0bf4): undefined reference to `boost::filesystem::path::find_parent_path_size() const'
/usr/bin/ld: /tmp/otbr.lDh92m.ltrans6.ltrans.o: in function `Scripts::loadEventSchedulerScripts(std::__cxx11::basic
_string<char, std::char_traits<char>, std::allocator<char> > const&)':
<artificial>:(.text+0x2e158a): undefined reference to `boost::filesystem::path::extension_v3() const'
/usr/bin/ld: <artificial>:(.text+0x2e1605): undefined reference to `boost::filesystem::path::filename_v3() const'
/usr/bin/ld: /tmp/otbr.lDh92m.ltrans6.ltrans.o: in function `Scripts::loadScripts(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, bool, bool)':
<artificial>:(.text+0x2e1b6f): undefined reference to `boost::filesystem::path::filename_v3() const'
/usr/bin/ld: <artificial>:(.text+0x2e1c2c): undefined reference to `boost::filesystem::path::extension_v3() const'
/usr/bin/ld: <artificial>:(.text+0x2e1ca7): undefined reference to `boost::filesystem::path::filename_v3() const'
/usr/bin/ld: <artificial>:(.text+0x2e1d41): undefined reference to `boost::filesystem::path::filename_v3() const'
/usr/bin/ld: <artificial>:(.text+0x2e2016): undefined reference to `boost::filesystem::path::filename_v3() const'
/usr/bin/ld: <artificial>:(.text+0x2e2180): undefined reference to `boost::filesystem::path::filename_v3() const'
/usr/bin/ld: <artificial>:(.text+0x2e22ba): undefined reference to `boost::filesystem::path::filename_v3() const'
/usr/bin/ld: /tmp/otbr.lDh92m.ltrans6.ltrans.o:<artificial>:(.text+0x2e2388): more undefined references to `boost::
filesystem::path::filename_v3() const' follow
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/otbr.dir/build.make:1464: bin/otbr] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/otbr.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Maybe someone know where to change this boost::filesystem::path ?
 
Top