mfoc——configure error libnfc >=1.7.0 is mandatory
mfoc在编译中遇到各种坑,完全没有思路,所以记一下在编译中遇到的坑:
1.配置的时候./configure然后就会出现错误:
configure错误之后,就会make不成功
2.问题和解决办法:
问题:configure error libnfc >=1.7.0 is mandatory
原来是mfoc编译需要的libnfc库没有安装
解决办法:
1.把libnfc-1.7.0-rc7压缩包下载下来
2.解压出来
3.安装:
./configure --with-drivers=pn532_uart
安装成功之后,会如下显示:
make
make install
完毕!
(新手编译,还有很多不懂的地方,纯靠运气。有做得不对的地方还请大佬们赐教!)