问题
I am writing my own simple modules in omnet++.
Inside the omnet IDE, I have created three simple modules.
After that I have created a "network" using those modules.
It is building successfully, but whenever I try to simulate it it shows
Error in module (cModule) NetworkTopologyOnly (id=1) during network setup: Class "mySimplemodule2" not found -- perhaps its code was not linked in, or the class wasn't registered with Register_Class(), or in the case of modules and channels, with Define_Module()/Define_Channel().
What should I do to successfully simulate using my own simple modules?
回答1:
Other than class or module registering issues, this could also be caused when you have not implemented all its functions (if you have any non-virtual function prototype defined in your omnet++ class).
来源:https://stackoverflow.com/questions/35586147/class-simplemodule-not-found-in-omnetpp