I followed the installation guide and installed all the packages mentioned to install Omnet++ in this link https://medium.com/@cse247/omnet-3fef4875f6fb . However, I end up with this error message while running make command

osgviewer.cc:472:30: error: no member named 'findTopMostNodeOfType' in namespace
        auto sky = osgEarth::findTopMostNodeOfType<osgEarth::Util::SkyNo...
osgviewer.cc:472:75: error: expected '(' for function-style cast or type
        auto sky = osgEarth::findTopMostNodeOfType<osgEarth::Util::SkyNode>(scene);
2 errors generated.
Makefile:69: recipe for target '/home/user/Downloads/omnetpp-5.1.1/out/clang-release/src/qtenv/osgviewer.o' failed
make[2]: *** [/home/user/Downloads/omnetpp-5.1.1/out/clang-release/src/qtenv/osgviewer.o] Error 1
make[2]: Leaving directory '/home/user/Downloads/omnetpp-5.1.1/src/qtenv'
Makefile:90: recipe for target 'qtenv' failed
make[1]: *** [qtenv] Error 2
make[1]: Leaving directory '/home/user/Downloads/omnetpp-5.1.1'
Makefile:23: recipe for target 'allmodes' failed
make: *** [allmodes] Error 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.