-
how to include usb.h ?
hello forum!!!
i have no idea about c. so i dont know how to fix this:
i want to install a prgramm via make and there is a include for "usb.h" somwhere and this line causes the error "file not found".
so i guess i have to edit Makefile in order to tell gcc how usb.h is?
what should i do?
thank you
-
at first locate usb.h on your filesystem:
The go through the makefiles and try to find the place where it defines additional include directories. All directories which shows up there should also be visibe inside the compiler output behind the string "-I".
Add the directory you found in step one to the makefile.
Run make distclean.
Run Make again.
Try until it works :)
-
..or just install libusb-dev
(-;