ESP32cam调用arduinojson.h库编译报错
In file included from c:\users\administrator\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\bits\ios_base.h:46,
from c:\users\administrator\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\ios:42,
from c:\users\administrator\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\ostream:38,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/String.hpp:10,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/Adapters/JsonString.hpp:9,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Strings/StringAdapters.hpp:8,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:10,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantData.hpp:7,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/SlotFunctions.hpp:8,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ArrayIterator.hpp:7,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ArrayRef.hpp:8,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:24,
from C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\Administrator\Desktop\ESP32\TEST\sketch_jan17a\sketch_jan17a.ino:1:
c:\users\administrator\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c
++\8.4.0\system_error:39:10: fatal error: bits/error_constants.h: No such file or directory
#include <bits/error_constants.h>
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
为开发板 AI Thinker ESP32-CAM 编译时出错。