You can fetch development version using libfreefare git repository, more information at libfreefare development site.
git clone https://github.com/nfc-tools/libfreefare.git
我的备注:提示网络未打开,重新修改树莓派网卡dhcp配置
cd libfreefare
Before compile it, remember to run
autoreconf -vis 我的备注:提示libtool错误, 然后运行apt-get install libtool 解决。
Once fetched, you can now compile libfreefare using usual autotools way:
./configure --prefix=/usr 我的备注:提示libcrypto问题,运行 447 apt-get update 448 apt-get install libssl-dev 问题解决 make 我的备注:build error : error: ‘NMT_BARCODE’ undeclared (first use in this function) #88 answer: simply remove "case NMT_BARCODE:" from libfreefare/mifare_key_deriver.csudo make install
本文档详细记录了从git仓库获取libfreefare开发版本并进行编译安装的全过程,包括解决网络连接、依赖库安装及编译错误等问题。
469

被折叠的 条评论
为什么被折叠?



