title: Use Libusb in Visual Studio 2013
body: <p>I'm using <code>VS2013</code> on <code>Windows 7 64bit</code>, I have read this topic  <a href="http://www.dreamincode.net/forums/topic/148707-introduction-to-using-libusb-10/page__hl__USB" rel="nofollow">http://www.dreamincode.net/forums/topic/148707-introduction-to-using-libusb-10/page__hl__USB</a><br>
  and try to compile it on <code>VS2013</code>, but I having problem.<br>
  Here is compile error message:  </p>
  
  <pre><code>Error   12  error LNK1120: 8 unresolved externals   C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\Debug\LIBUSB.exe LIBUSB
  
  Error   4   error LNK2019: unresolved external symbol _libusb_init@4 referenced in function _wmain  C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB
  
  Error   5   error LNK2019: unresolved external symbol _libusb_exit@4 referenced in function _wmain  C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB
  
  Error   6   error LNK2019: unresolved external symbol _libusb_set_debug@8 referenced in function _wmain C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB
  
  Error   7   error LNK2019: unresolved external symbol _libusb_get_device_list@8 referenced in function _wmain   C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB
  Error   8   error LNK2019: unresolved external symbol _libusb_free_device_list@8 referenced in function _wmain  C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB
  
  Error   9   error LNK2019: unresolved external symbol _libusb_get_device_descriptor@8 referenced in function "void __cdecl printdev(struct libusb_device *)" (?printdev@@YAXPAUlibusb_device@@@Z)   C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB
  
  Error   10  error LNK2019: unresolved external symbol _libusb_get_config_descriptor@12 referenced in function "void __cdecl printdev(struct libusb_device *)" (?printdev@@YAXPAUlibusb_device@@@Z)  C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB
  
  Error   11  error LNK2019: unresolved external symbol _libusb_free_config_descriptor@4 referenced in function "void __cdecl printdev(struct libusb_device *)" (?printdev@@YAXPAUlibusb_device@@@Z)  C:\Users\HoangNam\Documents\Visual Studio 2013\Projects\LIBUSB\LIBUSB\LIBUSB.obj    LIBUSB  
  </code></pre>
  
  <p>I think I need link <code>usblib</code> to my project but I don't know how to do that.<br>
  Pls help me :(  </p>