Onboard-SDK
Onboard-SDK copied to clipboard
Error linking OSDK
Make returns "undefined reference to `libusb_init' " among other libusb related errors allthough pkg is present on GCC: (Raspbian 8.3.0-6+rpi1) 8.3.0.
The lib is present on the system: pkg-config --libs libusb returns -lusb. But actually linking against libusb with the flag -lusb doesn't work, but using the flag -lusb-1.0 works. Since the linker is called with -lusb in the project the build fails. How to change that?