Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wiringPi.h: No such file or directory #83

Open
Andrei-Iosifescu123 opened this issue Apr 17, 2023 · 1 comment
Open

wiringPi.h: No such file or directory #83

Andrei-Iosifescu123 opened this issue Apr 17, 2023 · 1 comment

Comments

@Andrei-Iosifescu123
Copy link

Andrei-Iosifescu123 commented Apr 17, 2023

When trying to install 433Utils, I came across this error:

pi@raspberrypi:~/433Utils/RPi_utils$ make
g++ -DRPI   -c -o ../rc-switch/RCSwitch.o ../rc-switch/RCSwitch.cpp
In file included from ../rc-switch/RCSwitch.cpp:34:
../rc-switch/RCSwitch.h:43:14: fatal error: wiringPi.h: No such file or directory
   43 |     #include <wiringPi.h>
      |              ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: ../rc-switch/RCSwitch.o] Error 1

I tried replacing #include <wiringPi.h> with #include </usr/include/wiringPi.h>, but it seems that file does not exist. I installed wiringPi with sudo apt-get install wiringpi, but i couldn't find the wiringPi.h file.

@hmueller01
Copy link
Contributor

Take a look at dpkg-query -L wiringpi if you find wiringPi.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants