Error: Redefinition of CRGB [384] HELP

I am getting an error with this code, telling me something is wrong with the way I set up my CRGB [NUM_LEDS]. Can someone please help me out with finding my issue. Thank you. Here is my code:

//M-code_lion-html

#include <avr/pgmspace.h>
#include <FastLED.h>

#define WIDTH 24
#define HEIGHT 16
#define NUM_LEDS WIDTH * HEIGHT

#define DATA_PIN 6
#define SPRITE_WIDTH 16
#define SPRITE_HEIGHT 24


CRGB leds[NUM_LEDS];

void setup() {
  // put your setup code here, to run once:
  FastLED.setBrightness(30);
  FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
}

const long lion[16*24] PROGMEM = {
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,
  0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,
  0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xF3CB07,
  0xF3CB07,0xF3CB07,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,
  0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,
  0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xF3CB07,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xF3CB07,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,
  0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E,0xD70E0E
};


void loop() {

  for (int passtime = 0; passtime < 10; passtime++)
  {

    FastLED.clear();
    for (int i = 0; i < NUM_LEDS; i++) {
      leds[i] = pgm_read_dword (&(lion[i]));
    }

    FastLED.show();
    delay(3000);

//    FastLED.clear();
//    for (int i = 0; i < NUM_LEDS; i++) {
//      leds[i] = pgm_read_dword (&(gowildcats[i]));
//    }
//
//    FastLED.show();
//    delay(2000);

}
//}

Here is the error that I am receiving:

Arduino: 1.8.7 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\kshutt\Desktop\led_template_arduino\led_template_arduino.ino:4:0:

C:\Users\kshutt\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.006

 #    pragma message "FastLED version 3.002.006"

                     ^

knuckles:15:19: error: redefinition of 'CRGB leds [384]'

 CRGB leds[NUM_LEDS];

                   ^

C:\Users\kshutt\Desktop\led_template_arduino\led_template_arduino.ino:15:6: note: 'CRGB leds [384]' previously declared here

 CRGB leds[NUM_LEDS];

      ^

C:\Users\kshutt\Desktop\led_template_arduino\knuckles.ino: In function 'void setup()':

knuckles:17:6: error: redefinition of 'void setup()'

 void setup() {

      ^

C:\Users\kshutt\Desktop\led_template_arduino\led_template_arduino.ino:17:6: note: 'void setup()' previously defined here

 void setup() {

      ^

C:\Users\kshutt\Desktop\led_template_arduino\knuckles.ino: In function 'void loop()':

knuckles:674:6: error: redefinition of 'void loop()'

 void loop() {

      ^

C:\Users\kshutt\Desktop\led_template_arduino\led_template_arduino.ino:79:6: note: 'void loop()' previously defined here

 void loop() {

      ^

C:\Users\kshutt\Desktop\led_template_arduino\wildcat_led_panel_template_arduino_lion.ino: At global scope:

wildcat_led_panel_template_arduino_lion:15:19: error: redefinition of 'CRGB leds [384]'

 CRGB leds[NUM_LEDS];

                   ^

C:\Users\kshutt\Desktop\led_template_arduino\led_template_arduino.ino:15:6: note: 'CRGB leds [384]' previously declared here

 CRGB leds[NUM_LEDS];

      ^

C:\Users\kshutt\Desktop\led_template_arduino\wildcat_led_panel_template_arduino_lion.ino: In function 'void setup()':

wildcat_led_panel_template_arduino_lion:17:6: error: redefinition of 'void setup()'

 void setup() {

      ^

C:\Users\kshutt\Desktop\led_template_arduino\led_template_arduino.ino:17:6: note: 'void setup()' previously defined here

 void setup() {

      ^

C:\Users\kshutt\Desktop\led_template_arduino\wildcat_led_panel_template_arduino_lion.ino: In function 'void loop()':

wildcat_led_panel_template_arduino_lion:51:6: error: redefinition of 'void loop()'

 void loop() {

      ^

C:\Users\kshutt\Desktop\led_template_arduino\led_template_arduino.ino:79:6: note: 'void loop()' previously defined here

 void loop() {

      ^

wildcat_led_panel_template_arduino_lion:72:1: error: expected '}' at end of input

 }

 ^

exit status 1
redefinition of 'CRGB leds [384]'

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

Thanks in advance for your help. I am very new at this and trying to lead 7th and 8th graders through a class project.

You should be seeing two tabs in the IDE window, because you have two .ino files in the same folder. I'm guessing "knuckles.ino" is not supposed to be there? The ide combines the two sketches when you verify/upload them, and therefore finds variables and functions with duplicate names.

PS. +1 Karma for posting your code and the complete set of error messages inside code tags.

Thank you so much! I did not know they would be read together. I will separate files, and try again.

That fixed it! Thanks so much!

The reason for this is that it can be convenient to break larger sketches into multiple tabs so you can quickly navigate through the code, rather than scrolling through thousands of lines of code in a single file. Each tab is actually a separate file in the sketch folder. For this reason, each sketch should be saved in its own folder.