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

Revision history [back]

click to hide/show revision 1
initial version

Perhaps you mean for the class G2O_CORE_API to inherit from the class HyperGraph? I'm definitely no expert in C++, but I've never seen that syntax before. If you do mean to extend HyperGraph, use a colon to specify classes from which to inherit. Like this:

class G2O_Core_API : HyperGraph {

If you didn't mean to inherit, I'd sure like to know what the syntax is and how to use it!