Blame .private/wbs.txt

Packit Service b0a153
              libusb 1.0 Windows binary snapshot - README
Packit Service b0a153
Packit Service b0a153
   *********************************************************************
Packit Service b0a153
   *  The latest version of this snapshot can always be downloaded at: *
Packit Service b0a153
   *         https://sourceforge.net/projects/libusb/files/           *
Packit Service b0a153
   *********************************************************************
Packit Service b0a153
Packit Service b0a153
o Visual Studio:
Packit Service b0a153
  - Open existing or create a new project for your application
Packit Service b0a153
  - Copy libusb.h, from the include\libusb-1.0\ directory, into your project and
Packit Service b0a153
    make sure that the location where the file reside appears in the 'Additional
Packit Service b0a153
    Include Directories' section (Configuration Properties -> C/C++ -> General).
Packit Service b0a153
  - Copy the relevant .lib file from MS32\ or MS64\ and add 'libusb-1.0.lib' to
Packit Service b0a153
    your 'Additional Dependencies' (Configuration Properties -> Linker -> Input)
Packit Service b0a153
    Also make sure that the directory where libusb-1.0.lib resides is added to
Packit Service b0a153
    'Additional Library Directories' (Configuration Properties -> Linker
Packit Service b0a153
    -> General)
Packit Service b0a153
  - If you use the static version of the libusb library, make sure that
Packit Service b0a153
    'Runtime Library' is set to 'Multi-threaded DLL (/MD)' (Configuration
Packit Service b0a153
    Properties -> C/C++ -> Code Generation).
Packit Service b0a153
    NB: If your application requires /MT (Multi-threaded/libCMT), you need to
Packit Service b0a153
    recompile a static libusb 1.0 library from source.
Packit Service b0a153
  - Compile and run your application. If you use the DLL version of libusb-1.0,
Packit Service b0a153
    remember that you need to have a copy of the DLL either in the runtime
Packit Service b0a153
    directory or in system32
Packit Service b0a153
Packit Service b0a153
o WDK/DDK:
Packit Service b0a153
  - The following is an example of a sources files that you can use to compile
Packit Service b0a153
    a libusb 1.0 based console application. In this sample ..\libusb\ is the
Packit Service b0a153
    directory where you would have copied libusb.h as well as the relevant 
Packit Service b0a153
    libusb-1.0.lib
Packit Service b0a153
Packit Service b0a153
	TARGETNAME=your_app
Packit Service b0a153
	TARGETTYPE=PROGRAM
Packit Service b0a153
	USE_MSVCRT=1
Packit Service b0a153
	UMTYPE=console
Packit Service b0a153
	INCLUDES=..\libusb;$(DDK_INC_PATH)
Packit Service b0a153
	TARGETLIBS=..\libusb\libusb-1.0.lib
Packit Service b0a153
	SOURCES=your_app.c
Packit Service b0a153
Packit Service b0a153
  - Note that if you plan to use libCMT instead of MSVCRT (USE_LIBCMT=1 instead
Packit Service b0a153
    of USE_MSVCRT=1), you will need to recompile libusb to use libCMT. This can
Packit Service b0a153
    easily be achieved, in the DDK environment, by running 'ddk_build /MT'
Packit Service b0a153
Packit Service b0a153
o MinGW/cygwin
Packit Service b0a153
  - Copy libusb.h, from include/libusb-1.0/ to your default include directory,
Packit Service b0a153
    and copy the MinGW32/ or MinGW64/ .a files to your default library directory.
Packit Service b0a153
    Or, if you don't want to use the default locations, make sure that you feed
Packit Service b0a153
    the relevant -I and -L options to the compiler.
Packit Service b0a153
  - Add the '-lusb-1.0' linker option when compiling.
Packit Service b0a153
Packit Service b0a153
o Additional information:
Packit Service b0a153
  - The libusb 1.0 API documentation can be accessed at:
Packit Service b0a153
    http://api.libusb.info
Packit Service b0a153
  - For some libusb samples (including source), please have a look in examples/
Packit Service b0a153
  - For additional information on the libusb 1.0 Windows backend please visit:
Packit Service b0a153
    http://windows.libusb.info
Packit Service b0a153
  - The MinGW and MS generated DLLs are fully interchangeable, provided that you
Packit Service b0a153
    use the import libs provided or generate one from the .def also provided.
Packit Service b0a153
  - If you find any issue, please visit http://libusb.info/ and check the
Packit Service b0a153
    Support section