Using graphviz.hpp [closed]

asked 2012-04-25 23:13:11 -0600

wennho gravatar image

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 rosbuild_add_boost_directories() line in CMakeLists.txt. Any other ideas?

Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by tfoote
close date 2012-04-27 13:15:54

Comments

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

tfoote gravatar image tfoote  ( 2012-04-27 13:15:45 -0600 )edit