error about Define_Module() etc

24 views
Skip to first unread message

Guoyong Guo

unread,
Mar 13, 2010, 3:38:37 AM3/13/10
to omn...@googlegroups.com
Hi everyone:
    I had encounter a problem today which just describled as below .
     
     When I run the project , it tells me that "Error in module (cCompoundMoudule) NOP_SIMULATION.hostA (id =2) :Class "Source " 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().".
     
     But,I had used the Define_Module()/ to define the simple module Source .And the .ned file can display the Source module.
     If everyone can fix this problem out ,communicating with me ,please ! Thank you very much !

Judi

unread,
Apr 3, 2010, 1:27:51 PM4/3/10
to omnetpp
hi Guo,
i have got the same problem, if you get an answer please let me know.
thanks in advance

Guoyong Guo

unread,
Apr 3, 2010, 11:00:48 PM4/3/10
to omn...@googlegroups.com


2010/4/4 Judi <judici...@gmail.com>
hi Guo,
i have got the same problem, if you get an answer please let me know.
thanks in advance

--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.

Hi:
   My problem was fixed out. Because the control message for the datalinker layer was wrong when I use the Inet framework , so , its(my modules) code was not linked in .
 
   good luck !
Reply all
Reply to author
Forward
0 new messages