usb c++ programming question
This might be out of the scope of these forums, but I'm doing some programming in C++ using libusb, and also trying to use functions like usb_alloc_urb, usb_free_urb, etc to complete some data transfers across USB. But, when I compile using g++ and, even including the -lusb option for including the usb library, I'm getting "was not declared in this scope" error for the above functions.
Looking into things, it seems I'm missing a header file in the usr/include/linux directory where these functions defined, specifically usb.h (which is different than the usr/include/usb.h). I'm curious if I'm missing a package I should install (having looked through the package manager, I'm not finding where that might be), but since some of the include files in the linux directory are renamed, if perhaps I'm just missing where the correct, already installed, header file is at.
Any help would be appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- deadcricket
- Solved:
- Last query:
- Last reply: