andreasjhkarlsson / mac-dial

macOS support for the Surface Dial
MIT License
181 stars 32 forks source link

cannot find xxx in scope #8

Closed xusongpei closed 2 years ago

xusongpei commented 2 years ago

Why it gives me such error: cannot find 'hid_get_manufacturer_string' in scope, and also 'hid_get_serial_number_string', 'hid_close', 'hid_open' etc.?

andreasjhkarlsson commented 2 years ago

Sounds like you didn't clone the hidapi submodule. Try $ git submodule update --init and then run build_hidapi.sh before building from xcode.