Skip to content

Issues compiling esp8266 code #24

@jsloyer

Description

@jsloyer

When I first added the esp8266 code into the Arduino IDE I was able to compile the code and successfully upload it to the esp8266. I tried compiling it a second time without making any changes and got a compile error... Any ideas?

Arduino: 1.8.10 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from /Users/me/Documents/Arduino/holiday_lights/holiday_lights.ino:7:0:
/Users/me/Documents/Arduino/libraries/FastLED-master/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.002
 #    pragma message "FastLED version 3.003.002"
                     ^
In file included from /Users/me/Documents/Arduino/libraries/FastLED-master/FastLED.h:65:0,
                 from /Users/me/Documents/Arduino/holiday_lights/holiday_lights.ino:7:
/Users/me/Documents/Arduino/libraries/FastLED-master/fastspi.h:130:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output
 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"
                       ^
/Users/me/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: libraries/FastLED-master/bitswap.cpp.o: in function `transpose8x1_noinline(unsigned char*, unsigned char*)':
Multiple libraries were found for "FastLED.h"
 Used: /Users/me/Documents/Arduino/libraries/FastLED-master
Multiple libraries were found for "SimpleTimer.h"
 Used: /Users/me/Documents/Arduino/libraries/Simple-Timer-Library-master
Multiple libraries were found for "PubSubClient.h"
 Used: /Users/me/Documents/Arduino/libraries/pubsubclient-master
Multiple libraries were found for "ESP8266WiFi.h"
 Used: /Users/me/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266WiFi
Multiple libraries were found for "ESP8266mDNS.h"
 Used: /Users/me/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266mDNS
Multiple libraries were found for "ArduinoOTA.h"
 Used: /Users/me/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ArduinoOTA
/Users/me/Documents/Arduino/libraries/FastLED-master/bitswap.cpp:11: multiple definition of `transpose8x1_noinline(unsigned char*, unsigned char*)'; libraries/FastLED-master/bitswap 2.cpp.o:/Users/me/Documents/Arduino/libraries/FastLED-master/bitswap 2.cpp:11: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions