g810-led
g810-led copied to clipboard
OSX Makefile changes
See #174
Duplicate with #193 Some diff but is g810-led working for OSX?
With the prerequisite dependency (brew install hidapi
) installed, and after applying the makefile changes made by @Digicrat I can successfully compile it on OS X (v10.13).
sudo make install
however does not work correctly because OS X doesn't allow users to mess with /usr/bin. /usr/local/bin would be the right install path in this case.
The software itself only appears to work correctly when run with sudo, however. When run without root privileges it returns a Matching or compatible device not found !
error.
Also worthy of note, OS X uses launchd instead of systemd. The way of having the utility start automatically on boot on OS X is making a Launch Daemon.