Skip to content

wiringPi.h: No such file or directory #83

@Andrei-Iosifescu123

Description

@Andrei-Iosifescu123

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions