-
Notifications
You must be signed in to change notification settings - Fork 3
Compiling on Ubuntu Server 20.04
José Ángel Soler Ortiz edited this page Aug 15, 2023
·
19 revisions
sudo apt install build-essential pkg-config autoconf autoconf-archive libdbus-1-dev libxi-dev libxtst-dev curl zip unzip tar bison libxrender-dev libxrandr-dev ninja-build
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg install boost catch2 hyperscan tbb fmt opencv
cd ..
git clone https://github.com/joseasoler/todds.git
cd todds
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=[path in which todds will be placed] -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux
cmake --build . --target install