-
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 zenitysudo dnf update
sudo dnf install g++ make cmake libconfig-devel SFML zenityYou 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 stbFirst, create build directory
cd build
cmake ..
make
cd ..
./raytracercd build
cmake -G Ninja ..
ninja
cd ..
./raytracerA script is available for easy installation. You just need to run it with sudo to install all the dependencies.
sudo bash install_dependencies.sh