Error building full stack due to roscpp_serialization fail on osx
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 pathto = /Users/a/ros/roscomm/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.h:854: error: ‘const class ros::SerializedMessage’ has no member named ‘buf’
make[3]: *** [CMakeFiles/roscpp_serialization.dir/src/serialization.o] Error 1
make[2]: *** [CMakeFiles/roscpp_serialization.dir/all] Error 2
make[1]: *** [all] Error 2
Asked by adon on 2012-03-16 18:53:19 UTC
Comments
This build error is truncated, can you locate the full build log in ~/.ros/... or run make there directly? roscd roscpp_serialization && make
Asked by William on 2012-04-02 13:02:44 UTC