• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1              libusb 1.0 Windows CE binary snapshot - README
2
3   *********************************************************************
4   *  The latest version of this snapshot can always be downloaded at: *
5   *         https://sourceforge.net/projects/libusb/files/           *
6   *********************************************************************
7
8The binaries contained in this snapshot are licensed under the
9GNU Lesser General Public License version 2.1 or, at your option, any later
10version (see COPYING for further details). The source code for these binaries
11is available for download at the same location as this binary snapshot.
12
13o Visual Studio:
14  - Open existing or create a new project for your application
15  - Copy libusb.h, from the include\libusb-1.0\ directory, into your project and
16    make sure that the location where the file reside appears in the 'Additional
17    Include Directories' section (Configuration Properties -> C/C++ -> General).
18  - Copy the relevant .lib file from ARMV4I, MIPSII, MIPSII_FP, MIPSIV, MIPSIV_FP,
19    SH4 or x86 and add 'libusb-1.0.lib' to  your 'Additional Dependencies'
20    (Configuration Properties -> Linker -> Input). Also make sure that the
21    directory where libusb-1.0.lib resides is added to 'Additional Library
22    Directories' (Configuration Properties -> Linker -> General)
23  - If you use the static version of the libusb library, make sure that
24    'Runtime Library' is set to 'Multi-threaded DLL (/MD)' (Configuration
25    Properties -> C/C++ -> Code Generation).
26    NB: If your application requires /MT (Multi-threaded/libCMT), you need to
27    recompile a static libusb 1.0 library from source.
28  - Compile and run your application. If you use the DLL version of libusb-1.0,
29    remember that you need to have a copy of the DLL either in the runtime
30    directory or in system32
31
32o Additional information:
33  - The libusb 1.0 API documentation can be accessed at:
34    http://api.libusb.info
35  - For some libusb samples (including source), please have a look in examples/
36  - For additional information on the libusb 1.0 Windows backend please visit:
37    http://windows.libusb.info
38  - It is necessary to install the CE USB Kernel Wrapper driver for libusb to
39    function on a device. This is obtainable from:
40    https://github.com/RealVNC/CEUSBKWrapper
41  - If you find any issue, please visit http://libusb.info/ and check the
42    Support section
43