when I compile on Sun Solaris11.4, the following error is reported, What do I do to solve it?
thank you!
Compiler Information:
CMake 3.22.0, Copyright 2000-2021 Kitware, Inc. and Contributors
C compiler on this system is: gcc -std=gnu11
C++ compiler on this system is: g++ -std=gnu++1y
Makefile processor on this system is: gmake
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has stl wstring
g++ has <ext/stdio_filebuf.h>
Error information:
/usr/local/cmake-3.22.0/Source/cmCommandArgumentParserHelper.cxx:103:14: error: ‘to_string’ is not a member of ‘std’
line = std::to_string(this->FileLine);
^
gmake: *** [cmCommandArgumentParserHelper.o] エラー 1
/usr/local/cmake-3.22.0/Source/cmFileCommand.cxx:3436:24: error: ‘stoi’ is not a member of ‘std’
compressionLevel = std::stoi(parsedArgs.CompressionLevel);