Gui branch was a bit easier to compile using Cmake so to run this branch do:
mkdir build cd build cmake .. make ./cuda-raytracer