Hi all, In compiling Mark Kriegsman's ColorWaves with Palettes I keep getting this error: expected

Hi all,
In compiling Mark Kriegsman’s ColorWaves with Palettes I keep getting this error: expected constructor, destructor, or type conversion before ‘(’ token, right after the last Define_Gradient_Palette. I’m guessing that this is a valid code as I haven’t made any modifications to it and I’m sure Mark would not post a bunky piece of code. So if I haven’t changed a thing and keep getting this error and have the latest FastLED, what might be the problem? Thanks to all here.

Hi Freddie:
I just downloaded from GitHub:

which is Mark’s Color Waves With Palettes . It compiled perfectly on the Arduino 1.0.6 IDE and the Arduino 1.6.7 IDE as is from GitHub.

However later, I did comment out:

//.setDither(BRIGHTNESS < 255);

when I uploaded it to the Uno since it would not upload to the Uno using the Arduino 1.6.7 IDE with that command. It ran fine with an Arduino Uno and a NeoPixel ring doing the aforementioned comment out and making the changes to use a NeoPixel ring on pin 6.

Do you have more than one copy of FastLED on your computer?

Hey Ken, not anymore. I’ve ditched all previous FastLED versions and now only have version 3.1.0. I believe that this is the latest version. Now I’m getting this error:
Using library FastLED in folder: C:\Users\Fred\Documents\Arduino\libraries\FastLED (legacy)
exit status 1
‘TProgmemRGBGradientPalettePtr’ does not name a type

Stuck again.

Lost my last post. Downloaded from GitHub Mark’s sketch called ColorWavesWithPalettes.ino.
Without changing a thing I hit compile and still this error shows up:

Using library FastLED3.1.0 in folder: C:\Users\Fred\Documents\Arduino\libraries\FastLED3.1.0 (legacy)
exit status 1
expected constructor, destructor, or type conversion before ‘(’ token

There’s something amiss here and I don’t know what it is.
Mark?