Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22175

How to use the hidapi library from Signal11?

$
0
0

I installed the hidapi library from Signall11 on my windows10 pc (using minGW). But now I'm having some trouble actually getting it to work with gcc. I have some main.c file in which I include the hidapi.h file. My gcc command looks like

gcc main.c

I'm not sure where I'm going wrong because whenever I try to run this command I get an undefined reference error to some function that is defined in the hidapi.h file.


Viewing all articles
Browse latest Browse all 22175


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>