libnfc is the first libre low level NFC SDK and Programmers API released under the GNU Lesser General Public License. It provides complete transparency and royalty-free use for everyone. This list shows the current supported features. All major operating systems are supported, including GNU/Linux, Mac OS X and Windows. Compilation should work out of the box on POSIX-systems. This library supports various NFC hardware devices: dongles, flat and OEM devices. The library currently supports modulations for ISO/IEC 14443 A and B, FeliCa, Jewel/Topaz tags and Data Exchange Protocol (P2P) as target and as initiator.
Download Mozilla Firefox, a free Web browser. Firefox is created by a global non-profit dedicated to putting individuals in control online. Get Firefox for Windows, macOS, Linux, Android and iOS today! Libusb0.dll, File description: LibUsb-Win32 - Generic USB Library Errors related to libusb0.dll can arise for a few different different reasons. For instance, a faulty application, libusb0.dll has been deleted or misplaced, corrupted by malicious software present on your PC or a damaged Windows registry.
1Download
2Installation
2.1POSIX systems
2.1.2Debian / Ubuntu
2.1.5Fedora 12+
Stable release
Stable releases can be found at libnfc download section.
Development version
Fetch current version using Git:
Note: If you want all libnfc hardware drivers, you will need to have libusb (library and headers) plus on *BSD and GNU/Linux systems, libpcsclite (library and headers).
Under MacOSX, GNU/Linux, *BSD and probably a lot of POSIX systems you can compile development version using:
If you want to (re)generate documentation:
Third party packages
Debian packages by Nobuhiro Iwamatsu and Ludovic Rousseau
packages in Jessie & Sid
The following sections describe per platform how to install and use libnfc.
Because some dependencies (e.g. libusb and optionnal PCSC-Lite) are used, the requirements per platform can differ.
POSIX systems
Manual installation
First make sure you have required compilation dependencies, ie. you will need headers from:
libusb
Download and extract libnfc archive
Configure and compile
Please note that ./configure have an installation path prefix set as /usr/local and sysconfdir set as $PREFIX/etc as default. Use --prefix and sysconfdir option, if you want another setup (see ./configure --help).
Make sure you have required run-time dependencies.
libusb
Plug in NFC device, and test if libnfc detect it
Place a tag on it and show it
Install libnfc into your system
Note: if you have any troubles, please read README and browse this wiki before asking (dumb) question on forum and/or maling-lists...
Debian / Ubuntu
Using packaged libnfc
Manually packaging libnfc
First make sure you have required compilation dependencies.
Download and extract libnfc archive
Libusb 1.0 Download
Make sure you have required run-time dependencies.
Install libnfc into your system
Plug in NFC device, place a tag on it and test your installation
FreeBSD
Romain Tartière contributed a FreeBSD port of libnfc, thanks to him.
To install the port:
To add the package:
Gentoo
Thanks to Mike Auty, libnfc have a ebuild to be easily installed on Gentoo using usual way:
Fedora 12+
Thanks to François Kooman, libnfc library is now included in Fedora 12+ distribution.
Using command line interface
libnfc-devel contains development headers and libraries, its only necessary if you want to
compile your own applications requiring libnfc
libnfc-examples contains the example tools like nfc-list.
Using graphical tools
System -> Administration -> Add/Remove Software
Search for libnfc and select the appropriate packages for installation.
Mac OS X
For installing dependencies, MacPorts download manager is used (available at: http://distfiles.macports.org/MacPorts/)
Install MacPorts following instructions from http://www.macports.org/install.php
Install pkg-config:
Install glib:
Install libusb:
(If you simply install libusb, MacPorts will install all dependencies.)
Make sure it's the x86_64 version (when on the latest OS X):
(The default location of all software installed in MacPorts is within '/opt/local'.) As the libnfc's MacPort is not up-to-date, now follow Manual installation instructions to compile libnfc using usual autotools way.
Warning: We have previously posted a link to darwinports .com, according to MacPorts project: they are an impostor / phishing site designed to get donations from unsuspecting users. Donations made to that site do not benefit MacPorts project and the instructions shown there for installing software are incorrect. To know more about this issue: http://trac.macports.org/wiki/DarwinPorts
Official MacPorts' site: http://www.macports.org/If you are looking for how to use and install MacPorts, please visit: http://guide.macports.org/
Windows
See Libnfc:Windows
Libnfc can be tuned by a config file as well as with environment variables. See the configuration page.
See Examples how to create code using libnfc.
For a list of projects using this library, see Related links.
A few of them have their page on this wiki, check Software category
Having trouble? Check the FAQs and consult the Troubleshooting page. Make sure you've checked the configuration page too.
ChangeLog is directly available from libnfc's repository:https://github.com/nfc-tools/libnfc/blob/master/ChangeLog
If you want more detailed change log, you can use the repository log:https://github.com/nfc-tools/libnfc/commits/master
There are many ways to contribute to libnfc, including but not limited to:
Libusb 64 Download
reporting issues on libnfc issues tracker
providing patches by one of those ways:
on libnfc issues tracker
using nfc-tools developers discussion group
forking the git repository: go here, press the 'Fork' button and commit patches to your own copy of libnfc and let us know about it in the issues tracker on the discussion group or push-request's GitHub feature.
helping us to extend tests coverage
You can also sponsor us with hardware donations, to do so please contact [email protected].
If you are manufacturer and you want your device to be supported in libnfc, feel free to send a mail to [email protected].
Thanks to manufacturers which already done it, see sponsor page.
Libusb Mac Os
Retrieved from 'http://nfc-tools.org/index.php?title=Libnfc&oldid=929'
Until now, I’ve always used the handy packages over at http://www.ellert.se/PKGS/libusb-2009-09-10/ to install libusb on the mac. But the new MacMini comes with Lion, and surprise: the 10.6 installer does not work on 10.7.
But the nice guys over at ellert.se include the sources with a build script that not only compiles libusb but also generates an installer package. So after waiting some hours for the newest XCode to download from the App Store to my fresh Lion install, it was as easy as to type
./build.sh in the source directory (after adding a 10.7 option in the build script)
et voilà a working installer for Lion. Thanks guys!
For your convenience, you can download libusb 2009-09-10 for Lion here: