arduino缓存multiple definition报错

博客内容涉及 Arduino ESP32 开发中遇到的编译问题。错误信息指出在编译过程中存在重复定义的问题,具体为 `MySampleMp3` 变量。作者建议检查并删除 `src` 目录下可能导致冲突的文件,然后重新编译以解决问题。

esp32

编译报错信息:

C:\Users\......\Temp\arduino_build_26414\sketch\src\myMp3Data.cpp.o:(.data.MySampleMp3+0x0): multiple definition of `MySampleMp3'
C:\Users\......\Temp\arduino_build_26414\sketch\Vs1053Test.ino.cpp.o:(.data.MySampleMp3+0x0): first defined here

按照目录进去,把里面的全删了或根据指定文件删除,再编译

C:\Users\......\Temp\arduino_build_26414\sketch\src

代码出现如下错误: Arduino:1.8.13 (Windows 10), 开发板:"Arduino Uno" libraries\Keypad\Key.cpp.o (symbol from plugin): In function `Key::Key()': (.text+0x0): multiple definition of `Key::Key()' sketch\Key.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Key.cpp.o (symbol from plugin): In function `Key::Key()': (.text+0x0): multiple definition of `Key::Key()' sketch\Key.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Key.cpp.o (symbol from plugin): In function `Key::Key()': (.text+0x0): multiple definition of `Key::Key(char)' sketch\Key.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Key.cpp.o (symbol from plugin): In function `Key::Key()': (.text+0x0): multiple definition of `Key::Key(char)' sketch\Key.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Key.cpp.o (symbol from plugin): In function `Key::Key()': (.text+0x0): multiple definition of `Key::key_update(char, KeyState, bool)' sketch\Key.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::begin(char*)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::scanKeys()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::isPressed(char)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::findInList(char)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::findInList(int)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::getState()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::keyStateChanged()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::numKeys()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::setDebounceTime(unsigned int)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::setHoldTime(unsigned int)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::addEventListener(void (*)(char))' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::transitionTo(unsigned char, KeyState)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::nextKeyState(unsigned char, bool)' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::updateList()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::getKeys()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::getKey()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\Keypad\Keypad.cpp.o (symbol from plugin): In function `Keypad::Keypad(char*, unsigned char*, unsigned char*, unsigned char, unsigned char)': (.text+0x0): multiple definition of `Keypad::waitForKey()' sketch\Keypad.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 为开发板 Arduino Uno 编译时出错。 在文件 -> 首选项开启 “编译过程中显示详细输出”选项 这份报告会包含更多信息。
11-17
C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:29: multiple definition of `neoPixelActive'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:29: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:40: multiple definition of `pixels'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:40: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:38: multiple definition of `u8g2'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:38: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:95: multiple definition of `lastPressTime'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:95: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:93: multiple definition of `ChangeRequested2'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:93: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:92: multiple definition of `ChangeRequested1'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:92: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:91: multiple definition of `ChangeRequested'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:91: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:80: multiple definition of `channelGroup_3'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:80: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:79: multiple definition of `channelGroup_2'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:79: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:78: multiple definition of `channelGroup_1'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:78: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:76: multiple definition of `current'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:76: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:73: multiple definition of `current_Mode'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:73: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\neopixel.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:30: multiple definition of `oledBrightness'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:30: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:38: multiple definition of `u8g2'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:38: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:40: multiple definition of `pixels'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:40: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:95: multiple definition of `lastPressTime'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:95: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:93: multiple definition of `ChangeRequested2'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:93: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:92: multiple definition of `ChangeRequested1'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:92: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:91: multiple definition of `ChangeRequested'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:91: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:80: multiple definition of `channelGroup_3'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:80: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:79: multiple definition of `channelGroup_2'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:79: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:78: multiple definition of `channelGroup_1'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:78: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:76: multiple definition of `current'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:76: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:73: multiple definition of `current_Mode'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/config.h:73: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:30: multiple definition of `oledBrightness'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:30: first defined here C:/Users/User/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2507-cn/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\setting.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:29: multiple definition of `neoPixelActive'; C:\Users\User\AppData\Local\arduino\sketches\B3B65D78ACE8E14DEEF95657DA31A9A5\sketch\RfClown.ino.cpp.o:E:\Arduino_Project\RF-Clown-main\RfClown/setting.h:29: first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Compilation error: exit status 1
11-21
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值