Post by Edgar FuÃsrc/Makefile uses -lIOKit, which doesn’t work on recent versions of OS X. It should be using -framework IOKit instead.
On a related note, I don’t understand why it quotes CoreFoundation (on the same line).
To be honest, it should be using the output of `libusb-config --libs` instead (which implicitly addresses both of those points).
But once you do that, you are still fighting the OS X USB HID drivers. At one point, it was possible to install a "codeless KEXT" to prevent the kernel HID drivers from binding to the USB device, but I am not sure if that is still an option. At the very least, it probably requires a developer certificate.
You may want to check out the HIDAPI project instead - if I recall correctly, it uses the native HID interface on OS X (probably on Windows as well).
--
- Charles Lepple
http://ghz.cc/charles/