STDR install problem in ROS Kinetic
Hello everyone! I'm trying to install STDR simulator, but it fails.
Can someone explain what's going on and how it can be fixed?
Here is the traceback:
Scanning dependencies of target stdr_gui_node
[ 83%] Building CXX object stdr_simulator/stdr_gui/CMakeFiles/stdr_gui_node.dir/src/stdr_gui/stdr_gui_node.cpp.o
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp: In constructor ‘MapServer::MapServer(const string&, double)’:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:73:16: error: ‘class YAML::Parser’ has no member named ‘GetNextDocument’
parser.GetNextDocument(doc);
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:75:29: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
doc["resolution"] >> res;
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:81:25: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘int’)
doc["negate"] >> negate;
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:87:34: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
doc["occupied_thresh"] >> occ_th;
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:93:30: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
doc["free_thresh"] >> free_th;
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:99:28: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
doc["origin"][0] >> origin[0];
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:100:28: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
doc["origin"][1] >> origin[1];
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:101:28: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
doc["origin"][2] >> origin[2];
^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:24: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’)
doc["image"] >> mapfname;
^
In file included from /usr/include/boost/config/no_tr1/complex.hpp:21:0,
from /usr/include/boost/math/policies/error_handling.hpp:15,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/kinetic/include/ros/time.h:58,
from /opt/ros/kinetic/include/ros/ros.h:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/complex:493:5: note: candidate: template<class _Tp, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_Tp>&)
operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
^
/usr/include/c++/5/complex:493:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/boost/math/policies/error_handling.hpp:12:0,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/kinetic/include/ros/time.h:58,
from /opt/ros/kinetic/include/ros/ros.h:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/iomanip:230:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw)
operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
^
/usr/include/c++/5/iomanip:230:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/boost/math/policies/error_handling.hpp:12:0,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/kinetic/include/ros/time.h:58,
from /opt/ros/kinetic/include/ros/ros.h:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/iomanip:200:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision)
operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
^
/usr/include/c++/5/iomanip:200:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/boost/math/policies/error_handling.hpp:12:0,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/kinetic/include/ros/time.h:58,
from /opt/ros/kinetic/include/ros/ros.h:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/iomanip:170:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>)
operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
^
/usr/include/c++/5/iomanip:170:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/boost/math/policies/error_handling.hpp:12:0,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/kinetic/include/ros/time.h:58,
from /opt/ros/kinetic/include/ros/ros.h:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/iomanip:132:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase)
operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
^
/usr/include/c++/5/iomanip:132:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/boost/math/policies/error_handling.hpp:12:0,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/kinetic/include/ros/time.h:58,
from /opt/ros/kinetic/include/ros/ros.h:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/iomanip:101:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags)
operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
^
/usr/include/c++/5/iomanip:101:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/boost/math/policies/error_handling.hpp:12:0,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/kinetic/include/ros/time.h:58,
from /opt/ros/kinetic/include/ros/ros.h:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/iomanip:71:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags)
operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
^
/usr/include/c++/5/iomanip:71:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/c++/5/fstream:38:0,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:41:
/usr/include/c++/5/istream:808:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*)
operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
^
/usr/include/c++/5/istream:808:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<char, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/c++/5/fstream:38:0,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:41:
/usr/include/c++/5/istream:803:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*)
operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
^
/usr/include/c++/5/istream:803:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<char, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/c++/5/fstream:38:0,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:41:
/usr/include/c++/5/istream:761:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&)
operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
^
/usr/include/c++/5/istream:761:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<char, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/c++/5/fstream:38:0,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:41:
/usr/include/c++/5/istream:756:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&)
operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
^
/usr/include/c++/5/istream:756:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<char, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/c++/5/istream:934:0,
from /usr/include/c++/5/fstream:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:41:
/usr/include/c++/5/bits/istream.tcc:923:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)
operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
^
/usr/include/c++/5/bits/istream.tcc:923:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/c++/5/istream:934:0,
from /usr/include/c++/5/fstream:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:41:
/usr/include/c++/5/bits/istream.tcc:955:5: note: candidate: template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)
operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
^
/usr/include/c++/5/bits/istream.tcc:955:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
In file included from /usr/include/c++/5/string:53:0,
from /usr/include/c++/5/bits/locale_classes.h:40,
from /usr/include/c++/5/bits/ios_base.h:41,
from /usr/include/c++/5/ios:42,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:41:
/usr/include/c++/5/bits/basic_string.tcc:1441:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator>>(basic_istream<_CharT, _Traits>& __in,
^
/usr/include/c++/5/bits/basic_string.tcc:1441:5: note: template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note: ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
doc["image"] >> mapfname;
^
map_server/CMakeFiles/map_server.dir/build.make:62: recipe for target 'map_server/CMakeFiles/map_server.dir/src/main.cpp.o' failed
make[2]: *** [map_server/CMakeFiles/map_server.dir/src/main.cpp.o] Error 1
CMakeFiles/Makefile2:5245: recipe for target 'map_server/CMakeFiles/map_server.dir/all' failed
make[1]: *** [map_server/CMakeFiles/map_server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Asked by Vasily on 2016-07-05 07:34:24 UTC
Comments