To build the samples, you need premake.
Copy the sample folder next to the RIF package (so at the same level than the bin, include and model folder) and run the following 

For windwows
premake vs2017

For linux
premake5 gmake

For OSX
premake5 gmake
or
premake5 xcode