I tried 3 different method no succeded for running the code
cd amazon-kinesis-video-streams-producer-sdk-cpp/build ./kvs_gstreamer_sample PiStream