I'm not sure, if list of 'build tools' includes all required tools, as I compiled in on system with all TFS/canary libraries.
Tested on Ubuntu 22.04. Based on otcv8-dev/.github/workflows/ci-cd.yml at master · OTCv8/otcv8-dev (https://github.com/OTCv8/otcv8-dev/blob/master/.github/workflows/ci-cd.yml)
Install build tools:
Install vcpkg, checkout required commit version, install C++ libraries:
Download OTCv8:
Build using ninja. In OTCv8 folder (I've installed vcpkg in
Move compiled
Tested on Ubuntu 22.04. Based on otcv8-dev/.github/workflows/ci-cd.yml at master · OTCv8/otcv8-dev (https://github.com/OTCv8/otcv8-dev/blob/master/.github/workflows/ci-cd.yml)
Install build tools:
Code:
sudo apt install git cmake ninja-build g++
Install vcpkg, checkout required commit version, install C++ libraries:
Code:
git clone [email protected]:microsoft/vcpkg.git vcpkg_otcv8
cd vcpkg_otcv8
git checkout 761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e
./bootstrap-vcpkg.sh
./vcpkg install boost-iostreams boost-asio boost-system boost-variant boost-lockfree boost-beast glew boost-filesystem boost-uuid libogg libvorbis zlib opengl libzip openal-soft bzip2 boost-process openssl physfs
Download OTCv8:
Build using ninja. In OTCv8 folder (I've installed vcpkg in
/home/jskalski/p/prv/ots/vcpkg_otcv8
, replace path to vcpkg to your path):
Code:
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE="Release" -DCMAKE_TOOLCHAIN_FILE=/home/jskalski/p/prv/ots/vcpkg_otcv8/scripts/buildsystems/vcpkg.cmake ..
ninja -j 4
otclient
to main OTC folder:
Code:
mv otclient ../otclient
Last edited: