Problems with catkin_make after installing from source
Hi, I've been trying to fix errors that occur when using the gym_gazebo package, and the solution to one of my problems was to uninstall gazebo and install it from source, and I followed the instructions that are contained here, however now when I try to run catkin_make, i get the following message. Did I make a mistake during the installation?
[ 3%] Building CXX object gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/gazebo_ros_projector.dir/src/gazebo_ros_projector.cpp.o
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp: In destructor ‘virtual gazebo::GazeboRosVacuumGripper::~GazeboRosVacuumGripper()’:
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:47:3: error: ‘DisconnectWorldUpdateBegin’ is not a member of ‘gazebo::event::Events’
event::Events::DisconnectWorldUpdateBegin(update_connection_);
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp: In member function ‘virtual void gazebo::GazeboRosVacuumGripper::UpdateChild()’:
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:182:3: error: ‘math’ has not been declared
math::Pose parent_pose = link_->GetWorldPose();
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:183:37: error: ‘class gazebo::physics::World’ has no member named ‘GetModels’
physics::Model_V models = world_->GetModels();
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:192:7: error: ‘math’ has not been declared
math::Pose link_pose = links[j]->GetWorldPose();
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:193:7: error: ‘math’ has not been declared
math::Pose diff = parent_pose - link_pose;
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:194:21: error: ‘diff’ was not declared in this scope
double norm = diff.pos.GetLength();
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:196:41: error: ‘class gazebo::physics::Link’ has no member named ‘GetWorldLinearAccel’
links[j]->SetLinearAccel(link_->GetWorldLinearAccel());
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:197:42: error: ‘class gazebo::physics::Link’ has no member named ‘GetWorldAngularAccel’
links[j]->SetAngularAccel(link_->GetWorldAngularAccel());
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:198:39: error: ‘class gazebo::physics::Link’ has no member named ‘GetWorldLinearVel’
links[j]->SetLinearVel(link_->GetWorldLinearVel());
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:199:40: error: ‘class gazebo::physics::Link’ has no member named ‘GetWorldAngularVel’
links[j]->SetAngularVel(link_->GetWorldAngularVel());
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:204:11: error: ‘link_pose’ was not declared in this scope
link_pose.Set(parent_pose.pos, link_pose.rot);
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:204:25: error: ‘parent_pose’ was not declared in this scope
link_pose.Set(parent_pose.pos, link_pose.rot);
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:210:9: error: ‘math’ has not been declared
math::Vector3 force = norm_force * diff.pos.Normalize();
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_vacuum_gripper.cpp:211:28: error: ‘force’ was not declared in this scope
links[j]->AddForce(force);
^
In file included from /home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_planar_move.cpp:25:0:
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_planar_move.h:93:7: error: ‘math’ does not name a type
math::Pose last_odom_pose_;
^
/home/username/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_planar_move.cpp: In member function ‘virtual ...