Created
October 4, 2016 20:07
-
-
Save arpit15/cdd33e11fa3b7fd4c0f2f04ea598efb9 to your computer and use it in GitHub Desktop.
error when compiling with catkin_make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 40%] Building CXX object baxter_simulator/baxter_sim_kinematics/CMakeFiles/baxter_sim_kinematics.dir/src/arm_kinematics.cpp.o | |
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" | |
baxter_simulator/baxter_sim_io/CMakeFiles/baxter_sim_io.dir/build.make:91: recipe for target 'baxter_simulator/baxter_sim_io/include/baxter_sim_io/moc_qnode.cxx' failed | |
make[2]: *** [baxter_simulator/baxter_sim_io/include/baxter_sim_io/moc_qnode.cxx] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" | |
baxter_simulator/baxter_sim_io/CMakeFiles/baxter_sim_io.dir/build.make:96: recipe for target 'baxter_simulator/baxter_sim_io/include/baxter_sim_io/moc_baxter_io.cxx' failed | |
make[2]: *** [baxter_simulator/baxter_sim_io/include/baxter_sim_io/moc_baxter_io.cxx] Error 1 | |
CMakeFiles/Makefile2:1112: recipe for target 'baxter_simulator/baxter_sim_io/CMakeFiles/baxter_sim_io.dir/all' failed | |
make[1]: *** [baxter_simulator/baxter_sim_io/CMakeFiles/baxter_sim_io.dir/all] Error 2 | |
make[1]: *** Waiting for unfinished jobs.... | |
[ 44%] Building CXX object baxter_simulator/baxter_sim_controllers/CMakeFiles/baxter_sim_controllers.dir/src/baxter_gripper_controller.cpp.o | |
In file included from /usr/include/c++/5/random:35:0, | |
from /usr/include/ignition/math2/ignition/math/Rand.hh:20, | |
from /usr/include/ignition/math2/ignition/math.hh:18, | |
from /usr/include/sdformat-4.0/sdf/Param.hh:34, | |
from /usr/include/sdformat-4.0/sdf/Element.hh:24, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. | |
#error This file requires compiler and library support \ | |
^ | |
[ 48%] Linking CXX shared library /home/arpit/ws_try/devel/lib/libbaxter_sim_controllers.so | |
[ 48%] Built target baxter_sim_controllers | |
[ 52%] Linking CXX shared library /home/arpit/ws_try/devel/lib/libbaxter_sim_kinematics.so | |
[ 52%] Built target baxter_sim_kinematics | |
In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:3:0, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/sdformat-4.0/sdf/Console.hh:55:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<Console> ConsolePtr; | |
^ | |
/usr/include/sdformat-4.0/sdf/Console.hh:96:20: error: ‘ConsolePtr’ does not name a type | |
public: static ConsolePtr Instance(); | |
^ | |
/usr/include/sdformat-4.0/sdf/Console.hh:118:19: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type | |
private: std::unique_ptr<ConsolePrivate> dataPtr; | |
^ | |
/usr/include/sdformat-4.0/sdf/Console.hh: In member function ‘sdf::Console::ConsoleStream& sdf::Console::ConsoleStream::operator<<(const T&)’: | |
/usr/include/sdformat-4.0/sdf/Console.hh:145:9: error: ‘Instance’ is not a member of ‘sdf::Console’ | |
if (Console::Instance()->dataPtr->logFileStream.is_open()) | |
^ | |
/usr/include/sdformat-4.0/sdf/Console.hh:147:7: error: ‘Instance’ is not a member of ‘sdf::Console’ | |
Console::Instance()->dataPtr->logFileStream << _rhs; | |
^ | |
/usr/include/sdformat-4.0/sdf/Console.hh:148:7: error: ‘Instance’ is not a member of ‘sdf::Console’ | |
Console::Instance()->dataPtr->logFileStream.flush(); | |
^ | |
In file included from /usr/include/ignition/math2/ignition/math/AffineException.hh:21:0, | |
from /usr/include/ignition/math2/ignition/math.hh:3, | |
from /usr/include/sdformat-4.0/sdf/Param.hh:34, | |
from /usr/include/sdformat-4.0/sdf/Element.hh:24, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/ignition/math2/ignition/math/Helpers.hh: In function ‘T ignition::math::precision(const T&, const unsigned int&)’: | |
/usr/include/ignition/math2/ignition/math/Helpers.hh:242:14: error: ‘round’ is not a member of ‘std’ | |
return std::round(_a * pow(10, _precision)) / pow(10, _precision); | |
^ | |
/usr/include/ignition/math2/ignition/math/Helpers.hh:242:14: note: suggested alternatives: | |
In file included from /usr/include/features.h:367:0, | |
from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39, | |
from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482, | |
from /usr/include/c++/5/cstddef:44, | |
from /usr/include/boost/config/select_stdlib_config.hpp:18, | |
from /usr/include/boost/config.hpp:44, | |
from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, | |
from /usr/include/boost/shared_ptr.hpp:17, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:43, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:319:1: note: ‘round’ | |
__MATHCALLX (round,, (_Mdouble_ __x), (__const__)); | |
^ | |
In file included from /opt/ros/kinetic/include/ros/time.h:58:0, | |
from /opt/ros/kinetic/include/ros/ros.h:38, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/math/special_functions/round.hpp:68:46: note: ‘boost::math::round’ | |
inline typename tools::promote_args<T>::type round(const T& v) | |
^ | |
/usr/include/boost/math/special_functions/round.hpp:55:46: note: ‘boost::math::detail::round’ | |
inline typename tools::promote_args<T>::type round(const T& v, const Policy&, const mpl::true_) | |
^ | |
In file included from /usr/include/ignition/math2/ignition/math.hh:6:0, | |
from /usr/include/sdformat-4.0/sdf/Param.hh:34, | |
from /usr/include/sdformat-4.0/sdf/Element.hh:24, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/ignition/math2/ignition/math/Filter.hh: At global scope: | |
/usr/include/ignition/math2/ignition/math/Filter.hh:57:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: T y0{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:57:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T y0{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:57:23: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T y0{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:67:27: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
public: OnePole() = default; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:94:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: double a0 = 0; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:97:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: double b1 = 0; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:157:26: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
public: BiQuad() = default; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:215:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: double a0 = 0, | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:216:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
a1 = 0, | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:217:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
a2 = 0, | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:218:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
b0 = 0, | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:219:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
b1 = 0, | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:220:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
b2 = 0; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:29: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:35: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:41: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:23: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:28: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:34: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:35: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:40: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
/usr/include/ignition/math2/ignition/math/Filter.hh:223:41: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
protected: T x1{}, x2{}, y1{}, y2{}; | |
^ | |
In file included from /usr/include/ignition/math2/ignition/math.hh:12:0, | |
from /usr/include/sdformat-4.0/sdf/Param.hh:34, | |
from /usr/include/sdformat-4.0/sdf/Element.hh:24, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/ignition/math2/ignition/math/Line3.hh:35:25: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
public: Line3() = default; | |
^ | |
In file included from /usr/include/ignition/math2/ignition/math.hh:14:0, | |
from /usr/include/sdformat-4.0/sdf/Param.hh:34, | |
from /usr/include/sdformat-4.0/sdf/Element.hh:24, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/ignition/math2/ignition/math/Matrix4.hh: In constructor ‘ignition::math::Matrix4<T>::Matrix4(const ignition::math::Pose3<T>&)’: | |
/usr/include/ignition/math2/ignition/math/Matrix4.hh:108:67: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
public: Matrix4(const Pose3<T> &_pose) : Matrix4(_pose.Rot()) | |
^ | |
In file included from /usr/include/ignition/math2/ignition/math.hh:18:0, | |
from /usr/include/sdformat-4.0/sdf/Param.hh:34, | |
from /usr/include/sdformat-4.0/sdf/Element.hh:24, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/ignition/math2/ignition/math/Rand.hh: At global scope: | |
/usr/include/ignition/math2/ignition/math/Rand.hh:31:18: error: ‘mt19937’ in namespace ‘std’ does not name a type | |
typedef std::mt19937 GeneratorType; | |
^ | |
/usr/include/ignition/math2/ignition/math/Rand.hh:34:18: error: ‘uniform_real_distribution’ in namespace ‘std’ does not name a template type | |
typedef std::uniform_real_distribution<double> UniformRealDist; | |
^ | |
/usr/include/ignition/math2/ignition/math/Rand.hh:37:18: error: ‘normal_distribution’ in namespace ‘std’ does not name a template type | |
typedef std::normal_distribution<double> NormalRealDist; | |
^ | |
/usr/include/ignition/math2/ignition/math/Rand.hh:40:18: error: ‘uniform_int_distribution’ in namespace ‘std’ does not name a template type | |
typedef std::uniform_int_distribution<int32_t> UniformIntDist; | |
^ | |
/usr/include/ignition/math2/ignition/math/Rand.hh:77:23: error: ‘GeneratorType’ does not name a type | |
private: static GeneratorType *randGenerator; | |
^ | |
In file included from /usr/include/ignition/math2/ignition/math.hh:22:0, | |
from /usr/include/sdformat-4.0/sdf/Param.hh:34, | |
from /usr/include/sdformat-4.0/sdf/Element.hh:24, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/ignition/math2/ignition/math/Triangle.hh:36:28: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
public: Triangle() = default; | |
^ | |
/usr/include/ignition/math2/ignition/math/Triangle.hh: In member function ‘bool ignition::math::Triangle<T>::Intersects(const ignition::math::Line2<T>&, ignition::math::Vector2<T>&, ignition::math::Vector2<T>&) const’: | |
/usr/include/ignition/math2/ignition/math/Triangle.hh:181:16: error: ‘iter’ does not name a type | |
auto iter = points.begin(); | |
^ | |
/usr/include/ignition/math2/ignition/math/Triangle.hh:183:20: error: ‘iter’ was not declared in this scope | |
_ipt1 = *iter; | |
^ | |
/usr/include/ignition/math2/ignition/math/Triangle.hh:193:16: error: ‘iter’ does not name a type | |
auto iter = points.begin(); | |
^ | |
/usr/include/ignition/math2/ignition/math/Triangle.hh:194:21: error: ‘iter’ was not declared in this scope | |
_ipt1 = *(iter++); | |
^ | |
In file included from /usr/include/sdformat-4.0/sdf/Element.hh:24:0, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:5, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/sdformat-4.0/sdf/Param.hh: At global scope: | |
/usr/include/sdformat-4.0/sdf/Param.hh:55:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<Param> ParamPtr; | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:59:23: error: ‘ParamPtr’ was not declared in this scope | |
typedef std::vector<ParamPtr> Param_V; | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:59:31: error: template argument 1 is invalid | |
typedef std::vector<ParamPtr> Param_V; | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:59:31: error: template argument 2 is invalid | |
/usr/include/sdformat-4.0/sdf/Param.hh:127:13: error: ‘ParamPtr’ does not name a type | |
public: ParamPtr Clone() const; | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:221:18: error: ‘function’ in namespace ‘std’ does not name a template type | |
public: std::function<boost::any ()> updateFunc; | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘void sdf::Param::SetUpdateFunc(T)’: | |
/usr/include/sdformat-4.0/sdf/Param.hh:252:20: error: ‘class sdf::ParamPrivate’ has no member named ‘updateFunc’ | |
this->dataPtr->updateFunc = _updateFunc; | |
^ | |
In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:3:0, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘bool sdf::Param::Set(const T&)’: | |
/usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’ | |
#define sdferr (sdf::Console::Instance()->ColorMsg("Error", \ | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:265:7: note: in expansion of macro ‘sdferr’ | |
sdferr << "Unable to set parameter[" | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘bool sdf::Param::Get(T&) const’: | |
/usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’ | |
#define sdferr (sdf::Console::Instance()->ColorMsg("Error", \ | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:298:7: note: in expansion of macro ‘sdferr’ | |
sdferr << "Unable to convert parameter[" | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘bool sdf::Param::GetDefault(T&) const’: | |
/usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’ | |
#define sdferr (sdf::Console::Instance()->ColorMsg("Error", \ | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:318:7: note: in expansion of macro ‘sdferr’ | |
sdferr << "Unable to convert parameter[" | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh: In member function ‘void sdf::Param::Init(const string&)’: | |
/usr/include/sdformat-4.0/sdf/Console.hh:47:19: error: ‘Instance’ is not a member of ‘sdf::Console’ | |
#define sdferr (sdf::Console::Instance()->ColorMsg("Error", \ | |
^ | |
/usr/include/sdformat-4.0/sdf/Param.hh:350:9: note: in expansion of macro ‘sdferr’ | |
sdferr << "Unable to init parameter value from string[" | |
^ | |
In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:5:0, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/sdformat-4.0/sdf/Element.hh: At global scope: | |
/usr/include/sdformat-4.0/sdf/Element.hh:53:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<Element> ElementPtr; | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:57:16: error: ‘weak_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::weak_ptr<Element> ElementWeakPtr; | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:61:23: error: ‘ElementPtr’ was not declared in this scope | |
typedef std::vector<ElementPtr> ElementPtr_V; | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:61:33: error: template argument 1 is invalid | |
typedef std::vector<ElementPtr> ElementPtr_V; | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:61:33: error: template argument 2 is invalid | |
/usr/include/sdformat-4.0/sdf/Element.hh:69:40: error: expected template-name before ‘<’ token | |
public std::enable_shared_from_this<Element> | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:69:40: error: expected ‘{’ before ‘<’ token | |
/usr/include/sdformat-4.0/sdf/Element.hh:69:40: error: expected unqualified-id before ‘<’ token | |
/usr/include/sdformat-4.0/sdf/Element.hh:297:13: error: ‘ElementWeakPtr’ does not name a type | |
public: ElementWeakPtr parent; | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:303:13: error: ‘ParamPtr’ does not name a type | |
public: ParamPtr value; | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:320:41: error: invalid use of incomplete type ‘class sdf::Element’ | |
T Element::Get(const std::string &_key) | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:68:26: note: forward declaration of ‘class sdf::Element’ | |
class SDFORMAT_VISIBLE Element : | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:343:36: error: invalid use of incomplete type ‘class sdf::Element’ | |
bool Element::Set(const T &_value) | |
^ | |
/usr/include/sdformat-4.0/sdf/Element.hh:68:26: note: forward declaration of ‘class sdf::Element’ | |
class SDFORMAT_VISIBLE Element : | |
^ | |
In file included from /usr/include/sdformat-4.0/sdf/parser.hh:23:0, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:8, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:46:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<SDF> SDFPtr; | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:29: error: variable or field ‘setFindCallback’ declared void | |
void setFindCallback(std::function<std::string (const std::string &)> _cb); | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:24: error: ‘function’ is not a member of ‘std’ | |
void setFindCallback(std::function<std::string (const std::string &)> _cb); | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:24: note: suggested alternatives: | |
In file included from /usr/include/boost/function/function_base.hpp:39:0, | |
from /usr/include/boost/function/detail/prologue.hpp:17, | |
from /usr/include/boost/function.hpp:24, | |
from /usr/include/boost/thread/future.hpp:52, | |
from /usr/include/boost/thread.hpp:24, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:44, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/function/function_fwd.hpp:32:38: note: ‘boost::function’ | |
template<typename Signature> class function; | |
^ | |
In file included from /usr/include/boost/function/detail/prologue.hpp:17:0, | |
from /usr/include/boost/function.hpp:24, | |
from /usr/include/boost/thread/future.hpp:52, | |
from /usr/include/boost/thread.hpp:24, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:44, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/function/function_base.hpp:91:24: note: ‘boost::detail::function’ | |
namespace function { | |
^ | |
In file included from /usr/include/sdformat-4.0/sdf/parser.hh:23:0, | |
from /usr/include/sdformat-4.0/sdf/sdf.hh:8, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:50: error: expected primary-expression before ‘(’ token | |
void setFindCallback(std::function<std::string (const std::string &)> _cb); | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:51: error: expected primary-expression before ‘const’ | |
void setFindCallback(std::function<std::string (const std::string &)> _cb); | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:74:73: error: ‘_cb’ was not declared in this scope | |
void setFindCallback(std::function<std::string (const std::string &)> _cb); | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:94:13: error: ‘ElementPtr’ does not name a type | |
public: ElementPtr Root() const; | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:98:29: error: ‘ElementPtr’ does not name a type | |
public: void Root(const ElementPtr _root); | |
^ | |
/usr/include/sdformat-4.0/sdf/SDFImpl.hh:117:13: error: ‘ElementPtr’ does not name a type | |
public: ElementPtr root SDF_DEPRECATED(4.0); | |
^ | |
In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:8:0, | |
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/sdformat-4.0/sdf/parser.hh:32:13: error: ‘SDFPtr’ was not declared in this scope | |
bool init(SDFPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:36:47: error: ‘SDFPtr’ has not been declared | |
bool initFile(const std::string &_filename, SDFPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:40:47: error: ‘ElementPtr’ has not been declared | |
bool initFile(const std::string &_filename, ElementPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:44:50: error: ‘SDFPtr’ has not been declared | |
bool initString(const std::string &_xmlString, SDFPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:48:40: error: ‘SDFPtr’ has not been declared | |
bool initDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:52:40: error: ‘ElementPtr’ has not been declared | |
bool initDoc(TiXmlDocument *_xmlDoc, ElementPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:56:36: error: ‘ElementPtr’ has not been declared | |
bool initXml(TiXmlElement *_xml, ElementPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:60:47: error: ‘SDFPtr’ has not been declared | |
bool readFile(const std::string &_filename, SDFPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:64:50: error: ‘SDFPtr’ has not been declared | |
bool readString(const std::string &_xmlString, SDFPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:67:50: error: ‘ElementPtr’ has not been declared | |
bool readString(const std::string &_xmlString, ElementPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:71:40: error: ‘SDFPtr’ has not been declared | |
bool readDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf, const std::string &_source); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:74:40: error: ‘ElementPtr’ has not been declared | |
bool readDoc(TiXmlDocument *_xmlDoc, ElementPtr _sdf, | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:79:36: error: ‘ElementPtr’ has not been declared | |
bool readXml(TiXmlElement *_xml, ElementPtr _sdf); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:82:21: error: variable or field ‘copyChildren’ declared void | |
void copyChildren(ElementPtr _sdf, TiXmlElement *_xml); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:82:21: error: ‘ElementPtr’ was not declared in this scope | |
/usr/include/sdformat-4.0/sdf/parser.hh:82:51: error: expected primary-expression before ‘*’ token | |
void copyChildren(ElementPtr _sdf, TiXmlElement *_xml); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:82:52: error: ‘_xml’ was not declared in this scope | |
void copyChildren(ElementPtr _sdf, TiXmlElement *_xml); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:85:23: error: variable or field ‘addNestedModel’ declared void | |
void addNestedModel(ElementPtr _sdf, ElementPtr _includeSDF); | |
^ | |
/usr/include/sdformat-4.0/sdf/parser.hh:85:23: error: ‘ElementPtr’ was not declared in this scope | |
/usr/include/sdformat-4.0/sdf/parser.hh:85:40: error: ‘ElementPtr’ was not declared in this scope | |
void addNestedModel(ElementPtr _sdf, ElementPtr _includeSDF); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/Battery.hh:26:0, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:8, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/CommonTypes.hh:144:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<Battery> BatteryPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:8:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Battery.hh:50:42: error: expected template-name before ‘<’ token | |
public std::enable_shared_from_this<Battery> | |
^ | |
/usr/include/gazebo-7/gazebo/common/Battery.hh:50:42: error: expected ‘{’ before ‘<’ token | |
/usr/include/gazebo-7/gazebo/common/Battery.hh:50:42: error: expected unqualified-id before ‘<’ token | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:17:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh: In static member function ‘static void gazebo::common::EnumIface<T>::Set(T&, const string&)’: | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:82:21: error: ‘begin’ does not name a type | |
static auto begin = std::begin(names); | |
^ | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:83:21: error: ‘end’ does not name a type | |
static auto end = std::end(names); | |
^ | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:85:14: error: ‘find’ does not name a type | |
auto find = std::find(begin, end, _str); | |
^ | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:13: error: ‘find’ was not declared in this scope | |
if (find != end) | |
^ | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:13: note: suggested alternatives: | |
In file included from /usr/include/c++/5/bits/locale_facets.h:48:0, | |
from /usr/include/c++/5/bits/basic_ios.h:37, | |
from /usr/include/c++/5/ios:44, | |
from /usr/include/c++/5/ostream:38, | |
from /usr/include/boost/system/error_code.hpp:19, | |
from /usr/include/boost/system/system_error.hpp:14, | |
from /usr/include/boost/thread/exceptions.hpp:22, | |
from /usr/include/boost/thread/pthread/thread_data.hpp:10, | |
from /usr/include/boost/thread/thread_only.hpp:17, | |
from /usr/include/boost/thread/thread.hpp:12, | |
from /usr/include/boost/thread.hpp:13, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:44, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/c++/5/bits/streambuf_iterator.h:369:5: note: ‘std::find’ | |
find(istreambuf_iterator<_CharT> __first, | |
^ | |
In file included from /usr/include/boost/algorithm/string/predicate.hpp:23:0, | |
from /usr/include/boost/algorithm/string.hpp:21, | |
from /opt/ros/kinetic/include/pluginlib/class_loader.h:32, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:48, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/algorithm/string/find.hpp:52:9: note: ‘boost::algorithm::find’ | |
find( | |
^ | |
In file included from /usr/include/boost/mpl/aux_/contains_impl.hpp:20:0, | |
from /usr/include/boost/mpl/contains.hpp:20, | |
from /usr/include/boost/math/policies/policy.hpp:10, | |
from /usr/include/boost/math/policies/error_handling.hpp:19, | |
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 /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/mpl/find.hpp:28:8: note: ‘boost::mpl::find’ | |
struct find | |
^ | |
In file included from /usr/include/boost/algorithm/string/predicate.hpp:23:0, | |
from /usr/include/boost/algorithm/string.hpp:21, | |
from /opt/ros/kinetic/include/pluginlib/class_loader.h:32, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:48, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/algorithm/string/find.hpp:52:9: note: ‘boost::algorithm::find’ | |
find( | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:17:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:21: error: ‘end’ was not declared in this scope | |
if (find != end) | |
^ | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:86:21: note: suggested alternatives: | |
In file included from /usr/include/boost/range/functions.hpp:19:0, | |
from /usr/include/boost/range/iterator_range_core.hpp:38, | |
from /usr/include/boost/lexical_cast.hpp:30, | |
from /opt/ros/kinetic/include/ros/transport_hints.h:34, | |
from /opt/ros/kinetic/include/ros/subscribe_options.h:33, | |
from /opt/ros/kinetic/include/ros/node_handle.h:41, | |
from /opt/ros/kinetic/include/ros/ros.h:45, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/range/end.hpp:100:61: note: ‘boost::range_adl_barrier::end’ | |
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r ) | |
^ | |
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0, | |
from /usr/include/boost/mpl/list/list0.hpp:27, | |
from /usr/include/boost/mpl/list/list10.hpp:18, | |
from /usr/include/boost/mpl/list/list20.hpp:18, | |
from /usr/include/boost/mpl/list.hpp:36, | |
from /usr/include/boost/math/policies/policy.hpp:9, | |
from /usr/include/boost/math/policies/error_handling.hpp:19, | |
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 /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: ‘boost::mpl::end’ | |
template< typename Sequence > struct end; | |
^ | |
In file included from /usr/include/boost/range/functions.hpp:19:0, | |
from /usr/include/boost/range/iterator_range_core.hpp:38, | |
from /usr/include/boost/lexical_cast.hpp:30, | |
from /opt/ros/kinetic/include/ros/transport_hints.h:34, | |
from /opt/ros/kinetic/include/ros/subscribe_options.h:33, | |
from /opt/ros/kinetic/include/ros/node_handle.h:41, | |
from /opt/ros/kinetic/include/ros/ros.h:45, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/range/end.hpp:100:61: note: ‘boost::range_adl_barrier::end’ | |
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r ) | |
^ | |
In file included from /usr/include/boost/filesystem.hpp:17:0, | |
from /opt/ros/kinetic/include/pluginlib/class_loader_imp.h:43, | |
from /opt/ros/kinetic/include/pluginlib/class_loader.h:323, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:48, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/filesystem/operations.hpp:1180:32: note: ‘boost::filesystem::end’ | |
recursive_directory_iterator end(const recursive_directory_iterator&) | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:17:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:88:45: error: ‘begin’ was not declared in this scope | |
_e = static_cast<T>(std::distance(begin, find)); | |
^ | |
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:88:45: note: suggested alternatives: | |
In file included from /usr/include/boost/range/functions.hpp:18:0, | |
from /usr/include/boost/range/iterator_range_core.hpp:38, | |
from /usr/include/boost/lexical_cast.hpp:30, | |
from /opt/ros/kinetic/include/ros/transport_hints.h:34, | |
from /opt/ros/kinetic/include/ros/subscribe_options.h:33, | |
from /opt/ros/kinetic/include/ros/node_handle.h:41, | |
from /opt/ros/kinetic/include/ros/ros.h:45, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/range/begin.hpp:106:61: note: ‘boost::range_adl_barrier::begin’ | |
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r ) | |
^ | |
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0, | |
from /usr/include/boost/mpl/list/list0.hpp:27, | |
from /usr/include/boost/mpl/list/list10.hpp:18, | |
from /usr/include/boost/mpl/list/list20.hpp:18, | |
from /usr/include/boost/mpl/list.hpp:36, | |
from /usr/include/boost/math/policies/policy.hpp:9, | |
from /usr/include/boost/math/policies/error_handling.hpp:19, | |
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 /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/mpl/begin_end_fwd.hpp:22:38: note: ‘boost::mpl::begin’ | |
template< typename Sequence > struct begin; | |
^ | |
In file included from /usr/include/boost/range/functions.hpp:18:0, | |
from /usr/include/boost/range/iterator_range_core.hpp:38, | |
from /usr/include/boost/lexical_cast.hpp:30, | |
from /opt/ros/kinetic/include/ros/transport_hints.h:34, | |
from /opt/ros/kinetic/include/ros/subscribe_options.h:33, | |
from /opt/ros/kinetic/include/ros/node_handle.h:41, | |
from /opt/ros/kinetic/include/ros/ros.h:45, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:47, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/range/begin.hpp:106:61: note: ‘boost::range_adl_barrier::begin’ | |
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r ) | |
^ | |
In file included from /usr/include/boost/filesystem.hpp:17:0, | |
from /opt/ros/kinetic/include/pluginlib/class_loader_imp.h:43, | |
from /opt/ros/kinetic/include/pluginlib/class_loader.h:323, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:48, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/filesystem/operations.hpp:1177:39: note: ‘boost::filesystem::begin’ | |
const recursive_directory_iterator& begin(const recursive_directory_iterator& iter) | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:18:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Event.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:151:20: error: ‘atomic_bool’ in namespace ‘std’ does not name a type | |
public: std::atomic_bool on; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:154:20: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
public: std::shared_ptr<boost::function<T> > callback; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In constructor ‘gazebo::event::EventConnection<T>::EventConnection(bool, boost::function<Signature>*)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:143:17: error: class ‘gazebo::event::EventConnection<T>’ does not have any field named ‘callback’ | |
: callback(_cb) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:164:29: error: ‘shared_ptr’ is not a member of ‘std’ | |
typedef std::map<int, std::shared_ptr<EventConnection<T> > > | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:164:29: note: suggested alternatives: | |
In file included from /usr/include/boost/throw_exception.hpp:42:0, | |
from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, | |
from /usr/include/boost/shared_ptr.hpp:17, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:43, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’ | |
class shared_ptr; | |
^ | |
/usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:18:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:164:29: error: ‘shared_ptr’ is not a member of ‘std’ | |
typedef std::map<int, std::shared_ptr<EventConnection<T> > > | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:164:29: note: suggested alternatives: | |
In file included from /usr/include/boost/throw_exception.hpp:42:0, | |
from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, | |
from /usr/include/boost/shared_ptr.hpp:17, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:43, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’ | |
class shared_ptr; | |
^ | |
/usr/include/boost/exception/exception.hpp:148:11: note: ‘boost::shared_ptr’ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:18:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:164:64: error: template argument 2 is invalid | |
typedef std::map<int, std::shared_ptr<EventConnection<T> > > | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:164:64: error: template argument 4 is invalid | |
/usr/include/gazebo-7/gazebo/common/Event.hh:164:66: error: expected unqualified-id before ‘>’ token | |
typedef std::map<int, std::shared_ptr<EventConnection<T> > > | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:168:15: error: ‘EvtConnectionMap’ does not name a type | |
public: EvtConnectionMap connections; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:171:20: error: ‘mutex’ in namespace ‘std’ does not name a type | |
public: std::mutex mutex; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:174:66: error: template argument 1 is invalid | |
public: std::list<typename EvtConnectionMap::const_iterator> | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:174:66: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal()’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:362:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:367:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:377:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:382:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:393:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:398:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:410:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:415:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:429:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:434:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:450:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:455:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:472:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:477:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:495:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections.begin()) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:500:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&, const P8&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:520:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:527:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&, const P8&, const P9&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:549:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:557:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Signal(const P1&, const P2&, const P3&, const P4&, const P5&, const P6&, const P7&, const P8&, const P9&, const P10&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:580:19: error: ‘iter’ does not name a type | |
for (auto iter: this->myDataPtr->connections) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected ‘;’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected ‘)’ before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh:588:7: error: expected primary-expression before ‘}’ token | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘gazebo::event::ConnectionPtr gazebo::event::EventT<T>::Connect(const boost::function<Signature>&)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:622:21: error: ISO C++ forbids declaration of ‘iter’ with no type [-fpermissive] | |
auto const &iter = this->myDataPtr->connections.rbegin(); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:623:21: error: base operand of ‘->’ is not a pointer | |
index = iter->first + 1; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘virtual void gazebo::event::EventT<T>::Disconnect(int)’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:657:19: error: ISO C++ forbids declaration of ‘it’ with no type [-fpermissive] | |
auto const &it = this->myDataPtr->connections.find(_id); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:661:11: error: base operand of ‘->’ is not a pointer | |
it->second->on = false; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In member function ‘void gazebo::event::EventT<T>::Cleanup()’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:670:7: error: ‘lock_guard’ is not a member of ‘std’ | |
std::lock_guard<std::mutex> lock(this->myDataPtr->mutex); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:670:7: note: suggested alternative: | |
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:11:0, | |
from /usr/include/boost/thread/thread_only.hpp:17, | |
from /usr/include/boost/thread/thread.hpp:12, | |
from /usr/include/boost/thread.hpp:13, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:44, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/thread/lock_guard.hpp:26:9: note: ‘boost::lock_guard’ | |
class lock_guard | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:18:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:670:23: error: ‘mutex’ is not a member of ‘std’ | |
std::lock_guard<std::mutex> lock(this->myDataPtr->mutex); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:670:23: note: suggested alternative: | |
In file included from /usr/include/boost/thread/mutex.hpp:16:0, | |
from /usr/include/boost/thread/pthread/thread_data.hpp:13, | |
from /usr/include/boost/thread/thread_only.hpp:17, | |
from /usr/include/boost/thread/thread.hpp:12, | |
from /usr/include/boost/thread.hpp:13, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:44, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/boost/thread/pthread/mutex.hpp:92:11: note: ‘boost::mutex’ | |
class mutex | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:18:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:672:18: error: ISO C++ forbids declaration of ‘conn’ with no type [-fpermissive] | |
for (auto &conn : this->myDataPtr->connectionsToRemove) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:672:25: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (auto &conn : this->myDataPtr->connectionsToRemove) | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:19:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Events.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/common/Events.hh:346:35: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
public: static EventT<void (sdf::ElementPtr, | |
^ | |
/usr/include/gazebo-7/gazebo/common/Events.hh:349:33: error: expression list treated as compound expression in functional cast [-fpermissive] | |
const uint32_t)> createSensor; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Events.hh:349:34: error: template argument 1 is invalid | |
const uint32_t)> createSensor; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Events.hh: In static member function ‘static gazebo::event::ConnectionPtr gazebo::event::Events::ConnectCreateSensor(T)’: | |
/usr/include/gazebo-7/gazebo/common/Events.hh:203:37: error: request for member ‘Connect’ in ‘gazebo::event::Events::createSensor’, which is of non-class type ‘int’ | |
{ return createSensor.Connect(_subscriber); } | |
^ | |
/usr/include/gazebo-7/gazebo/common/Events.hh: In static member function ‘static void gazebo::event::Events::DisconnectCreateSensor(gazebo::event::ConnectionPtr)’: | |
/usr/include/gazebo-7/gazebo/common/Events.hh:208:30: error: request for member ‘Disconnect’ in ‘gazebo::event::Events::createSensor’, which is of non-class type ‘int’ | |
{ createSensor.Disconnect(_subscriber); } | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:49:0, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:34, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/PhysicsTypes.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/physics/PhysicsTypes.hh:124:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<UserCmd> UserCmdPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PhysicsTypes.hh:128:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<UserCmdManager> UserCmdManagerPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50:0, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:34, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:59:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<AltimeterSensor> AltimeterSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:63:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<Sensor> SensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:67:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<RaySensor> RaySensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:71:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<CameraSensor> CameraSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:75:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<MagnetometerSensor> MagnetometerSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:79:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<MultiCameraSensor> MultiCameraSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:83:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<DepthCameraSensor> DepthCameraSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:87:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<ContactSensor> ContactSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:91:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<ImuSensor> ImuSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:95:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<GpuRaySensor> GpuRaySensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:99:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<RFIDSensor> RFIDSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:103:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<RFIDTag> RFIDTagPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:107:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<SonarSensor> SonarSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:111:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<ForceTorqueSensor> ForceTorqueSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:115:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<GpsSensor> GpsSensorPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:119:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<Noise> NoisePtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:123:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<GaussianNoiseModel> GaussianNoiseModelPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:126:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<ImageGaussianNoiseModel> | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:131:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<WirelessTransceiver> WirelessTransceiverPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:135:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<WirelessTransmitter> WirelessTransmitterPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:139:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<WirelessReceiver> WirelessReceiverPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:25: error: ‘SensorPtr’ was not declared in this scope | |
typedef std::vector<SensorPtr> Sensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:34: error: template argument 1 is invalid | |
typedef std::vector<SensorPtr> Sensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:34: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:25: error: ‘RaySensorPtr’ was not declared in this scope | |
typedef std::vector<RaySensorPtr> RaySensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:37: error: template argument 1 is invalid | |
typedef std::vector<RaySensorPtr> RaySensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:37: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:25: error: ‘CameraSensorPtr’ was not declared in this scope | |
typedef std::vector<CameraSensorPtr> CameraSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:40: error: template argument 1 is invalid | |
typedef std::vector<CameraSensorPtr> CameraSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:40: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:159:25: error: ‘MultiCameraSensorPtr’ was not declared in this scope | |
typedef std::vector<MultiCameraSensorPtr> MultiCameraSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:159:45: error: template argument 1 is invalid | |
typedef std::vector<MultiCameraSensorPtr> MultiCameraSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:159:45: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:163:25: error: ‘DepthCameraSensorPtr’ was not declared in this scope | |
typedef std::vector<DepthCameraSensorPtr> DepthCameraSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:163:45: error: template argument 1 is invalid | |
typedef std::vector<DepthCameraSensorPtr> DepthCameraSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:163:45: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:25: error: ‘ContactSensorPtr’ was not declared in this scope | |
typedef std::vector<ContactSensorPtr> ContactSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:41: error: template argument 1 is invalid | |
typedef std::vector<ContactSensorPtr> ContactSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:41: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:171:25: error: ‘ImuSensorPtr’ was not declared in this scope | |
typedef std::vector<ImuSensorPtr> ImuSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:171:37: error: template argument 1 is invalid | |
typedef std::vector<ImuSensorPtr> ImuSensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:171:37: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:175:25: error: ‘GpuRaySensorPtr’ was not declared in this scope | |
typedef std::vector<GpuRaySensorPtr> GpuRaySensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:175:40: error: template argument 1 is invalid | |
typedef std::vector<GpuRaySensorPtr> GpuRaySensor_V; | |
^ | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:175:40: error: template argument 2 is invalid | |
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:199:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<LogicalCameraSensor> LogicalCameraSensorPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:51:0, | |
from /usr/include/gazebo-7/gazebo/common/common.hh:34, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:112:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<Visual> VisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:116:18: error: ‘weak_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::weak_ptr<Visual> VisualWeakPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:120:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<LaserVisual> LaserVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:124:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<SonarVisual> SonarVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:128:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<WrenchVisual> WrenchVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:132:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<CameraVisual> CameraVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:136:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<LogicalCameraVisual> LogicalCameraVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:140:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<JointVisual> JointVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:144:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<ContactVisual> ContactVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:148:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<ArrowVisual> ArrowVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:152:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<AxisVisual> AxisVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:156:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<COMVisual> COMVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:160:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<InertiaVisual> InertiaVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:164:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<RFIDVisual> RFIDVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:168:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<RFIDTagVisual> RFIDTagVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:172:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<ApplyWrenchVisual> ApplyWrenchVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:176:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<OriginVisual> OriginVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:180:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<LinkFrameVisual> LinkFrameVisualPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/rendering/RenderTypes.hh:188:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<SelectionObj> SelectionObjPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:34:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Plugin.hh:236:36: error: ‘sdf::ElementPtr’ has not been declared | |
sdf::ElementPtr _sdf) = 0; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Plugin.hh:261:36: error: ‘sdf::ElementPtr’ has not been declared | |
sdf::ElementPtr _sdf) = 0; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Plugin.hh:289:40: error: ‘gazebo::sensors::SensorPtr’ has not been declared | |
public: virtual void Load(sensors::SensorPtr _sensor, | |
^ | |
/usr/include/gazebo-7/gazebo/common/Plugin.hh:290:36: error: ‘sdf::ElementPtr’ has not been declared | |
sdf::ElementPtr _sdf) = 0; | |
^ | |
/usr/include/gazebo-7/gazebo/common/Plugin.hh:342:42: error: ‘gazebo::rendering::VisualPtr’ has not been declared | |
public: virtual void Load(rendering::VisualPtr _visual, | |
^ | |
/usr/include/gazebo-7/gazebo/common/Plugin.hh:343:36: error: ‘sdf::ElementPtr’ has not been declared | |
sdf::ElementPtr _sdf) = 0; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:41:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/SVGLoader.hh:56:39: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
public: virtual ~SVGCommand() = default; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/gazebo_core.hh:21:0, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:258:42: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::TrackVisual TrackVisualFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:264:26: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::GUI GUIFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:270:30: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Light LightFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:276:32: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::MeshGeom MeshFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:282:36: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Geometry GeometryFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:288:32: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Visual VisualFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:294:38: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Collision CollisionFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:300:34: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Surface SurfaceFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:306:36: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Friction FrictionFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:312:28: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Axis AxisFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:318:30: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Joint JointFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:324:43: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
msgs::Plugin PluginFromSDF(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:332:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr VisualToSDF(const msgs::Visual &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:343:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr MaterialToSDF(const msgs::Material &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:364:26: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Fog FogFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:370:30: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Scene SceneFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:379:32: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::Sensor SensorFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:386:44: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::CameraSensor CameraSensorFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:393:38: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::RaySensor RaySensorFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:400:46: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
msgs::ContactSensor ContactSensorFromSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:408:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr LightToSDF(const msgs::Light &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:417:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr CameraSensorToSDF(const msgs::CameraSensor &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:426:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr PluginToSDF(const msgs::Plugin &_plugin, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:435:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr CollisionToSDF(const msgs::Collision &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:446:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr LinkToSDF(const msgs::Link &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:455:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr InertialToSDF(const msgs::Inertial &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:464:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr SurfaceToSDF(const msgs::Surface &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:476:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr GeometryToSDF(const msgs::Geometry &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:485:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr MeshToSDF(const msgs::MeshGeom &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:539:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr ModelToSDF(const msgs::Model &_msg, | |
^ | |
/usr/include/gazebo-7/gazebo/msgs/msgs.hh:548:10: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr JointToSDF(const msgs::Joint &_msg, | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/transport/transport.hh:2:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:22, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/transport/CallbackHelper.hh:95:31: error: ‘mutex’ in namespace ‘std’ does not name a type | |
protected: mutable std::mutex latchingMutex; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/gazebo_core.hh:23:0, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/Server.hh:94:33: error: ‘sdf::ElementPtr’ has not been declared | |
private: bool LoadImpl(sdf::ElementPtr _elem, | |
^ | |
/usr/include/gazebo-7/gazebo/Server.hh:118:19: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type | |
private: std::unique_ptr<ServerPrivate> dataPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/gazebo_core.hh:24:0, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/Master.hh:127:19: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type | |
private: std::unique_ptr<MasterPrivate> dataPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:28:0, | |
from /usr/include/gazebo-7/gazebo/physics/Model.hh:33, | |
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/State.hh:74:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual void Load(const sdf::ElementPtr _elem); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/LinkState.hh:30:0, | |
from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:29, | |
from /usr/include/gazebo-7/gazebo/physics/Model.hh:33, | |
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/CollisionState.hh:58:50: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: explicit CollisionState(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/CollisionState.hh:67:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual void Load(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/CollisionState.hh:79:33: error: ‘sdf::ElementPtr’ has not been declared | |
public: void FillSDF(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:29:0, | |
from /usr/include/gazebo-7/gazebo/physics/Model.hh:33, | |
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/LinkState.hh:76:45: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: explicit LinkState(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/LinkState.hh:96:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual void Load(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/LinkState.hh:149:33: error: ‘sdf::ElementPtr’ has not been declared | |
public: void FillSDF(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/ModelState.hh:30:0, | |
from /usr/include/gazebo-7/gazebo/physics/Model.hh:33, | |
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/JointState.hh:67:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: explicit JointState(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/JointState.hh:81:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual void Load(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/JointState.hh:103:33: error: ‘sdf::ElementPtr’ has not been declared | |
public: void FillSDF(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/Model.hh:33:0, | |
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/ModelState.hh:75:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: explicit ModelState(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ModelState.hh:95:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual void Load(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ModelState.hh:204:33: error: ‘sdf::ElementPtr’ has not been declared | |
public: void FillSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ModelState.hh: In function ‘std::ostream& gazebo::physics::operator<<(std::ostream&, const gazebo::physics::ModelState&)’: | |
/usr/include/gazebo-7/gazebo/physics/ModelState.hh:268:26: error: ISO C++ forbids declaration of ‘ms’ with no type [-fpermissive] | |
for (const auto &ms : _state.modelStates) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ModelState.hh:268:31: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (const auto &ms : _state.modelStates) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ModelState.hh:270:22: error: request for member ‘second’ in ‘ms’, which is of non-class type ‘const int’ | |
_out << ms.second; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/Entity.hh:41:0, | |
from /usr/include/gazebo-7/gazebo/physics/Model.hh:34, | |
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Base.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/physics/Base.hh:157:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Base.hh:178:50: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Base.hh:309:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual const sdf::ElementPtr GetSDF(); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Base.hh:317:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
protected: sdf::ElementPtr sdf; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/Model.hh:34:0, | |
from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Entity.hh:69:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Entity.hh:79:50: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/Actor.hh:24:0, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:2, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Model.hh:64:30: error: ‘sdf::ElementPtr’ has not been declared | |
public: void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Model.hh:80:50: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Model.hh:84:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual const sdf::ElementPtr GetSDF(); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Model.hh:91:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual const sdf::ElementPtr UnscaledSDF(); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Model.hh:411:36: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadJoint(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Model.hh:415:37: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadPlugin(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Model.hh:419:38: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadGripper(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:2:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:82:30: error: ‘sdf::ElementPtr’ has not been declared | |
public: void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:104:50: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:108:34: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual const sdf::ElementPtr GetSDF(); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:115:49: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: void AddSphereInertia(const sdf::ElementPtr &_linkSdf, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:124:51: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: void AddSphereCollision(const sdf::ElementPtr &_linkSdf, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:136:48: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: void AddSphereVisual(const sdf::ElementPtr &_linkSdf, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:148:45: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: void AddBoxVisual(const sdf::ElementPtr &_linkSdf, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:159:47: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: void AddActorVisual(const sdf::ElementPtr &_linkSdf, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:165:40: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadAnimation(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Actor.hh:169:37: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadScript(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/BallJoint.hh:25:0, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:3, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Joint.hh:106:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Joint.hh:119:50: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Joint.hh:660:28: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: static sdf::ElementPtr sdfJoint; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:3:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/BallJoint.hh:62:30: error: ‘sdf::ElementPtr’ has not been declared | |
public: void Load(sdf::ElementPtr _sdf) | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/Shape.hh:33:0, | |
from /usr/include/gazebo-7/gazebo/physics/BoxShape.hh:25, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:5, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Inertial.hh:63:30: error: ‘sdf::ElementPtr’ has not been declared | |
public: void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Inertial.hh:67:42: error: ‘sdf::ElementPtr’ has not been declared | |
public: void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Inertial.hh:271:21: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: sdf::ElementPtr sdf; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Inertial.hh:275:28: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: static sdf::ElementPtr sdfInertial; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:6:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Collision.hh:58:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Collision.hh:65:50: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:12:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/FixedJoint.hh:49:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf) | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:13:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/HeightmapShape.hh:59:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:14:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:59:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh: In member function ‘virtual void gazebo::physics::Hinge2Joint<T>::Load(int)’: | |
/usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:64:25: error: base operand of ‘->’ is not a pointer | |
_sdf->GetElement("axis")->Get<math::Vector3>("xyz")); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:64:64: error: expected primary-expression before ‘>’ token | |
_sdf->GetElement("axis")->Get<math::Vector3>("xyz")); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:67:25: error: base operand of ‘->’ is not a pointer | |
_sdf->GetElement("axis2")->Get<math::Vector3>("xyz")); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Hinge2Joint.hh:67:65: error: expected primary-expression before ‘>’ token | |
_sdf->GetElement("axis2")->Get<math::Vector3>("xyz")); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:15:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/HingeJoint.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/physics/HingeJoint.hh:55:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf) | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:16:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:60:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh: In member function ‘virtual void gazebo::physics::GearboxJoint<T>::Load(int)’: | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:63:25: error: base operand of ‘->’ is not a pointer | |
if (_sdf->HasElement("gearbox_ratio")) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:66:25: error: base operand of ‘->’ is not a pointer | |
_sdf->Get<double>("gearbox_ratio"); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:66:31: error: expected primary-expression before ‘double’ | |
_sdf->Get<double>("gearbox_ratio"); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:66:31: error: expected ‘;’ before ‘double’ | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:78:25: error: base operand of ‘->’ is not a pointer | |
if (_sdf->HasElement("gearbox_reference_body")) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:81:25: error: base operand of ‘->’ is not a pointer | |
_sdf->Get<std::string>("gearbox_reference_body"); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/GearboxJoint.hh:81:42: error: expected primary-expression before ‘>’ token | |
_sdf->Get<std::string>("gearbox_reference_body"); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:18:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Gripper.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/physics/Gripper.hh:56:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:24:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/LightState.hh:40:30: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
public: LightState() = default; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/LightState.hh:57:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: explicit LightState(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/LightState.hh:63:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual void Load(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/LightState.hh:86:33: error: ‘sdf::ElementPtr’ has not been declared | |
public: void FillSDF(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/Link.hh:37:0, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:25, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/util/UtilTypes.hh:40:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<DiagnosticTimer> DiagnosticTimerPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/util/UtilTypes.hh:44:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<OpenALSink> OpenALSinkPtr; | |
^ | |
/usr/include/gazebo-7/gazebo/util/UtilTypes.hh:48:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type | |
typedef std::shared_ptr<OpenALSource> OpenALSourcePtr; | |
^ | |
/usr/include/gazebo-7/gazebo/util/UtilTypes.hh:52:18: error: ‘unordered_map’ in namespace ‘std’ does not name a template type | |
typedef std::unordered_map<std::string, DiagnosticTimerPtr> TimerMap; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:25:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:79:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:95:50: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void UpdateParameters(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:561:23: error: ‘BatteryPtr’ in namespace ‘gazebo::common’ does not name a type | |
public: common::BatteryPtr Battery(const std::string &_name) const; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:565:23: error: ‘BatteryPtr’ in namespace ‘gazebo::common’ does not name a type | |
public: common::BatteryPtr Battery(const size_t _index) const; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:598:40: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadCollision(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:635:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: void LoadBattery(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: error: ‘BatteryPtr’ is not a member of ‘gazebo::common’ | |
private: std::vector<common::BatteryPtr> batteries; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: note: suggested alternative: | |
In file included from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:9:0, | |
from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:21, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/msgs/battery.pb.h:245:50: note: ‘gazebo::msgs::BatteryPtr’ | |
typedef boost::shared_ptr<gazebo::msgs::Battery> BatteryPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:25:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: error: ‘BatteryPtr’ is not a member of ‘gazebo::common’ | |
private: std::vector<common::BatteryPtr> batteries; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:705:28: note: suggested alternative: | |
In file included from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:9:0, | |
from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:30, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:21, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/msgs/battery.pb.h:245:50: note: ‘gazebo::msgs::BatteryPtr’ | |
typedef boost::shared_ptr<gazebo::msgs::Battery> BatteryPtr; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:25:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:705:46: error: template argument 1 is invalid | |
private: std::vector<common::BatteryPtr> batteries; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Link.hh:705:46: error: template argument 2 is invalid | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:27:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/MapShape.hh:60:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:31:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:160:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
protected: sdf::ElementPtr rayElem; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:163:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
protected: sdf::ElementPtr scanElem; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:166:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
protected: sdf::ElementPtr horzElem; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:169:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
protected: sdf::ElementPtr vertElem; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/MultiRayShape.hh:172:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
protected: sdf::ElementPtr rangeElem; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:32:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/PhysicsIface.hh:59:43: error: ‘sdf::ElementPtr’ has not been declared | |
void load_world(WorldPtr _world, sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PhysicsIface.hh:87:27: error: variable or field ‘load_worlds’ declared void | |
void load_worlds(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PhysicsIface.hh:87:22: error: ‘ElementPtr’ is not a member of ‘sdf’ | |
void load_worlds(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:33:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/PhysicsEngine.hh:51:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PhysicsEngine.hh:232:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: sdf::ElementPtr GetSDF() const; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PhysicsEngine.hh:246:23: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
protected: sdf::ElementPtr sdf; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/World.hh:47:0, | |
from /usr/include/gazebo-7/gazebo/physics/Population.hh:28, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:38, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:62:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: explicit WorldState(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:77:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: virtual void Load(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:162:33: error: ‘sdf::ElementPtr’ has not been declared | |
public: void FillSDF(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh: In function ‘std::ostream& gazebo::physics::operator<<(std::ostream&, const gazebo::physics::WorldState&)’: | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:237:26: error: ISO C++ forbids declaration of ‘model’ with no type [-fpermissive] | |
for (const auto &model : _state.modelStates) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:237:34: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (const auto &model : _state.modelStates) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:239:25: error: request for member ‘second’ in ‘model’, which is of non-class type ‘const int’ | |
_out << model.second; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:243:26: error: ISO C++ forbids declaration of ‘light’ with no type [-fpermissive] | |
for (const auto &light : _state.lightStates) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:243:34: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (const auto &light : _state.lightStates) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/WorldState.hh:245:25: error: request for member ‘second’ in ‘light’, which is of non-class type ‘const int’ | |
_out << light.second; | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/Population.hh:28:0, | |
from /usr/include/gazebo-7/gazebo/physics/physics.hh:38, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/World.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/physics/World.hh:82:30: error: ‘sdf::ElementPtr’ has not been declared | |
public: void Load(sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/World.hh:305:36: error: ‘sdf::ElementPtr’ has not been declared | |
sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/World.hh:418:39: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadEntities(sdf::ElementPtr _sdf, BasePtr _parent); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/World.hh:424:40: error: ‘sdf::ElementPtr’ has not been declared | |
private: ModelPtr LoadModel(sdf::ElementPtr _sdf, BasePtr _parent); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/World.hh:430:46: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: LightPtr LoadLight(const sdf::ElementPtr &_sdf, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/World.hh:437:40: error: ‘sdf::ElementPtr’ has not been declared | |
private: ActorPtr LoadActor(sdf::ElementPtr _sdf, BasePtr _parent); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/World.hh:443:38: error: ‘sdf::ElementPtr’ has not been declared | |
private: RoadPtr LoadRoad(sdf::ElementPtr _sdf, BasePtr _parent); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/World.hh:502:37: error: ‘sdf::ElementPtr’ has not been declared | |
private: void LoadPlugin(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:38:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:90:42: error: expected ‘)’ before ‘_sdf’ | |
public: Population(sdf::ElementPtr _sdf, boost::shared_ptr<World> _world); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:104:44: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: bool PopulateOne(const sdf::ElementPtr _population); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:113:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
const sdf::ElementPtr &_sdfElement, const std::string &_element, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:132:47: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: bool ElementFromSdf(const sdf::ElementPtr &_sdfElement, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:133:43: error: ‘sdf::ElementPtr’ has not been declared | |
const std::string &_element, sdf::ElementPtr &_value); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:143:35: error: ‘sdf::ElementPtr’ has not been declared | |
private: bool ParseSdf(sdf::ElementPtr _population, | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh: In member function ‘bool gazebo::physics::Population::ValueFromSdf(const int&, const string&, T&)’: | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:116:24: error: base operand of ‘->’ is not a pointer | |
if (_sdfElement->HasElement(_element)) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:118:31: error: base operand of ‘->’ is not a pointer | |
_value = _sdfElement->Get<T>(_element); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/Population.hh:118:38: error: expected primary-expression before ‘>’ token | |
_value = _sdfElement->Get<T>(_element); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:39:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:79:51: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: bool SetAllParamsFromSDF(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:85:51: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: bool SetAllParamsHelper(const sdf::ElementPtr _elem); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:89:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: sdf::ElementPtr SDF() const; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:94:35: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: bool SDF(const sdf::ElementPtr _sdfElement); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:110:22: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:169:52: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: std::string CreateProfile(const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:184:20: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
public: sdf::ElementPtr ProfileSDF(const std::string &_name) const; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:191:22: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
const sdf::ElementPtr _sdf); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:197:16: error: ‘sdf::ElementPtr’ has not been declared | |
sdf::ElementPtr &_elem) const; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:203:16: error: ‘sdf::ElementPtr’ has not been declared | |
sdf::ElementPtr &_elem) const; | |
^ | |
/usr/include/gazebo-7/gazebo/physics/PresetManager.hh:208:54: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
private: void GeneratePresetFromSDF(const sdf::ElementPtr _elem, | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:41:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/Road.hh:50:30: error: ‘sdf::ElementPtr’ has not been declared | |
public: void Load(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:43:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:52:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf) | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh: In member function ‘virtual void gazebo::physics::ScrewJoint<T>::Load(int)’: | |
/usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:57:26: error: base operand of ‘->’ is not a pointer | |
_sdf->GetElement("thread_pitch")->Get<double>(); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:57:60: error: expected primary-expression before ‘double’ | |
_sdf->GetElement("thread_pitch")->Get<double>(); | |
^ | |
/usr/include/gazebo-7/gazebo/physics/ScrewJoint.hh:57:60: error: expected ‘;’ before ‘double’ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:44:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/SliderJoint.hh: At global scope: | |
/usr/include/gazebo-7/gazebo/physics/SliderJoint.hh:51:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf) | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:47:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/SurfaceParams.hh:187:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf); | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/physics/physics.hh:48:0, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:53, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/physics/UniversalJoint.hh:61:38: error: ‘sdf::ElementPtr’ has not been declared | |
public: virtual void Load(sdf::ElementPtr _sdf) | |
^ | |
In file included from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:0: | |
/opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:71:60: error: ‘sdf::ElementPtr’ has not been declared | |
virtual void Load(gazebo::physics::ModelPtr parent, sdf::ElementPtr sdf); | |
^ | |
/opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:93:8: error: ‘ElementPtr’ in namespace ‘sdf’ does not name a type | |
sdf::ElementPtr sdf_; | |
^ | |
/home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:79:52: error: ‘sdf::ElementPtr’ has not been declared | |
void Load(gazebo::physics::ModelPtr parent, sdf::ElementPtr sdf) { | |
^ | |
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:18:0, | |
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19, | |
from /usr/include/gazebo-7/gazebo/gazebo.hh:20, | |
from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52, | |
from /home/arpit/ws_try/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘gazebo::event::ConnectionPtr gazebo::event::EventT<T>::Connect(const boost::function<Signature>&) [with T = void(); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’: | |
/usr/include/gazebo-7/gazebo/transport/Connection.hh:325:58: required from here | |
/usr/include/gazebo-7/gazebo/common/Event.hh:620:11: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’ | |
if (!this->myDataPtr->connections.empty()) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:622:64: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’ | |
auto const &iter = this->myDataPtr->connections.rbegin(); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:625:35: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’ | |
this->myDataPtr->connections[index].reset(new EventConnection<T>(true, | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void(bool)]’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(bool); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’ | |
/usr/include/gazebo-7/gazebo/common/Events.hh:50:45: required from here | |
/usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void(bool)>’ has no member named ‘connections’ | |
auto const &it = this->myDataPtr->connections.find(_id); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void(bool)>’ has no member named ‘connections’ | |
if (it != this->myDataPtr->connections.end()) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void(bool)>*)this)->gazebo::event::EventT<void(bool)>::myDataPtr->gazebo::event::EventTPrivate<void(bool)>::connectionsToRemove’, which is of non-class type ‘int’ | |
this->myDataPtr->connectionsToRemove.push_back(it); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void()]’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’ | |
/usr/include/gazebo-7/gazebo/common/Events.hh:62:44: required from here | |
/usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’ | |
auto const &it = this->myDataPtr->connections.find(_id); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void()>’ has no member named ‘connections’ | |
if (it != this->myDataPtr->connections.end()) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void()>*)this)->gazebo::event::EventT<void()>::myDataPtr->gazebo::event::EventTPrivate<void()>::connectionsToRemove’, which is of non-class type ‘int’ | |
this->myDataPtr->connectionsToRemove.push_back(it); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void(std::__cxx11::basic_string<char>)]’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(std::__cxx11::basic_string<char>); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’ | |
/usr/include/gazebo-7/gazebo/common/Events.hh:85:52: required from here | |
/usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>)>’ has no member named ‘connections’ | |
auto const &it = this->myDataPtr->connections.find(_id); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>)>’ has no member named ‘connections’ | |
if (it != this->myDataPtr->connections.end()) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void(std::__cxx11::basic_string<char>)>*)this)->gazebo::event::EventT<void(std::__cxx11::basic_string<char>)>::myDataPtr->gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>)>::connectionsToRemove’, which is of non-class type ‘int’ | |
this->myDataPtr->connectionsToRemove.push_back(it); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT<T>::Disconnect(int) [with T = void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)]’: | |
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7: required from ‘void gazebo::event::EventT<T>::Disconnect(gazebo::event::ConnectionPtr) [with T = void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>); gazebo::event::ConnectionPtr = boost::shared_ptr<gazebo::event::Connection>]’ | |
/usr/include/gazebo-7/gazebo/common/Events.hh:109:57: required from here | |
/usr/include/gazebo-7/gazebo/common/Event.hh:657:61: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>’ has no member named ‘connections’ | |
auto const &it = this->myDataPtr->connections.find(_id); | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:659:14: error: ‘class gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>’ has no member named ‘connections’ | |
if (it != this->myDataPtr->connections.end()) | |
^ | |
/usr/include/gazebo-7/gazebo/common/Event.hh:662:9: error: request for member ‘push_back’ in ‘((gazebo::event::EventT<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>*)this)->gazebo::event::EventT<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>::myDataPtr->gazebo::event::EventTPrivate<void(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)>::connectionsToRemove’, which is of non-class type ‘int’ | |
this->myDataPtr->connectionsToRemove.push_back(it); | |
^ | |
baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/build.make:62: recipe for target 'baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/src/baxter_gazebo_ros_control_plugin.cpp.o' failed | |
make[2]: *** [baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/src/baxter_gazebo_ros_control_plugin.cpp.o] Error 1 | |
CMakeFiles/Makefile2:3324: recipe for target 'baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/all' failed | |
make[1]: *** [baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/all] Error 2 | |
Makefile:138: recipe for target 'all' failed | |
make: *** [all] Error 2 | |
Invoking "make -j8 -l8" failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you fix this error?