• 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 TFS 1.6 on wsl ubuntu 24.04 returning cmake errors

dumia

New Member
Joined
Sep 18, 2024
Messages
10
Reaction score
1
GitHub
dumia
Hi folks, was compiling the new TFS 1.6 following the compiling instructions at Compiling on Linux & Mac OS X (vcpkg) (https://github.com/otland/forgottenserver/wiki/Compiling-on-Linux-%26-Mac-OS-X-%28vcpkg%29) and got an erro

I'm doing this on wsl ubuntu 24.04.

After cloning the git repo for 1.6 i ran:
cmake --preset vcpkg

which yielded the following error:

error: building boost-detail:x64-linux failed with: BUILD_FAILED
See Troubleshoot build failures (https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli) for more information.
Elapsed time to handle boost-detail:x64-linux: -1.56e+08 ns
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
Issues · microsoft/vcpkg (https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-detail)
You can submit a new issue at:
Build software better, together (https://github.com/microsoft/vcpkg/issues/new?title=[boost-detail]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Fhome%2Fdumia%2Fforgottenserver%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md)

-- Running vcpkg install - failed
CMake Error at /home/dumia/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message):
vcpkg install failed. See logs for more information:
/home/dumia/forgottenserver/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
/usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:170 (include)
CMakeLists.txt:34 (project)


CMake Error: CMake was unable to find a build program corresponding to "Ninja Multi-Config". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

Anyone have any idea how to fix it?

Thanks in advance.
 
Back
Top