Hi
I'm developing an application for NOX.
The code consists of multiple files, and is a topology discovery merged
with a bittorrent tracker.
However, when I run the application (everything compiles fine), I get the
following error:
'discovery' ran into an error:
discovery does not implement
discovery_get_factory() nor get_factory() function
I have added
REGISTER_COMPONENT(vigil::container::Simple_component_factory<Discovery>,
Discovery);
to the bottom of my source file discovery.cc, if I add it higher up in the
source file, or in another source file,
I mostly get a compiler error that says: get_factory is already defined.
What am I missing here?
Kind regards
Sander