Hello,
I'm trying to run the earth example (inet/examples/visualization/earth), im facing an error :
<!> Error: Count not find map node in the scene -- in module (inet::OsgGeographicCoordinateSystem) EarthVisualizationExample.coordinateSystem (id=3), during network initialization
this error come from :
void OsgGeographicCoordinateSystem::initialize(int stage)
{
if (stage == INITSTAGE_LOCAL) {
auto mapScene = getParentModule()->getOsgCanvas()->getScene();
mapNode = osgEarth::MapNode::findMapNode(mapScene);
if (mapNode == nullptr)
throw cRuntimeError("Count not find map node in the scene");
when i run the simulation in omnetpp, the console give me this commande line :
../../../../../bin/opp_run.exe -m -n ../../../src;../..;../../../tutorials;../../../showcases --image-path=../../../images -l ../../../src/INET omnetpp.ini
So i added the -u Cmdenv and replace the ';' by ':' to seperate paths :
../../../../../bin/opp_run.exe -u Cmdenv -m -n ../../../src:../..:../../../tutorials:../../../showcases --image-path=../../../images -l ../../../src/INET omnetpp.ini
Maybe it comes from the function, "findMapNode" a missing library in the command ? or it is not possible to run a simulation with osg in the Cmdenv ?
any idea please ?