I am just starting out with RTI Connext using Modern C++. I'm trying to make a class that has a DomainParticipant and some other stuff and am getting errors.
In Foo.h:
#include "dds/domain/DomainParticipant.hpp"
class Foo {
public:
Foo(int32_t domain);
private:
dds::domain::DomainParticipant part;
And in Foo.cpp:
#include "Foo.h" Foo::Foo(int32_t domain) { }
When I try to compile it (and remember there's literally nothing going on) I get an error at the constructor: