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

fuerte install rosmake -a fails

asked 2012-10-03 04:07:16 -0500

heyfred gravatar image

updated 2014-01-28 17:13:49 -0500

ngrennan gravatar image

When i run the command:

rosmake -a

at the end of the install for fuerte on mac OS X, 2 files it tries to compile fail. Can anyone suggest a way to fix these errors?

Output:

 rosmake -a
[ rosmake ] rosmake starting...                                                 
[ rosmake ] Building all packages                                               
...
{-------------------------------------------------------------------------------
                   from /Users/******/ros/image_common/camera_calibration_parsers/src/parse.cpp:1:
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:115: error: ISO C++ forbids declaration of ‘array’ with no type
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:115: error: typedef name may not be a nested-name-specifier
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:115: error: expected ‘;’ before ‘<’ token
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:116: error: ‘_K_type’ does not name a type
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:118: error: ISO C++ forbids declaration of ‘array’ with no type
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:118: error: typedef name may not be a nested-name-specifier
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:118: error: expected ‘;’ before ‘<’ token
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:119: error: ‘_R_type’ does not name a type
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:121: error: ISO C++ forbids declaration of ‘array’ with no type
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:121: error: typedef name may not be a nested-name-specifier
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:121: error: expected ‘;’ before ‘<’ token
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:122: error: ‘_P_type’ does not name a type
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:138: error: field ‘__connection_header’ has incomplete type
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h: In constructor ‘sensor_msgs::CameraInfo_<ContainerAllocator>::CameraInfo_()’:
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:67: error: class ‘sensor_msgs::CameraInfo_<ContainerAllocator>’ does not have any field named ‘K’
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:68: error: class ‘sensor_msgs::CameraInfo_<ContainerAllocator>’ does not have any field named ‘R’
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:69: error: class ‘sensor_msgs::CameraInfo_<ContainerAllocator>’ does not have any field named ‘P’
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:73: error: ‘K’ was not declared in this scope
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:75: error: ‘R’ was not declared in this scope
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:77: error: ‘P’ was not declared in this scope
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h: In constructor ‘sensor_msgs::CameraInfo_<ContainerAllocator>::CameraInfo_(const ContainerAllocator&)’:
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:85: error: class ‘sensor_msgs::CameraInfo_<ContainerAllocator>’ does not have any field named ‘K’
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:86: error: class ‘sensor_msgs::CameraInfo_<ContainerAllocator>’ does not have any field named ‘R’
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:87: error: class ‘sensor_msgs::CameraInfo_<ContainerAllocator>’ does not have any field named ‘P’
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:91: error: ‘K’ was not declared in this scope
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:93: error: ‘R’ was not declared in this scope
  /opt/ros/fuerte/include/sensor_msgs/CameraInfo.h:95: error: ‘P’ was not declared in this scope
  /Users/******/ros/image_common/camera_calibration_parsers/src ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2012-10-03 07:18:10 -0500

WilliamWoodall gravatar image

updated 2012-10-03 07:19:22 -0500

cv_bridge is failing because it cannot find opencv: brew install opencv

I cannot tell what the problem with other one is, rosmake is hiding part of the error, please post the full build log for camera_calibration_parsers.

Also, I wouldn't recommend rosmake -a, you should instead build things as you need them, i.e. rosmake <some stack or package that you want to use>

edit flag offensive delete link more

Comments

I have included a link to the log as it is quite a long file. Thank you for your help.

heyfred gravatar image heyfred  ( 2012-10-03 11:20:46 -0500 )edit

Question Tools

Stats

Asked: 2012-10-03 04:07:16 -0500

Seen: 546 times

Last updated: Oct 03 '12