Closed NickAlvar91 closed 1 month ago
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)
libusb1.0.24 path to "libusb.h" ($ENV{LIBUSB_ROOT}/include/libusb-1.0)
In the version 1.0.26 (as of June 6, 2022)
folder structure has changed version libusb1.0.24 current version (libusb1.0.26)
libusb.h file is now in each sub directory
VS2019 removed and libusb-1.0.lib under VS2015-win32
This has been fixed with picotool 2.0.0 if you download the latest libusb 1.0.27 release
The findLIBUSB.cmake file points to folders that existed in "libusb-1.0.24"
libusb1.0.24 path to "libusb-1.0.lib" ( $ENV{LIBUSB_ROOT}/VS2019/MS32/static)
libusb1.0.24 path to "libusb.h" ($ENV{LIBUSB_ROOT}/include/libusb-1.0)
In the version 1.0.26 (as of June 6, 2022)
folder structure has changed version libusb1.0.24 current version (libusb1.0.26)
libusb.h file is now in each sub directory
VS2019 removed and libusb-1.0.lib under VS2015-win32