ZakKemble / libmcp2221

MCP2221 HID Library
https://blog.zakkemble.net/mcp2221-hid-library/
GNU General Public License v3.0
53 stars 14 forks source link

Compiling for Mac (Ventura) #7

Open skal65535 opened 1 year ago

skal65535 commented 1 year ago

Hi,

FYI, i had to use the extra options '-framework CoreFoundation -framework IOKit' instead of '-ludev' when compiling for Mac with clang. You may want to have a special section in the Makefile for it.

Also, '-static-gcc' is not recognized by clang, although '-static-libstdc++' is.

Thanks!