-
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
sudo snap install cmake --classic
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
cd ..
git clone https://github.com/joseasoler/todds.git
cd todds
python3 ./get_ispc.py
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