Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] FindLIBUSB.cmake points to an old include and library paths #52

Open
NickAlvar91 opened this issue Jun 10, 2022 · 0 comments
Open

Comments

@NickAlvar91
Copy link

The findLIBUSB.cmake file points to folders that existed in "libusb-1.0.24"

FIND_PATH(LIBUSB_INCLUDE_DIR libusb.h
       ***HINTS $ENV{LIBUSB_ROOT}/include/libusb-1.0***
       PATHS ${PC_LIBUSB_INCLUDEDIR} ${PC_LIBUSB_INCLUDE_DIRS})
FIND_LIBRARY(LIBUSB_LIBRARIES NAMES libusb-1.0 usb-1.0 usb
       ***HINTS $ENV{LIBUSB_ROOT}/VS2019/MS32/static***

libusb1.0.24 path to "libusb-1.0.lib" ( $ENV{LIBUSB_ROOT}/VS2019/MS32/static)
image

libusb1.0.24 path to "libusb.h" ($ENV{LIBUSB_ROOT}/include/libusb-1.0)
image

In the version 1.0.26 (as of June 6, 2022)

  • folder structure has changed
    version libusb1.0.24
    image
    current version (libusb1.0.26)
    image

  • libusb.h file is now in each sub directory
    image

  • VS2019 removed and libusb-1.0.lib under VS2015-win32
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant