Hi all,
I've encountered this error message while compiling. Please assist.
"In file included from c:\users\rapsodo\onedrive - rapsodo\desktop\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32s3-elf\include\c++\8.4.0\stdlib.h:36,
from C:\Users\Rapsodo\OneDrive - Rapsodo\Desktop\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32s3/include/newlib/platform_include/assert.h:21,
from c:\users\rapsodo\onedrive - rapsodo\desktop\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32s3-elf\sys-include\sys\reent.h:503,
from C:\Users\Rapsodo\OneDrive - Rapsodo\Desktop\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32s3/include/newlib/platform_include/sys/reent.h:17,
from c:\users\rapsodo\onedrive - rapsodo\desktop\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32s3-elf\sys-include\stdio.h:60,
from C:\Users\Rapsodo\OneDrive - Rapsodo\Desktop\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:27,
from sketch\sketch_jan10a.ino.cpp:1:
c:\users\rapsodo\onedrive - rapsodo\desktop\documents\arduinodata\packages\esp32\tools\xtensa-esp32s3-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32s3-elf\include\c++\8.4.0\cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
#include <bits/c++config.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board ESP32S3 Dev Module.
"
This is the code that i ran:
"#define LED_R 5
#define LED_G 6
#define LED_B 7
void setup() {
delay(500);
Serial.begin(115200);
delay(500);
pinMode(LED_R, OUTPUT);
pinMode(LED_G, OUTPUT);
pinMode(LED_B, OUTPUT);
digitalWrite(LED_R, LOW);
digitalWrite(LED_G, LOW);
digitalWrite(LED_B, LOW);
delay(1000);
digitalWrite(LED_R, HIGH);
digitalWrite(LED_G, HIGH);
digitalWrite(LED_B, HIGH);
delay(1000);
digitalWrite(LED_R, LOW);
digitalWrite(LED_G, LOW);
digitalWrite(LED_B, LOW);
delay(1000);
}
void loop() {
digitalWrite(LED_R, HIGH);
delay(2000);
digitalWrite(LED_R, LOW);
digitalWrite(LED_G, HIGH);
delay(2000);
digitalWrite(LED_G, LOW);
digitalWrite(LED_B, HIGH);
delay(2000);
digitalWrite(LED_B, LOW);
delay(2000);
}"