ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

fatal error: angles/angles.h: No such file or directory #include <angles/angles.h>

asked 2016-11-22 11:15:00 -0600

Maya gravatar image

updated 2016-11-22 11:15:18 -0600

Hello,

The question is pretty much in the title. I have that package I haven't done and that source install of kinetic on my laptop. When I'm trying to compile using catkin build I have this error message :

fatal error: angles/angles.h: No such file or directory
 #include <angles/angles.h>

But when I look at my source install, I can find the file. The project compiled fine using a source install of indigo.

Does anyone has any idea why it can't find that file ? I'm pretty sure I'm forgetting something trivial here...

Some more info:

I have source the setup of both my source install and my ws.

ROS_ROOT=/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/ros
ROS_PACKAGE_PATH=/home/malcolm/ros_catkin_ws/kinetic_ws/src/vision_opencv/cv_bridge:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/fake_localization:/home/malcolm/ros_catkin_ws/kinetic_ws/src/ndt_feature/flirtlib_ros:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/geometry2:/home/malcolm/ros_catkin_ws/kinetic_ws/src/vision_opencv/image_geometry:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation_msgs/map_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/map_server:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/amcl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation_msgs/move_base_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/navigation:/home/malcolm/ros_catkin_ws/kinetic_ws/src/pcl_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/pcl_conversions:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/perception_oru:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_pcl/perception_pcl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/robot_pose_ekf:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/sdf_tracker:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_conversions:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_generic:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_geometry:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_rviz:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_bullet:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_eigen:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_pcl/pcl_ros:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_map:/home/malcolm/ros_catkin_ws/kinetic_ws/src/DAS:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_localization:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_registration:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_map_builder:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_rviz_visualisation:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_visualisation:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_costmap:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_feature_reg:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_fuser:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_mcl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/ndt_feature/ndt_feature:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_py:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_ros:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_geometry_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_kdl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_sensor_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_tools:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/voxel_grid:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/costmap_2d:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/nav_core:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/base_local_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/carrot_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/clear_costmap_recovery:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/dwa_local_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/move_slow_and_clear:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/navfn:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/global_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/rotate_recovery:/home ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-22 23:47:00 -0600

Try to add the following lines to your package.xml file:

<build_depend>angles</build_depend>
<run_depend>angles</build_depend>

And then, in your CMakeLists.txt change the line:

find_package(catkin REQUIRED COMPONENTS cmake_modules)

for:

find_package(catkin REQUIRED COMPONENTS cmake_modules angles)

This should tell catkin that your package needs the angles package

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-11-22 11:15:00 -0600

Seen: 2,334 times

Last updated: Nov 22 '16