有大佬知道这是为啥嘛,新人问-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1727|回复: 1

有大佬知道这是为啥嘛,新人问

[复制链接]
发表于 2019-10-11 14:01 | 显示全部楼层 |阅读模式
Arduino:1.8.5 (Windows 10), 开发板:"Arduino/Genuino Uno"

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::RFID(int, int)'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::RFID(int, int)'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::writeMFRC522(unsigned char, unsigned char)'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::reset()'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::readMFRC522(unsigned char)'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::setBitMask(unsigned char, unsigned char)'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::antennaOn()'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::clearBitMask(unsigned char, unsigned char)'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::antennaOff()'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::init()'

sketch\RFID.cpp.o (symbol from plugin).text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::calculateCRC(unsigned char*, unsigned char, unsigned char*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::MFRC522ToCard(unsigned char, unsigned char*, unsigned char, unsigned char*, unsigned int*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::MFRC522Request(unsigned char, unsigned char*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::isCard()'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::anticoll(unsigned char*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::readCardSerial()'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::auth(unsigned char, unsigned char, unsigned char*, unsigned char*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::read(unsigned char, unsigned char*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::write(unsigned char, unsigned char*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::selectTag(unsigned char*)'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\RFID\RFID.cpp.o (symbol from plugin): In function `RFID::RFID(int, int)':

(.text+0x0): multiple definition of `RFID::halt()'

sketch\RFID.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
为开发板 Arduino/Genuino Uno 编译时出错。

在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。


发表于 2019-10-12 11:13 | 显示全部楼层
新人你应该直接发个截图
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 08:38 , Processed in 0.082876 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表