Hi All,
Thanks for your support.
I’m having an issue just compiling the example A-RAINBOW code in the web IDE. After adjusting the pixel count and pin, If I bring up the project and click the Verify button, I get the output below.
I’m using the 24 LED Neopixel ring from Adafruit with a Photon. I can compile and upload other example projects. Any ideas? I seem to remember this working previously when the Photon newly shipped. But I put my project down and am just now again picking it up and running into the issue.
Regards,
Sterny
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::getBrightness() const':
neopixel/neopixel.cpp:65: multiple definition of `Adafruit_NeoPixel::Adafruit_NeoPixel(unsigned short, unsigned char, unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:66: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::getBrightness() const':
neopixel/neopixel.cpp:65: multiple definition of `Adafruit_NeoPixel::Adafruit_NeoPixel(unsigned short, unsigned char, unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:66: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setBrightness(unsigned char)':
neopixel/neopixel.cpp:73: multiple definition of `Adafruit_NeoPixel::~Adafruit_NeoPixel()'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:74: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setBrightness(unsigned char)':
neopixel/neopixel.cpp:73: multiple definition of `Adafruit_NeoPixel::~Adafruit_NeoPixel()'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:74: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::show()':
neopixel/neopixel.cpp:78: multiple definition of `Adafruit_NeoPixel::begin()'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:79: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::show()':
neopixel/neopixel.cpp:83: multiple definition of `Adafruit_NeoPixel::show()'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:84: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setPin(unsigned char)':
neopixel/neopixel.cpp:656: multiple definition of `Adafruit_NeoPixel::setPin(unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:657: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setPixelColor(unsigned short, unsigned char, unsigned char, unsigned char)':
neopixel/neopixel.cpp:665: multiple definition of `Adafruit_NeoPixel::setPixelColor(unsigned short, unsigned char, unsigned char, unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:666: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setPixelColor(unsigned short, unsigned long)':
neopixel/neopixel.cpp:698: multiple definition of `Adafruit_NeoPixel::setPixelColor(unsigned short, unsigned long)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:699: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setColor(unsigned short, unsigned char, unsigned char, unsigned char)':
neopixel/neopixel.cpp:734: multiple definition of `Adafruit_NeoPixel::setColor(unsigned short, unsigned char, unsigned char, unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:735: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setColorScaled(unsigned short, unsigned char, unsigned char, unsigned char, unsigned char)':
neopixel/neopixel.cpp:738: multiple definition of `Adafruit_NeoPixel::setColorScaled(unsigned short, unsigned char, unsigned char, unsigned char, unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:739: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::brightnessToPWM(unsigned char)':
neopixel/neopixel.cpp:746: multiple definition of `Adafruit_NeoPixel::brightnessToPWM(unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:747: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setColorDimmed(unsigned short, unsigned char, unsigned char, unsigned char, unsigned char)':
neopixel/neopixel.cpp:748: multiple definition of `Adafruit_NeoPixel::setColorDimmed(unsigned short, unsigned char, unsigned char, unsigned char, unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:749: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::Color(unsigned char, unsigned char, unsigned char)':
neopixel/neopixel.cpp:755: multiple definition of `Adafruit_NeoPixel::Color(unsigned char, unsigned char, unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:756: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::getPixelColor(unsigned short) const':
neopixel/neopixel.cpp:759: multiple definition of `Adafruit_NeoPixel::getPixelColor(unsigned short) const'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:760: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::getPixels() const':
neopixel/neopixel.cpp:796: multiple definition of `Adafruit_NeoPixel::getPixels() const'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:797: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::numPixels() const':
neopixel/neopixel.cpp:800: multiple definition of `Adafruit_NeoPixel::numPixels() const'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:801: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::getNumLeds() const':
neopixel/neopixel.cpp:804: multiple definition of `Adafruit_NeoPixel::getNumLeds() const'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:805: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::setBrightness(unsigned char)':
neopixel/neopixel.cpp:825: multiple definition of `Adafruit_NeoPixel::setBrightness(unsigned char)'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:826: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::getBrightness() const':
neopixel/neopixel.cpp:845: multiple definition of `Adafruit_NeoPixel::getBrightness() const'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:846: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::clear()':
neopixel/neopixel.cpp:848: multiple definition of `Adafruit_NeoPixel::clear()'
../../../build/target/user/platform-6/libuser.a(neopixel.o):neopixel.cpp:849: first defined here
../../../build/target/user/platform-6/libuser.a(neopixel.o): In function `Adafruit_NeoPixel::getNumLeds() const':
/spark/compile_service/shared/workspace/6_platform_6_24_3/firmware/user/../wiring/inc/spark_wiring_ticks.h:37: multiple definition of `PIN_MAP2'
../../../build/target/user/platform-6/libuser.a(neopixel.o):/spark/compile_service/shared/workspace/6_platform_6_24_3/firmware/user/../wiring/inc/spark_wiring_ticks.h:37: first defined here
collect2: error: ld returned 1 exit status
make: *** [c7d663365b5a3286d3f75727990029c28abb1132c20b86dac05787fcac3d.elf] Error 1
Error: Could not compile. Please review your code.
ndent preformatted text by 4 spaces