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:

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]

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


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.