In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:326:27: error: use of undeclared identifier 'to_string'; did you mean 'std::to_string'?
string state_string = to_string(state.robotRow) + to_string(state.robotCol);
^~~~~~~~~
std::to_string
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/basic_string.h:6430:3: note: 'std::to_string' declared here
to_string(unsigned long __val)
^
In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:326:55: error: use of undeclared identifier 'to_string'; did you mean 'std::to_string'?
string state_string = to_string(state.robotRow) + to_string(state.robotCol);
^~~~~~~~~
std::to_string
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/basic_string.h:6430:3: note: 'std::to_string' declared here
to_string(unsigned long __val)
^
In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:329:25: error: use of undeclared identifier 'to_string'; did you mean 'std::to_string'?
state_string += to_string(box.first) + to_string(box.second);
^~~~~~~~~
std::to_string
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/basic_string.h:6430:3: note: 'std::to_string' declared here
to_string(unsigned long __val)
^
In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:329:48: error: use of undeclared identifier 'to_string'; did you mean 'std::to_string'?
state_string += to_string(box.first) + to_string(box.second);
^~~~~~~~~
std::to_string
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/basic_string.h:6430:3: note: 'std::to_string' declared here
to_string(unsigned long __val)
^
In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:630:88: error: no template named 'greater'; did you mean 'std::greater'?
priority_queue<pair<int, shared_ptr<Stage>>, vector<pair<int, shared_ptr<Stage>>>, greater<>> openSet;
^~~~~~~
std::greater
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_function.h:371:12: note: 'std::greater' declared here
struct greater : public binary_function<_Tp, _Tp, bool>
^
5 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1