riebl / artery

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
203 stars 131 forks source link

error with my own RsuService #195

Closed ghost closed 3 years ago

ghost commented 3 years ago

HI @riebl , i've tried to create my own RsuService and i get inspired by the code of RsuCaService , the problem is this error pumped up .

Class "RsuService" 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() -- in module (artery::StationaryMiddleware) World.rsuX0.middleware (id=97), at t=0.548813502304s, event #9

i already added define_module(RsuService) in my .cc file .

thank you in advance for your help .

kenog commented 3 years ago

Hi @maddy-xx,

did you add your RsuService.cc to src/artery/CMakeLists.txt?

Best regards Keno

ghost commented 3 years ago

hi , yes

ghost commented 3 years ago

hi , yes

problem solved

xrispa-m commented 3 years ago

@maddy-xx did you add your service to the CMakeLists to solve the problem?