libusb 1.0 Windows binary snapshot - README ********************************************************************* * The latest version of this snapshot can always be downloaded at: * * https://github.com/libusb/libusb/releases * ********************************************************************* o Visual Studio: - Open existing or create a new project for your application - Copy libusb.h, from the include\libusb-1.0\ directory, into your project and make sure that the location where the file reside appears in the 'Additional Include Directories' section (Configuration Properties -> C/C++ -> General). - Copy the relevant .lib file from MS32\ or MS64\ and add 'libusb-1.0.lib' to your 'Additional Dependencies' (Configuration Properties -> Linker -> Input) Also make sure that the directory where libusb-1.0.lib resides is added to 'Additional Library Directories' (Configuration Properties -> Linker -> General) - By default, static libusb statically links against the CRT and the dll build dynamically links against CRT. You need to rebuild libusb from source to change this if required by your application. - Compile and run your application. If you use the DLL version of libusb-1.0, remember that the DLL needs to be in the DLL search path of your application. o MinGW/cygwin - Copy libusb.h, from include/libusb-1.0/ to your default include directory, and copy the MinGW32/ or MinGW64/ .a files to your default library directory. Or, if you don't want to use the default locations, make sure that you feed the relevant -I and -L options to the compiler. - Add the '-lusb-1.0' linker option when compiling. o Additional information: - The libusb 1.0 API documentation can be accessed at: http://api.libusb.info - For some libusb samples (including source), please have a look in examples/ - For additional information on the libusb 1.0 Windows backend please visit: http://windows.libusb.info - Using the UsbDk backend is now a run-time choice rather than a compile-time choice. For additional information, including example usage, please visit: http://windows.libusb.info/#Driver_Installation - The MinGW and MS generated DLLs are fully interchangeable, provided that you use the import libs provided or generate one from the .def also provided. - If you find any issue, please visit http://libusb.info/ and check the Support section