shinyquagsire23 / HID-Joy-Con-Whispering

Talk to Joy-Con from a PC because it's cool
MIT License
179 stars 23 forks source link

No hidapi/hidapi.h file #13

Open reaman06 opened 6 years ago

reaman06 commented 6 years ago

m_reaman@appleacer ~/HID-Joy-Con-Whispering/uinputdriver $ make cc -o uinputdriver uinputdriver.c -lpthread -ludev -lhidapi-hidraw -s uinputdriver.c:11:27: fatal error: hidapi/hidapi.h: No such file or directory compilation terminated. Makefile:19: recipe for target 'uinputdriver' failed make: *** [uinputdriver] Error 1 After cloning the target to my desktop on Linux mint, I ran the above code and received the above error. Any fix?

fabiscafe commented 6 years ago

install the package that contains that file. You need to get the dependencies for yourself. Thats not a bug

Lacie295 commented 6 years ago

I have both hidraw and libusb installed but still get the same error, I don't know what I'm probably doing wrong

existentialcomics commented 6 years ago

On Ubuntu I needed to install this: sudo apt-get install libhidapi-dev

arun-kumar-paramasivam commented 2 years ago

Hey fellas, I also faced the same issue on my raspberry pi. I tried experimenting the solution suggested by @existentialcomics and the error went off. I still experimenting that the issue is fully went off.

mattjes commented 1 year ago

Hey fellas, I also faced the same issue on my raspberry pi. I tried experimenting the solution suggested by @existentialcomics and the error went off. I still experimenting that the issue is fully went off.

Thanks for linking the solution!