Changes between Version 19 and Version 20 of libwdi/install


Ignore:
Timestamp:
09/01/10 14:54:04 (3 years ago)
Author:
pbatard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • libwdi/install

    v19 v20  
    3030* getopt, to compile the zadic sample 
    3131 
    32 == Configuration == 
     32== Configuration & Compilation == 
    3333 
    3434Provided that you have one of the environments highlighted above and retrieved the source (either from a tarball or the git repository), you need to configure the building of libwdi as follows: 
    3535 
    3636* '''MinGW or cygwin''':[[BR]] 
    37  If downloaded from git, from a shell prompt, run {{{./autogen.sh}}}. This is required to create the configure and Makefile scripts. You might want to edit autogen.sh to set the configure options[[BR]] 
    38  Run {{{configure --help}}} to select your options, or refer to the list below: 
     37 * (Optional) If downloaded from git, from a shell prompt, run {{{./autogen.sh}}}. This is required to create the configure and Makefile scripts. You can feed the same options to autogen.sh as the ones you feed to configure[[BR]] 
     38 * Run {{{configure --help}}} to select your options, or refer to the list below: 
    3939  * {{{--enable-shared}}}: build shared libraries (default y) 
    4040  * {{{--enable-static}}}: build static libraries (default y) 
     
    4949  * {{{--with-libusb0="<dir>"}}}: embed libusb0 driver files from the following location 
    5050  * {{{--with-userdir="<dir>"}}}: embed user defined driver files from the following location[[BR]] 
    51  Notes: 
     51  Notes: 
    5252  1. '''At least one of --with-ddkdir, --with-libusb0, --with-userdir must be specified when running configure'''. 
    5353  1. configure will check the ddk and libusb0 directories for the relevant driver files, and prevent completion if they are not found. 
     54 * Run '{{{make}}}' 
     55 * The resulting library and examples can be retrieved in the {{{.libs}}} directory 
    5456 
    55 * '''DDK or MSVC''':[[BR]] 
    56  Edit the file msvc/config.h to set/modify your options, or refer to the list below: 
     57* '''DDK or Visual Studio''':[[BR]] 
     58 * '''Common''' Edit the file msvc/config.h to set/modify your options, or refer to the list below: 
    5759  * {{{#define DDK_DIR "<dir>"}}}: embed WinUSB driver files from the following DDK location 
    5860  * {{{#define LIBUSB0_DIR "<dir>"}}}: embed libusb0 driver files from the following location 
     
    6466  * {{{#define INCLUDE_DEBUG_LOGGING}}}: enable switchable debug logging 
    6567  * {{{#define WDF_VER}}}: define the version of the WDF CoInstaller for WinUSB. If you are using the current version, this should be set to "01009"[[BR]] 
    66  Notes: 
     68  Notes: 
    6769  1. '''Make sure you edit msvc/config.h and set at least one of DDK_DIR, LIBUSB0_DIR or USER_DIR to a valid directory'''. 
    6870  1. As DDK_DIR is automatically set when building from the DDK, if you want to prevent the embedding of the WinUSB files, you need to edit libwdi/embedder_files.h 
    69  
    70 == Compilation == 
    71  
    72 Once you have configured libwdi according to your needs: 
    73  * '''MinGW or cygwin''':  
    74   * Run '{{{make}}}' 
    75   * The resulting library and examples can be retrieved in the {{{.libs}}} directory 
    7671 * '''Visual Studio''':  
    7772  * Select your target (!Release/Debug, Win32/x64) and select 'Build'