Make won't work when trying to build on a different raspberry pi

Viewed 31

I have a c++ based hardware driver code that talks to some circuitry to read data. It is running perfectly, on one Rasbperry Pi.

I transferred the complete code from this raspberry pi to another one. Now on this new raspberry pi, the 'make' command won't work.

The error says: error while loading share libraries: libwiringPi.so: cannot open shared object file: No such file or directory

What am I doing wrong?

0 Answers
Related