I have gstreamer and VSC installed on UBUNTU 18.04, and I can compile and run gstreamer tutorials from system command prompt by using instructions here: https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c
Specifically, I can compile and run (The video pops up and plays):
gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs gstreamer-1.0
I can even compile, but not run from the terminal/bash inside of VSC.
What I cannot do is compile or debug the code using the VSC IDE. I have tried to configure the tasks.json file using the above suggested command from gstreamer tutorial like below.
When I try to run from the IDE by using ctr-f5, I get the below.
If I click show errors I get the below:
Any help is very much appreciated. Cheers!