Error building full stack due to roscpp_serialization fail on osx [closed]

asked 2012-03-16 18:53:19 -0500

adon gravatar image

updated 2014-10-25 22:30:02 -0500

tfoote gravatar image

Hi, I'm working through the fixes to get the full stack to install on lion using homebrew, and I'm hitting the following error that doesn't seem to have been encountered yet. Does anyone have any ideas?

In the paste path_to = /Users/a/ros/ros_comm/clients/cpp/roscpp_serialization/include/ros/

[rosmake-2] Finished <<< std_msgs [PASS] [ 5.70 seconds ]                                                                                                    
[rosmake-6] Starting >>> roscpp_serialization [ make ]                                                                                                       
[rosmake-2] Starting >>> rosgraph_msgs [ make ]                                                                                                              
[ rosmake ] Last 40 linesscpp_serialization: 4.9 sec ] [ rosgraph_msgs: 4.9 sec ]                                                 [ 2 Active 32/67 Complete ]
{-------------------------------------------------------------------------------
  /path_to/serialization.h: In static member function ‘static void ros::serialization::<anonymous struct><T, N>::write(Stream&, int)’:
  /path_to/serialization.h:590: error: ‘v’ was not declared in this scope
  /path_to/serialization.h:594: error: invalid type argument of ‘unary *’
  /path_to/serialization.h: In static member function ‘static void ros::serialization::<anonymous struct><T, N>::read(Stream&, int&)’:
  /path_to/serialization.h:601: error: request for member ‘begin’ in ‘v’, which is of non-class type ‘int’
  /path_to/serialization.h:602: error: request for member ‘end’ in ‘v’, which is of non-class type ‘int’
  /path_to/serialization.h:605: error: invalid type argument of ‘unary *’
  /path_to/serialization.h: In static member function ‘static uint32_t ros::serialization::<anonymous struct><T, N>::serializedLength(int)’:
  /path_to/serialization.h:611: error: ‘v’ was not declared in this scope
  /path_to/serialization.h: At global scope:
  /path_to/serialization.h:582: error: an anonymous union cannot have function members
  /path_to/serialization.h:613: error: abstract declarator ‘ros::serialization::<anonymous struct><T, N>’ used as declaration
  /path_to/serialization.h:619: error: expected unqualified-id before ‘<’ token
  /path_to/serialization.h:619: error: expected ‘,’ or ‘...’ before ‘<’ token
  /path_to/serialization.h: In function ‘void ros::serialization::serialize(Stream&)’:
  /path_to/serialization.h:621: error: ‘t’ was not declared in this scope
  /path_to/serialization.h: At global scope:
  /path_to/serialization.h:628: error: ‘boost::array’ has not been declared
  /path_to/serialization.h:628: error: expected ‘,’ or ‘...’ before ‘<’ token
  /path_to/serialization.h: In function ‘void ros::serialization::deserialize(Stream&, int)’:
  /path_to/serialization.h:630: error: ‘t’ was not declared in this scope
  /path_to/serialization.h: At global scope:
  /path_to/serialization.h:637: error: expected unqualified-id before ‘<’ token
  /path_to/serialization.h:637: error: expected ‘,’ or ‘...’ before ‘<’ token
  /path_to/serialization.h: In function ‘uint32_t ros::serialization::serializationLength()’:
  /path_to/serialization.h:639: error: ‘t’ was not declared in this scope
  /path_to/serialization.h: In function ‘ros::SerializedMessage ros::serialization::serializeMessage(const M&)’:
  /path_to/serialization.h:807: error: ‘class ros::SerializedMessage’ has no member named ‘buf’
  /path_to/serialization.h:809: error: ‘class ros::SerializedMessage’ has no member named ‘buf’
  /path_to/serialization.h: In function ‘ros::SerializedMessage ros::serialization::serializeServiceResponse(bool, const M&)’:
  /path_to/serialization.h:829: error: ‘class ros::SerializedMessage’ has no member named ‘buf’
  /path_to/serialization.h:831: error: ‘class ros::SerializedMessage’ has no member named ‘buf’
  /path_to/serialization.h:839: error: ‘class ros::SerializedMessage’ has no member named ‘buf’
  /path_to/serialization.h:840: error: ‘class ros::SerializedMessage’ has no member named ‘buf’
  /path_to/serialization.h: In function ‘void ros::serialization::deserializeMessage(const ros::SerializedMessage&, M&)’:
  /path_to/serialization ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-12-07 00:56:49.783973

Comments

This build error is truncated, can you locate the full build log in ~/.ros/... or run make there directly? roscd roscpp_serialization && make

William gravatar image William  ( 2012-04-02 13:02:44 -0500 )edit