Can anyone shed light on these strange error msgs from AtmelStudio?

fastled-support
gplus
(Norm Lane) #1

Can anyone shed light on these strange error msgs from AtmelStudio? Arduino IDE just stops compiling with no message at all.

Compiling ‘infinityMirror’ for ‘Arduino Duemilanove or Diecimila w/ ATmega328’
infinityMirror.cpp.o:In function CLEDController' controller.h:m_pHead' controller.h:m_pHead' controller.h:m_pHead' controller.h:m_pHead' controller.h:m_pTail' controller.h:m_pTail' controller.h:m_pTail' controller.h:m_pTail' infinityMirror.cpp.o:In functionaddLeds<NEOPIXEL, 3u>’
FastLED.h:addLeds(CLEDController*, CRGB*, int, int)’
infinityMirror.cpp.o:In function `CFastLED::showColor(CRGB const&)’
FastLED.h:showColor(CRGB const&, unsigned char)’
collect2.exe*:error: ld returned 1 exit status
Error creating .elf

(Daniel Garcia) #2

I haven’t done any testing of building the library with Atmel studio, but it looks like you might not be compiling in the various .cpp files that are part of FastLED. - Meanwhile, in the arduino ide (what version are you using?) go into settings, make sure “show verbose output during compilation” is checked, and rebuild, and paste the entire build log (either into here, or, preferably a gist or pastebin).

(Ashley M. Kirchner [Norym]) #3

Hey @Norm_Lane , are you using the Visual Micro plugin with Atmel Studio (http://www.visualmicro.com/page/Arduino-for-Atmel-Studio.aspx)? If so, make sure you have all the options set properly. Keep in mind that the current one that you can download through the Extensions Manager, does not support the latest 1.6.x version of the Arduino IDE. But you can download the most recent one directly from Visual Micro which does. Other than that, I don’t know what else could be going on.