Robotics StackExchange | Archived questions

Using graphviz.hpp

Hi everyone, I just started using ROS and I'm trying to use the provided Boost library in ROS to do some graph processing. Unfortunately, when I try to include the graphviz.hpp file in my code a long list of errors pop up.

Here are the first few:

/usr/include/boost/xpressive/match_results.hpp:123:21: error: expected identifier before numeric constant
/usr/include/boost/xpressive/match_results.hpp:123:21: error: expected ‘}’ before numeric constant
/usr/include/boost/xpressive/match_results.hpp:123:21: error: expected unqualified-id before numeric constant
/usr/include/boost/xpressive/match_results.hpp:133:57: error: ‘traits’ has not been declared
/usr/include/boost/xpressive/match_results.hpp:133:63: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/include/boost/xpressive/match_results.hpp:164:63: error: ‘transform_op’ has not been declared
/usr/include/boost/xpressive/match_results.hpp:195:5: error: ‘traits’ does not name a type
/usr/include/boost/xpressive/match_results.hpp:196:5: error: ‘transform_op’ does not name a type

I have also enabled the rosbuildaddboost_directories() line in CMakeLists.txt. Any other ideas?

Thanks in advance.

Asked by wennho on 2012-04-25 23:13:11 UTC

Comments

You have a C++ syntax error. This is not a ROS question.

Asked by tfoote on 2012-04-27 13:15:45 UTC

Answers