Problem while compling a WS2811 LED with ESP32

The code is not complete. Please post all your code. Or come to understand why your code will not work under the Arduino IDE without setup() and loop() functions, as per the error message.