Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArduinoJson #include <bits/error_constanst.h> file not found #122

Open
goulgoul opened this issue Dec 19, 2023 · 0 comments
Open

ArduinoJson #include <bits/error_constanst.h> file not found #122

goulgoul opened this issue Dec 19, 2023 · 0 comments

Comments

@goulgoul
Copy link

goulgoul commented Dec 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant