wangii / raspbian-static-libs

0 stars 1 forks source link

wiringPi support - 'gpio' binary needed #1

Open dslc opened 6 years ago

dslc commented 6 years ago

The wiringPiISR() routine from the wiringPi.so library tries to invoke the gpio program from its own package.

To overcome this I cloned the wiringPi repository, then

  1. compiled the gpio program with RPATH set to /opt/vorail/lib;
  2. added libwiringPiDev.so to lib (in this repository);
  3. added gpio to bin (in this repository).

For the time being I have saved these changes on a separate branch of this repository.

In the Vorail-Companion repository: I have updated the xmake plugin to import these libraries and binaries in to the Debian package.

wangii commented 6 years ago

could you submit a PR to merge into the master branch? thanks

dslc commented 6 years ago

Hi Linan. I will try do a quick sanity check on the changes I have made as soon as I have time and then send that pull request.

Thanks.