g810-led icon indicating copy to clipboard operation
g810-led copied to clipboard

OSX Makefile changes

Open Digicrat opened this issue 4 years ago • 2 comments

See #174

Digicrat avatar Mar 16 '20 00:03 Digicrat

Duplicate with #193 Some diff but is g810-led working for OSX?

MatMoul avatar Apr 28 '20 01:04 MatMoul

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.

aprovera avatar May 06 '20 10:05 aprovera