ArduinoJson `#include <bits/error_constanst.h>` file not found
goulgoul opened this issue · 0 comments
goulgoul commented
Hello,
For some reason, the file #include <bits/error_constanst.h>
does not seem to be found by the compiler as lib ArduinoJson is compiled. I am using the Arduino IDE, btw.
I fixed it by opening the library code and changing the include to #include <%USERPROFILE%/AppData/Local/Arduino15/packages/Heltec-esp32/tools/xtensa-esp32s3-elf-gcc/gcc8_4_0-esp-2021r2-patch3/xtensa-esp32s3-elf/include/c++/8.4.0/xtensa-esp32s3-elf/bits/error_constants.h>
(replace %USERPROFILE%
with C:/Users/YOUR_USER/...
).
Kind regards,
Goulgoul.