simple module code cannot be linked in correctly

8 views
Skip to first unread message

Denrreau Hsing

unread,
Jan 15, 2018, 3:36:27 AM1/15/18
to OMNeT++ Users
hi everyone

i am working on omnet++ 5.2.1,   ubuntu 16.04, and the compiler is g++. i tried creating a simple module, say A.  an error prompted when i used it  in network(the simplest case, just an object of A), it said " class A not found, perhaps its code not linked in...".  

i have tried some solutions on internet, including namespace tricks,  they did not work at all.  and i also checked the register class list by running the executable with "-h classes" option,  class A's presented in the list. so i reckon,  it must be the linking problem. but how to fix it is beyond me.

i will be very grateful if anyone responses.
Reply all
Reply to author
Forward
0 new messages