libusbp icon indicating copy to clipboard operation
libusbp copied to clipboard

The Pololu USB Library (also known as libusbp) is a cross-platform C library for accessing USB devices.

Results 7 libusbp issues
Sort by recently updated
recently updated
newest added

Hey, and thanks for a very useful library. I tried to follow the style used in the project, but I only have a Mac to test on, and not the...

Used clang-tidy autofixes from CLion. Mostly pedantic/redundant fixes, but less warnings popping up means the real problems are easier to spot later :)

Attempting to use CMakes fetchcontent() facility or simply including this project as a sub-project (or dependency) of another CMake project fails due to incorrect use of CMAKE_SOURCE_DIR in when setting...

Under Windows, I need to access device's friendly name (`SetupDiGetDeviceRegistryProperty` with property `SPDRP_FRIENDLYNAME`). This information is not part of `libusbp::device`. May it be added to the API? It's probably only...

Fix compile issue when used as submodule: 1.Modify BUILD_SHARED_LIBS to BUILD_LIBUSBP_SHARED_LIBS to avoid potential conflicts. 2.Modify the header file include path relative to the current CMakeLists.txt to avoid compilation errors...

Some Linux distributions decided to install libraries into /usr/lib64 instead of /usr/lib. Thus, the `GNUInstallDirs` module should be used.

When added as a CMake submodule to our project, on Windows using MSVC we get: ``` error LNK2001: unresolved external symbol GUID_DEVINTERFACE_USB_DEVICE ``` [This Stackoverflow answer](https://stackoverflow.com/a/48550614) suggests including `initguid.h` before...