查看: 1247|回复: 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 | 显示全部楼层
新人你应该直接发个截图
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热门推荐

blinker物联网教程——11、自动灌溉
blinker物联网教程——11
简介[hr] 农业是用水大户,近年来农业用水量约占经济社会用水总量的62%,部分地区高达
求助,st7735显示图片扭曲
求助,st7735显示图片扭曲
前段时间买了个st7735s驱动的0.96tft屏,这两天研究了一下st7735的驱动,在网上找了些
朱雀 是基于ESP32的开源焊台控制器
朱雀 是基于ESP32的开源焊
朱雀 是基于ESP32的开源焊台控制器 本控制器除了控制普通焊台以外,只需通过稍作修改
16度双足机器人舵机驱动板pca9685连接舵机,舵机没反应
16度双足机器人舵机驱动板
各位同为arduino爱好者的大佬们大家好!想请教一下大家有关舵机驱动板pca9685
Arduino IDE 2.0.0 RC3开发STM32遇到的问题
Arduino IDE 2.0.0 RC3开
问题求助: 安装了Arduino IDE 2.0.0 rc3,下载安装了来自stm32duino的库,截图1。然
Copyright   ©2015-2016  Arduino中文社区  Powered by©Discuz!   
快速回复 返回顶部 返回列表