RolfS
1
If I compile
#include <ArduinoSTL.h>
using namespace std;
vector v;
void setup()
{
}
void loop()
{
}
I am getting
C:...Arduino\libraries\ArduinoSTL\src\del_opnt.cpp:25:56: error: 'nothrow_t' in namespace 'std' does not name a type
_UCXXEXPORT void operator delete(void* ptr, const std::nothrow_t& ) throw() {
^~~~~~~~~
C:...Arduino\libraries\ArduinoSTL\src\del_ops.cpp:25:50: error: 'std::size_t' has not been declared
_UCXXEXPORT void operator delete(void* ptr, std::size_t) throw(){
^~~~~~
exit status 1
Error compiling for board Arduino Uno.
What might be the problem ?
I am using the latest versions of IDE and library.
Hi, Rolfs
This Problem under Arduino IDE 1.8.13 version will happen, you can solve it by two ways:
-
Change code from #include <ArduinoSTL.h>
to #include "ArduinoSTL.h"
-
Use Arduino IDE 1.8.12 or below version and wait new release.
Someone has post the similar problem in here :