Raspberry Pi > Push data on request: Getting fatal errors such as: BlynkApiLinux.h: No such file or directory

I had installed blynk globally in my raspberry pi according to the following instructions:
http://help.blynk.cc/how-to-connect-different-hardware-with-blynk/raspberry-pi/how-to-install-nodejs-library-on-linux

Everything worked fine. But when trying to use virtual pins following these instructions I get fatal errors such as:
fatal error: BlynkApiLinux.h: No such file or directory
fatal error: BlynkSocket.h: No such file or directory

The sketch I tried to compile and execute comes from [RPi> Push data on request]
(https://examples.blynk.cc/?board=Raspberry%20Pi&shield=System%20default&example=GettingStarted%2FPushDataOnRequest&auth=743c2960292a4f82b11d90c85b663255)

I just need to use virtual pins to display sensor data from RPi in the blynk app.

Thanks.

Those sketches are WiringPi (C++) based, not NodeJS.

You will need to look at this GitHub resource, as well as searching this forum (for NodeJS, JS, Javascript, etc.) for java script based examples.