Invoking "make -j8 -l8" failed when RUN 'catkin_make -DCMAKE_BUILD_TYPE="Release"

When I run 'catkin_make -DCMAKE_BUILD_TYPE="Release"' ,it got the errors as follows. I don't know how to solve it... Any help would be appreciated!
[ 42%] Built target kinect2_registration
[ 57%] Built target kinect2_calibration
Linking CXX executable /home/maxxie/catkin_ws/devel/lib/kinect2_bridge/kinect2_bridge
[ 71%] Built target kinect2_bridge_nodelet
[ 85%] Built target kinect2_viewer
/usr/bin/ld: warning: libcudart.so.7.5, needed by /usr/local/lib/libfreenect2.so, not found (try using -rpath or -rpath-link)
collect2: error: ld returned 1 exit status
make[2]: *** [/home/maxxie/catkin_ws/devel/lib/kinect2_bridge/kinect2_bridge] Error 1
make[1]: *** [iai_kinect2/kinect2_bridge/CMakeFiles/kinect2_bridge.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

Hi,
you need to add CUDA to your environment:
export CUDA_HOME="/usr/local/cuda"
export LD_LIBRARY_PATH="${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}"
export PATH="${CUDA_HOME}/bin:${PATH}"

Thanks for your help, it worked!

pandyaji@P320:~$ export CUDA_HOME="/usr/local/cuda"
pandyaji@P320:~$ export LD_LIBRARY_PATH="${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}" pandyaji@P320:~$ export PATH="${CUDA_HOME}/bin:${PATH}"
pandyaji@P320:~$ cd ~/catkin_ws/src
pandyaji@P320:~/catkin_ws/src$ catkin_make
Base path: /home/pandyaji/catkin_ws/src
The specified source space "/home/pandyaji/catkin_ws/src/src" does not exist
pandyaji@P320:~/catkin_ws/src$ cd ..
pandyaji@P320:~/catkin_ws$ catkin_make
Base path: /home/pandyaji/catkin_ws
Source space: /home/pandyaji/catkin_ws/src
Build space: /home/pandyaji/catkin_ws/build
Devel space: /home/pandyaji/catkin_ws/devel
Install space: /home/pandyaji/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/pandyaji/catkin_ws/build"

Running command: "make -j8 -l8" in "/home/pandyaji/catkin_ws/build"

[  0%] Built target trajectory_msgs_generate_messages_py
[  0%] Built target _industrial_msgs_generate_messages_check_deps_GetRobotInfo
[  0%] Built target _industrial_msgs_generate_messages_check_deps_RobotStatus
[  0%] Built target _industrial_msgs_generate_messages_check_deps_ServiceReturnCode
[  0%] Built target _industrial_msgs_generate_messages_check_deps_CmdJointTrajectory
[  0%] Built target _industrial_msgs_generate_messages_check_deps_TriState
[  0%] Built target _industrial_msgs_generate_messages_check_deps_RobotMode
[  0%] Built target _industrial_msgs_generate_messages_check_deps_StartMotion
[  0%] Built target std_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_eus
[  0%] Built target _industrial_msgs_generate_messages_check_deps_SetRemoteLoggerLevel
[  0%] Built target trajectory_msgs_generate_messages_eus
[  0%] Built target trajectory_msgs_generate_messages_lisp
[  0%] Built target _industrial_msgs_generate_messages_check_deps_SetDrivePower
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target _industrial_msgs_generate_messages_check_deps_StopMotion
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] Built target _industrial_msgs_generate_messages_check_deps_DebugLevel
[  0%] Built target _industrial_msgs_generate_messages_check_deps_DeviceInfo
[  0%] Built target trajectory_msgs_generate_messages_cpp
[  0%] Built target geometry_msgs_generate_messages_nodejs
[  0%] Built target trajectory_msgs_generate_messages_nodejs
[  0%] Built target std_msgs_generate_messages_nodejs
[  0%] Built target geometry_msgs_generate_messages_eus
[  0%] Built target geometry_msgs_generate_messages_cpp
[  0%] Built target geometry_msgs_generate_messages_py
[  0%] Built target geometry_msgs_generate_messages_lisp
[  1%] Built target simple_message_dummy
[  1%] Built target node_example_gencfg
[  3%] Built target industrial_robot_client_dummy
[  4%] Built target industrial_utils
[  4%] Building CXX object barrett_hand_sim/barrett_hand_gazebo/CMakeFiles/gazebo_mimic_plugin.dir/src/mimic_plugin.cpp.o
[ 11%] Built target industrial_msgs_generate_messages_py
[ 12%] Built target abb_irb2400_manipulator_moveit_ikfast_plugin
[ 18%] Built target industrial_msgs_generate_messages_eus
[ 24%] Built target industrial_msgs_generate_messages_lisp
[ 24%] Built target _node_example_generate_messages_check_deps_NodeExampleData
[ 29%] Built target industrial_msgs_generate_messages_cpp
[ 35%] Built target industrial_msgs_generate_messages_nodejs
[ 37%] Built target industrial_trajectory_filters
[ 39%] Built target node_example_generate_messages_cpp
[ 39%] Built target node_example_generate_messages_eus
[ 40%] Built target node_example_generate_messages_py
[ 41%] Built target node_example_generate_messages_lisp
[ 41%] Built target node_example_generate_messages_nodejs
[ 41%] Built target industrial_msgs_generate_messages
[ 41%] Built target node_example_generate_messages
[ 42%] Built target talker
[ 43%] Built target listener
[ 56%] Built target simple_message_float64
[ 68%] Built target simple_message
[ 81%] Built target simple_message_bswap
[ 85%] Built target industrial_robot_client
[ 88%] Built target industrial_robot_client_bswap
[ 89%] Built target motion_download_interface
[ 90%] Built target abb_driver_robot_state
[ 91%] Built target abb_driver_motion_download_interface
[ 93%] Built target robot_state
[ 94%] Built target motion_streaming_interface
[ 95%] Built target joint_trajectory_action
[ 96%] Built target robot_state_bswap
[ 97%] Built target motion_download_interface_bswap
[ 98%] Built target motion_streaming_interface_bswap
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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
^
In file included from /usr/include/sdformat-4.0/sdf/sdf.hh:3:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 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 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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/unistd.h:25,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:30,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:319:1: note:   ‘round’
__MATHCALLX (round,, (Mdouble __x), (const));
^
In file included from /usr/include/boost/math/special_functions/math_fwd.hpp:26:0,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:64,
from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:53,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:34,
from /usr/include/boost/lexical_cast.hpp:32,
from /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/math/special_functions/detail/round_fwd.hpp:44:42: note:   ‘boost::math::round’
typename tools::promote_args::type round(const T& v);
^
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/ignition/math2/ignition/math/Matrix4.hh: In constructor ‘ignition::math::Matrix4::Matrix4(const ignition::math::Pose3&)’:
/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 &_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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 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 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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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::Intersects(const ignition::math::Line2&, ignition::math::Vector2&, ignition::math::Vector2&) 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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 ParamPtr;
^
/usr/include/sdformat-4.0/sdf/Param.hh:59:23: error: ‘ParamPtr’ was not declared in this scope
typedef std::vector Param_V;
^
/usr/include/sdformat-4.0/sdf/Param.hh:59:31: error: template argument 1 is invalid
typedef std::vector 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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 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 ElementWeakPtr;
^
/usr/include/sdformat-4.0/sdf/Element.hh:61:23: error: ‘ElementPtr’ was not declared in this scope
typedef std::vector ElementPtr_V;
^
/usr/include/sdformat-4.0/sdf/Element.hh:61:33: error: template argument 1 is invalid
typedef std::vector 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
^
/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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 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: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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Plugin.hh:44:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 BatteryPtr;
^
In file included from /usr/include/gazebo-7/gazebo/common/SystemPaths.hh:36:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:45,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 > callback;
^
/usr/include/gazebo-7/gazebo/common/Event.hh: In constructor ‘gazebo::event::EventConnection::EventConnection(bool, boost::function)’:
/usr/include/gazebo-7/gazebo/common/Event.hh:143:17: error: class ‘gazebo::event::EventConnection’ 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 > >
^
/usr/include/gazebo-7/gazebo/common/Event.hh:164:29: note: suggested alternative:
In file included from /usr/include/boost/throw_exception.hpp:42:0,
from /usr/include/boost/lexical_cast/bad_lexical_cast.hpp:28,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/exception/exception.hpp:148:11: note:   ‘boost::shared_ptr’
class shared_ptr;
^
In file included from /usr/include/gazebo-7/gazebo/common/SystemPaths.hh:36:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:45,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 > >
^
/usr/include/gazebo-7/gazebo/common/Event.hh:164:29: note: suggested alternative:
In file included from /usr/include/boost/throw_exception.hpp:42:0,
from /usr/include/boost/lexical_cast/bad_lexical_cast.hpp:28,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/exception/exception.hpp:148:11: note:   ‘boost::shared_ptr’
class shared_ptr;
^
In file included from /usr/include/gazebo-7/gazebo/common/SystemPaths.hh:36:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:45,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/common/Event.hh:164:64: error: template argument 2 is invalid
typedef std::map<int, std::shared_ptr<EventConnection > >
^
/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 > >
^
/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
^
/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::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::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::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::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::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::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::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::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::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::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::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::Connect(const boost::function&)’:
/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::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::Cleanup()’:
/usr/include/gazebo-7/gazebo/common/Event.hh:670:7: error: ‘lock_guard’ is not a member of ‘std’
std::lock_guardstd::mutex lock(this->myDataPtr->mutex);
^
/usr/include/gazebo-7/gazebo/common/Event.hh:670:23: error: ‘mutex’ is not a member of ‘std’
std::lock_guardstd::mutex lock(this->myDataPtr->mutex);
^
/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/Plugin.hh:49:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 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 UserCmdManagerPtr;
^
In file included from /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:23:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/common/EnumIface.hh: In static member function ‘static void gazebo::common::EnumIface::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/algorithm:62:0,
from /usr/include/boost/iterator/iterator_concepts.hpp:29,
from /usr/include/boost/range/concepts.hpp:20,
from /usr/include/boost/range/size_type.hpp:20,
from /usr/include/boost/range/size.hpp:21,
from /usr/include/boost/range/functions.hpp:20,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/lexical_cast.hpp:30,
from /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/c++/5/bits/stl_algo.h:3782:5: note:   ‘std::find’
find(_InputIterator __first, _InputIterator last,
^
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/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:64,
from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:53,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:34,
from /usr/include/boost/lexical_cast.hpp:32,
from /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/mpl/find.hpp:28:8: note:   ‘boost::mpl::find’
struct find
^
In file included from /usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:23:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/range/end.hpp:100:61: note:   ‘boost::range_adl_barrier::end’
inline BOOST_DEDUCED_TYPENAME range_iterator::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/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:64,
from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:53,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:34,
from /usr/include/boost/lexical_cast.hpp:32,
from /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/range/end.hpp:100:61: note:   ‘boost::range_adl_barrier::end’
inline BOOST_DEDUCED_TYPENAME range_iterator::type end( const T& r )
^
In file included from /usr/include/boost/filesystem.hpp:17:0,
from /usr/include/gazebo-7/gazebo/common/SystemPaths.hh:31,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:45,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/sensors/SensorTypes.hh:23:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:50,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/common/EnumIface.hh:88:45: error: ‘begin’ was not declared in this scope
e = static_cast(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 /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/range/begin.hpp:106:61: note:   ‘boost::range_adl_barrier::begin’
inline BOOST_DEDUCED_TYPENAME range_iterator::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/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:64,
from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:53,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:34,
from /usr/include/boost/lexical_cast.hpp:32,
from /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 /usr/include/sdformat-4.0/sdf/Param.hh:23,
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/Plugin.hh:42,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/boost/range/begin.hpp:106:61: note:   ‘boost::range_adl_barrier::begin’
inline BOOST_DEDUCED_TYPENAME range_iterator::type begin( const T& r )
^
In file included from /usr/include/boost/filesystem.hpp:17:0,
from /usr/include/gazebo-7/gazebo/common/SystemPaths.hh:31,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:45,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Plugin.hh:50:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh: At global scope:
/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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
^
/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 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 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 WirelessReceiverPtr;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:25: error: ‘SensorPtr’ was not declared in this scope
typedef std::vector Sensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:147:34: error: template argument 1 is invalid
typedef std::vector 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 RaySensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:151:37: error: template argument 1 is invalid
typedef std::vector 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 CameraSensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:155:40: error: template argument 1 is invalid
typedef std::vector 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 MultiCameraSensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:159:45: error: template argument 1 is invalid
typedef std::vector 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 DepthCameraSensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:163:45: error: template argument 1 is invalid
typedef std::vector 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 ContactSensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:167:41: error: template argument 1 is invalid
typedef std::vector 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 ImuSensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:171:37: error: template argument 1 is invalid
typedef std::vector 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 GpuRaySensor_V;
^
/usr/include/gazebo-7/gazebo/sensors/SensorTypes.hh:175:40: error: template argument 1 is invalid
typedef std::vector 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 LogicalCameraSensorPtr;
^
In file included from /usr/include/gazebo-7/gazebo/common/Plugin.hh:51:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 SelectionObjPtr;
^
In file included from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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:8:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:2,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/common/Battery.hh:50:42: error: expected template-name before ‘<’ token
public std::enable_shared_from_this
^
/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:19:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:2,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/common.hh:41:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:2,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/common/SVGLoader.hh: At global scope:
/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/physics/JointState.hh:33:0,
from /usr/include/gazebo-7/gazebo/physics/Joint.hh:31,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:3,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Joint.hh:31:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:3,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Joint.hh:32:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:3,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:3:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/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 /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:4,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:4,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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/Model.hh:33:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:4,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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:30:0,
from /usr/include/gazebo-7/gazebo/physics/Model.hh:34,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:4,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/msgs/msgs.hh: At global scope:
/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/physics/Model.hh:34:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:4,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:4:0,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/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 /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:0:
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:13:44: error: ‘sdf::ElementPtr’ has not been declared
void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf );
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:20:56: error: ‘sdf::ElementPtr’ has not been declared
void MimicPlugin::Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf )
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp: In member function ‘virtual void MimicPlugin::Load(gazebo::physics::ModelPtr, int)’:
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:26:11: error: base operand of ‘->’ is not a pointer
if (sdf->HasElement("joint"))
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:27:23: error: base operand of ‘->’ is not a pointer
joint_name = sdf->GetElement("joint")->Getstd::string();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:27:61: error: expected primary-expression before ‘>’ token
joint_name = sdf->GetElement("joint")->Getstd::string();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:27:63: error: expected primary-expression before ‘)’ token
joint_name = _sdf->GetElement("joint")->Getstd::string();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:30:11: error: base operand of ‘->’ is not a pointer
if (sdf->HasElement("mimicJoint"))
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:31:29: error: base operand of ‘->’ is not a pointer
mimic_joint_name = sdf->GetElement("mimicJoint")->Getstd::string();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:31:72: error: expected primary-expression before ‘>’ token
mimic_joint_name = sdf->GetElement("mimicJoint")->Getstd::string();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:31:74: error: expected primary-expression before ‘)’ token
mimic_joint_name = _sdf->GetElement("mimicJoint")->Getstd::string();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:34:11: error: base operand of ‘->’ is not a pointer
if (sdf->HasElement("multiplier"))
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:35:23: error: base operand of ‘->’ is not a pointer
multiplier = sdf->GetElement("multiplier")->Get();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:35:55: error: expected primary-expression before ‘double’
multiplier = sdf->GetElement("multiplier")->Get();
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:38:31: error: base operand of ‘->’ is not a pointer
std::string modelName = sdf->GetParent()->Getstd::string("name");
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:38:61: error: expected primary-expression before ‘>’ token
std::string modelName = sdf->GetParent()->Getstd::string("name");
^
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp: In member function ‘void MimicPlugin::UpdateChild()’:
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:53:18: error: ‘class gazebo::physics::Joint’ has no member named ‘SetAngle’
mimic_joint->SetAngle(0, math::Angle(joint->GetAngle(0).Radian()*multiplier));
^
In file included from /usr/include/gazebo-7/gazebo/common/SystemPaths.hh:36:0,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:45,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/include/gazebo_mimic_plugin/mimic_plugin.h:1,
from /home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:1:
/usr/include/gazebo-7/gazebo/common/Event.hh: In instantiation of ‘void gazebo::event::EventT::Disconnect(int) [with T = void(bool)]’:
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7:   required from ‘void gazebo::event::EventT::Disconnect(gazebo::event::ConnectionPtr) [with T = void(bool); gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::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::Disconnect(int) [with T = void()]’:
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7:   required from ‘void gazebo::event::EventT::Disconnect(gazebo::event::ConnectionPtr) [with T = void(); gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::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::Disconnect(int) [with T = void(std::__cxx11::basic_string)]’:
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7:   required from ‘void gazebo::event::EventT::Disconnect(gazebo::event::ConnectionPtr) [with T = void(std::__cxx11::basic_string); gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::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)>’ 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)>’ 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)>)this)->gazebo::event::EventT<void(std::__cxx11::basic_string)>::myDataPtr->gazebo::event::EventTPrivate<void(std::__cxx11::basic_string)>::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::Disconnect(int) [with T = void(std::__cxx11::basic_string, std::__cxx11::basic_string)]’:
/usr/include/gazebo-7/gazebo/common/Event.hh:638:7:   required from ‘void gazebo::event::EventT::Disconnect(gazebo::event::ConnectionPtr) [with T = void(std::__cxx11::basic_string, std::__cxx11::basic_string); gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::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, std::__cxx11::basic_string)>’ 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, std::__cxx11::basic_string)>’ 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, std::__cxx11::basic_string)>)this)->gazebo::event::EventT<void(std::__cxx11::basic_string, std::__cxx11::basic_string)>::myDataPtr->gazebo::event::EventTPrivate<void(std::__cxx11::basic_string, std::__cxx11::basic_string)>::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 ‘gazebo::event::ConnectionPtr gazebo::event::EventT::Connect(const boost::function&) [with T = void(const gazebo::common::UpdateInfo&); gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::event::Connection]’:
/usr/include/gazebo-7/gazebo/common/Events.hh:139:60:   required from ‘static gazebo::event::ConnectionPtr gazebo::event::Events::ConnectWorldUpdateBegin(T) [with T = boost::_bi::bind_t<void, boost::_mfi::mf0<void, MimicPlugin>, boost::_bi::list1<boost::_bi::value<MimicPlugin> > >; gazebo::event::ConnectionPtr = boost::shared_ptrgazebo::event::Connection]’
/home/pandyaji/catkin_ws/src/barrett_hand_sim/barrett_hand_gazebo/src/mimic_plugin.cpp:43:51:   required from here
/usr/include/gazebo-7/gazebo/common/Event.hh:620:11: error: ‘class gazebo::event::EventTPrivate<void(const gazebo::common::UpdateInfo&)>’ 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(const gazebo::common::UpdateInfo&)>’ 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(const gazebo::common::UpdateInfo&)>’ has no member named ‘connections’
this->myDataPtr->connections[index].reset(new EventConnection(true,
^
barrett_hand_sim/barrett_hand_gazebo/CMakeFiles/gazebo_mimic_plugin.dir/build.make:62: recipe for target 'barrett_hand_sim/barrett_hand_gazebo/CMakeFiles/gazebo_mimic_plugin.dir/src/mimic_plugin.cpp.o' failed
make[2]: *** [barrett_hand_sim/barrett_hand_gazebo/CMakeFiles/gazebo_mimic_plugin.dir/src/mimic_plugin.cpp.o] Error 1
CMakeFiles/Makefile2:7997: recipe for target 'barrett_hand_sim/barrett_hand_gazebo/CMakeFiles/gazebo_mimic_plugin.dir/all' failed
make[1]: *** [barrett_hand_sim/barrett_hand_gazebo/CMakeFiles/gazebo_mimic_plugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
pandyaji@P320:~/catkin_ws$

any help for me.. ?i am not able execute catkin_make.. even i tried what you mentioned @wiedemeyer wiedemeyer

/opt/ros/melodic/include/ros/internal/condition_variable.h:141:5: error: reference to ‘nanoseconds’ is ambiguous
nanoseconds d = tp.time_since_epoch();
^~~~~~~~~~~
In file included from /usr/include/boost/thread/pthread/timespec.hpp:20:0,
from /usr/include/boost/thread/pthread/condition_variable.hpp:9,
from /usr/include/boost/thread/condition_variable.hpp:16,
from /usr/include/boost/thread/condition.hpp:13,
from /opt/ros/melodic/include/actionlib/server/simple_action_server.h:40,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/include/kortex_driver/non-generated/pre_computed_joint_trajectory_action_server.h:17,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/include/kortex_driver/non-generated/kortex_arm_driver.h:56,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/src/non-generated/driver/kortex_arm_driver.cpp:13:
/usr/include/boost/chrono/duration.hpp:198:50: note: candidates are: typedef class boost::chrono::duration<long int, boost::ratio<1,<PHONE_NUMBER>> > boost::chrono::nanoseconds
typedef duration<boost::int_least64_t, nano> nanoseconds;    // at least 64 bits needed
^~~~~~~~~~~
In file included from /usr/include/c++/7/thread:38:0,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/include/kortex_driver/non-generated/kortex_arm_driver.h:19,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/src/non-generated/driver/kortex_arm_driver.cpp:13:
/usr/include/c++/7/chrono:597:42: note:                 typedef struct std::chrono::duration<long int, std::ratio<1,<PHONE_NUMBER>> > std::chrono::nanoseconds
typedef duration<int64_t, nano>      nanoseconds;
^~~~~~~~~~~
In file included from /opt/ros/melodic/include/ros/callback_queue.h:39:0,
from /opt/ros/melodic/include/actionlib/client/simple_action_client.h:46,
from /opt/ros/melodic/include/moveit/move_group_interface/move_group_interface.h:54,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/include/kortex_driver/non-generated/kortex_arm_simulation.h:25,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/include/kortex_driver/non-generated/kortex_arm_driver.h:59,
from /home/ammon/catkin_workspace/src/ros_kortex/kortex_driver/src/non-generated/driver/kortex_arm_driver.cpp:13:
/opt/ros/melodic/include/ros/internal/condition_variable.h:142:46: error: ‘d’ was not declared in this scope
timespec ts = boost::detail::to_timespec(d);
^
ros_kortex/kortex_driver/CMakeFiles/kortex_arm_driver_implementation.dir/build.make:62: recipe for target 'ros_kortex/kortex_driver/CMakeFiles/kortex_arm_driver_implementation.dir/src/non-generated/driver/kortex_arm_driver.cpp.o' failed
make[2]: *** [ros_kortex/kortex_driver/CMakeFiles/kortex_arm_driver_implementation.dir/src/non-generated/driver/kortex_arm_driver.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:30343: recipe for target 'ros_kortex/kortex_driver/CMakeFiles/kortex_arm_driver_implementation.dir/all' failed
make[1]: *** [ros_kortex/kortex_driver/CMakeFiles/kortex_arm_driver_implementation.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
I have this two errors, anybody can help? I appreciate!