WiringPi / WiringPi-Node

Node.js bindings to wiringPi
333 stars 94 forks source link

Can not install wiring pi while using macOS #83

Open adipascu opened 6 years ago

adipascu commented 6 years ago

When adding it from npm I get the Making libWiringPi ... failed.. I would be useful to have a warning thrown instead of a crash when installing the package on a non-supported platform.

michaeljanich commented 6 years ago

WiringPi is not for MacOSX - macs have no IO pins, so it would be useless.

This project is Raspberry Pi only.

davidhq commented 6 years ago

Yes but one can develop RPi code on macOS, right?

It would be mandatory that the package installs on any platform even if it won't be used at runtime.

Without this WiringPi-Node is rather useless :/

esolliday commented 6 years ago

I am in a similar situation...I have setup a cross-compile environment, building applications for the RasPi on the MAC. I would like the wiringPi library to live on the build host (the MAC), but after I install from GIT and start to build the library, the build script generates several errors which I have not yet been able to work around. Have been so far unsuccessful building the libraries...unless there is another approach to setting up the cross compile environment. :)