mfoc过程记录

apt install libudev-dev pkg-config git autoconf libtool libusb-dev

下载libusb

https://libusb.info/

cd libusb-1.0.22
./configure
make
make install

libnfc

git clone https://github.com/nfc-tools/libnfc.git

sudo cp contrib/udev/93-pn53x.rules /lib/udev/rules.d/

autoreconf -is
./configure --prefix=/usr --sysconfdir=/etc
make && sudo make install

mfoc

git clone https://github.com/nfc-tools/mfoc.git
autoreconf -is
./configure
make && sudo make install

你可能感兴趣的:(mfoc过程记录)