How to compile rx_multi_samples.cpp file on linux

I am trying to compile rx_multi_samples.cpp file but it failed with
errors. All the library include files are already in the system. If
anyone of you have done this type of compilation on Linux system please
help me out in any clues regarding this problem.