-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Lucas Dupont edited this page May 11, 2023
·
5 revisions
You need to install make, cmake, libconfig++ & g++ > 11 to compile this project If you want to use graphical part, you also need SFML & zenity
sudo apt update
sudo apt install g++ make cmake libconfig-dev libsfml-dev zenity
sudo dnf update
sudo dnf install g++ make cmake libconfig-devel SFML zenity
You also need to download stb_image (for texture):
cd /tmp
git clone https://github.com/nothings/stb.git
sudo cp stb/stb_image.h /usr/local/include/
rm -r stb
First, create build directory
cd build
cmake ..
make
cd ..
./raytracer
cd build
cmake -G Ninja ..
ninja
cd ..
./raytracer
A script is available for easy installation. You just need to run it with sudo to install all the dependencies.
sudo bash install_dependencies.sh