error: ‘stoi’ was not declared in this scope linux (Fixed)

Solutions:
It needs to be compiled to c++11 standard. This can be modified in the Makefilelist
Add the following statement: Set (CMAKE_CXX_STANDARD 11)The following problems exist: the version of GCC is too low and the above statement may fail

Read More: