HID-Joy-Con-Whispering icon indicating copy to clipboard operation
HID-Joy-Con-Whispering copied to clipboard

No hidapi/hidapi.h file

Open reaman06 opened this issue 6 years ago • 5 comments

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?

reaman06 avatar Apr 19 '18 14:04 reaman06

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

fabiscafe avatar May 30 '18 16:05 fabiscafe

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

Lacie295 avatar Jul 26 '18 20:07 Lacie295

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

existentialcomics avatar Aug 17 '18 01:08 existentialcomics

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.

arun-kumar-paramasivam avatar Jan 06 '22 04:01 arun-kumar-paramasivam

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!

mattjes avatar Jul 25 '23 20:07 mattjes