Happens that the class is registered with Define_Module() and I tried with Register_Class() too, but neither worked. I've found some people with the same problem but the sollution they got did not worked for me, so I'm bringing it to a new thread.
The code for the simulation and it's nodes is attached. The system running Omnet is Ubuntu 15.04 64 bits.
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.
# Object files for local .cc and .msg files
OBJS = $O/dbSyncSensor.o $O/defaultSensor.o
[...]
# DO NOT DELETE THIS LINE -- make depend depends on it.
$O/dbSyncSensor.o: dbSyncSensor.cc \
dbWrite.h
$O/defaultSensor.o: defaultSensor.cc
ester@lenovo:~/omnetpp-4.6/samples/proba$ ls
dbSyncSensor.cc defaultSensor.cc omnetpp.ini proba redeSensores.ned
dbWrite.h Makefile out README
Greetings.
- renamed “defaultSensor.c” to “defaultSensor.cc” and it worked.
- added “allowunconnected” and the error regarding gates unused stopped showing.
Thank you again for guiding me on these problems.
Hope the group don’t mind me posting more questions like these, I’m making my term paper based on Omnet and it’s been a little hard.
Best regards.