libusb

所属分类:USB编程
开发工具:C#
文件大小:1552KB
下载次数:25
上传日期:2020-02-28 06:15:31
上 传 者AIR890323
说明:  usblib完整库,包含例子,各位仅供参考一下
(Usblib complete library, including examples)

文件列表:
libusb\examples\bin32\fxload.exe (99328, 2018-03-25)
libusb\examples\bin32\listdevs.exe (83968, 2018-03-25)
libusb\examples\bin32\testlibusb.exe (91136, 2018-03-25)
libusb\examples\bin32\xusb.exe (104960, 2018-03-25)
libusb\examples\bin64\fxload.exe (114688, 2018-03-25)
libusb\examples\bin64\listdevs.exe (99840, 2018-03-25)
libusb\examples\bin64\testlibusb.exe (108544, 2018-03-25)
libusb\examples\bin64\xusb.exe (123904, 2018-03-25)
libusb\examples\source\ezusb.c (24538, 2018-03-25)
libusb\examples\source\ezusb.h (4431, 2018-03-25)
libusb\examples\source\fxload.c (9661, 2018-03-25)
libusb\examples\source\listdevs.c (1893, 2018-03-25)
libusb\examples\source\stdint.h (7315, 2018-03-25)
libusb\examples\source\testlibusb.c (8920, 2018-03-25)
libusb\examples\source\xusb.c (39690, 2018-03-25)
libusb\include\libusb-1.0\libusb.h (74841, 2018-03-25)
libusb\libusb-1.0.def (7722, 2018-03-25)
libusb\MinGW32\dll\libusb-1.0.dll (257912, 2018-03-25)
libusb\MinGW32\dll\libusb-1.0.dll.a (140064, 2018-03-25)
libusb\MinGW32\static\libusb-1.0.a (182472, 2018-03-25)
libusb\MinGW64\dll\libusb-1.0.dll (280371, 2018-03-25)
libusb\MinGW64\dll\libusb-1.0.dll.a (140764, 2018-03-25)
libusb\MinGW64\static\libusb-1.0.a (199682, 2018-03-25)
libusb\MS32\dll\libusb-1.0.dll (102912, 2018-03-25)
libusb\MS32\dll\libusb-1.0.lib (49464, 2018-03-25)
libusb\MS32\dll\libusb-1.0.pdb (953344, 2018-03-25)
libusb\MS32\static\libusb-1.0.lib (937612, 2018-03-25)
libusb\MS64\dll\libusb-1.0.dll (121856, 2018-03-25)
libusb\MS64\dll\libusb-1.0.lib (46686, 2018-03-25)
libusb\MS64\dll\libusb-1.0.pdb (904192, 2018-03-25)
libusb\MS64\static\libusb-1.0.lib (968654, 2018-03-25)
libusb\examples\bin32 (0, 2020-02-28)
libusb\examples\bin64 (0, 2020-02-28)
libusb\examples\source (0, 2020-02-28)
libusb\include\libusb-1.0 (0, 2020-02-28)
libusb\MinGW32\dll (0, 2020-02-28)
libusb\MinGW32\static (0, 2020-02-28)
libusb\MinGW64\dll (0, 2020-02-28)
libusb\MinGW64\static (0, 2020-02-28)
... ...

libusb 1.0 Windows binary snapshot - README ********************************************************************* * The latest version of this snapshot can always be downloaded at: * * https://sourceforge.net/projects/libusb/files/ * ********************************************************************* 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 MS***\ 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) - If you use the static version of the libusb library, make sure that 'Runtime Library' is set to 'Multi-threaded DLL (/MD)' (Configuration Properties -> C/C++ -> Code Generation). NB: If your application requires /MT (Multi-threaded/libCMT), you need to recompile a static libusb 1.0 library from source. - Compile and run your application. If you use the DLL version of libusb-1.0, remember that you need to have a copy of the DLL either in the runtime directory or in system32 o WDK/DDK: - The following is an example of a sources files that you can use to compile a libusb 1.0 based console application. In this sample ..\libusb\ is the directory where you would have copied libusb.h as well as the relevant libusb-1.0.lib TARGETNAME=your_app TARGETTYPE=PROGRAM USE_MSVCRT=1 UMTYPE=console INCLUDES=..\libusb;$(DDK_INC_PATH) TARGETLIBS=..\libusb\libusb-1.0.lib SOURCES=your_app.c - Note that if you plan to use libCMT instead of MSVCRT (USE_LIBCMT=1 instead of USE_MSVCRT=1), you will need to recompile libusb to use libCMT. This can easily be achieved, in the DDK environment, by running 'ddk_build /MT' o MinGW/cygwin - Copy libusb.h, from include/libusb-1.0/ to your default include directory, and copy the MinGW32/ or MinGW***/ .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 - 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

近期下载者

相关文件


收藏者