I am working with veins. I needed to change the default behavior of BaseWaveApplLayer
. Rather doing in file changes, I created a second application file with the name MyApp
. I added MyApp.cc
, MyApp.h
, MyApp.ned
files. Then I duplicated TraCIDemoRSU11p
, and added files for TraCIDemoRSU11pEnhanced
. Now in .ini
file when I changed *.rsu[*].applType
to point to "TraCIDemoRSU11pEnhanced". It compiles fine, but when I try to run it, generates the following error:
Submodule appl: no module type named `TraCIDemo11pEnhanced' found that implements module interface org.car2x.veins.base.modules.IBaseApplLayer (not in the loaded NED files?).
In MyApp.ned
file it is declared to be of type IBaseApplLayer
. I tried setting ned-path
parameter in ini file, didn't resolve the problem. In veins project properties, NED source folder is checked. Do I have to add the ned path for the newly created application file, somewhere?