Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8044

C/C++ • Re: file or directory does not exist error message

$
0
0
I'm trying to run my first code on the raspberry pi

Code:

blink.cpp:1:10: fatal error: wiringPi.h: No such file or directory    1 | #include <wiringPi.h>
Does this mean that C++ isn't installed?
No, the C++ compiler is printing the error.
If so, how do I install C++ and/or wiringPi.h?

Is wiringPi.h deprecated for RPi5?
WiringPi won't work on a Raspberry Pi 5 due to changes in the hardware. The libgpio is the best way to go these days. I did a quick search, but didn't find a good blink example using libgpio, but I am sure there are some around.

Statistics: Posted by AndyD — Sat Jan 04, 2025 11:17 pm



Viewing all articles
Browse latest Browse all 8044

Trending Articles