Libusbpp
Libusbpp copied to clipboard
Building under linux
There are a few issues which prevent a full build on linux with gcc
- libusb.h include path assumes that the file lies in
/libusb/, which might not be true for all systems (on fedora 19 the subdirectory is libusb-1.0). it would be better to just include libusb.h and set the directory as include path via pkg-config. - std::exception has no constructor which takes a c-string as argument (this seems to be microsoft-specific)
- include file names are not compatible with case-sensitive systems (eg. Interface.h is included as interface.h)