rustui / hid

A cross platform plugin for communicating with HID devices for Flutter applications.
11 stars 7 forks source link

Failed to lookup symbol 'hid_enumerate': dlsym(RTLD_DEFAULT, hid_enumerate): symbol not found #10

Closed MaxSKuzin closed 2 years ago

MaxSKuzin commented 2 years ago

Trying to get device list on MacOS and facing this issue.

jgop commented 2 years ago

I have the same issue in MacOS...

MaxSKuzin commented 2 years ago

I have the same issue in MacOS...

Found solution. You need to copy hid.c for MacOS from https://github.com/libusb/hidapi#installing-hidapi and all files which it depends on

jgop commented 2 years ago

Hello, thanks for the help. But i Copy the files and paste were? I am new in flutter...

MaxSKuzin commented 2 years ago

Hello, thanks for the help. But i Copy the files and paste were? I am new in flutter...

Paste them in macos/runner. After that add them with xcode