FastLED with analogRead() does't work

Please post the code again with your corrections and then we can try it for ourselves.

The code is here.
Thank you.

#include "FastLED.h"

// if defined, hue is got from POT by using analogRead(). 
#define USE_POT

#define DATA_PIN 11
#define NUM_LEDS 60

CRGB leds[NUM_LEDS];

int potPin = 0;   // Pin for potentiometer
int potVal;
uint8_t hue;

//---------------------------------------------------------------
void setup() {
 delay(200);
 pinMode(potPin, INPUT);  // Set pin as an input.

 // for debug
 Serial.begin(9600);  // Allows serial monitor output (check baud rate)

 hue = 128;
 FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
 FastLED.clear();
 FastLED.show();
 delay(500);
}


//---------------------------------------------------------------
void loop() {
 
 for (int i = 0; i < NUM_LEDS; i++) {
   leds[i] = CHSV(hue, 255, 64);  // hue comes from pot
 }
 FastLED.show();
 Serial.println("FastLED has called");
 delay(500);

#ifdef USE_POT
 //-- use analogread, NOT WORK
 potVal = analogRead(potPin);
#else
 //-- WORK FINE
 potVal = (int)random(0, 1023);
#endif

 hue = map(potVal, 0, 1023, 0, 255);
 Serial.println("chekKnobs has called");
 Serial.print("pot: "); Serial.print(potVal); Serial.print("  hue: "); Serial.println(hue);

 delay(500); 
}