Hi,
I'm having a similar sort of error:
<!> Error in module (cCompoundModule) GoogleEarthNet.AP (id=4)
during network setup: Class "NotificationBoard" 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'm not sure how to fix it using your method. What I'm trying to do here is, I've downloaded the Google Earth Demo
from the omnetpp website and I'm trying to use some files from the examples provided with the INET MANET, specifically the 'handover'
so I copied over the 'src' folder from INET MANET folder to my Google Earth Demo folder and ended up with the following code:
package googleearthdemo;
//-----------------------------------------------------------------------------------
import googleearthdemo.src.networklayer.autorouting.FlatNetworkConfigurator;
import googleearthdemo.src.nodes.wireless.WirelessAP;
import googleearthdemo.src.world.ChannelControl;
//-----------------------------------------------------------------------------------
//
// The Google Earth Demo network.
//
network GoogleEarthNet
{
parameters:
@display("bgb=2000,2000;bgi=background/terrain,s");
double playgroundLatitude; // geographic position of the playground's north-west corner
double playgroundLongitude; // geographic position of the playground's north-west corner
double playgroundWidth @unit("m") = default(1000m); // the E-W size of playground
double playgroundHeight @unit("m") = default(1000m); // the N-S size of playground
submodules:
chanCtrl: ChannelController {
@display("p=90,250");
}
kmlHttpServer: KmlHttpServer {
@display("p=90,350;t=Run the simulation in Fast mode\\, then\npoint your browser to localhost:4242\nor open the provided KML file");
}
AP: WirelessAP { //error occurs when I add this line
@display("p=900,200;r=,,#707070");
}
car[8]: MobileNode;
}
Can you help me with this? Did I copy the files over correctly, or do I need to include them some other way?
Many Thanks