Hello :)
I'm using debian testing, with
- omnetpp 5.2.1,
- libopenscenegraph-3.4-dev
- libosgearth-dev (2.9)
- libosgearthqt5-5 (2.9).
I have the following error:
===== Compiling qtenv ====
osgviewer.cc
osgviewer.cc: In member function ‘virtual void omnetpp::qtenv::OsgViewer::refresh()’:
osgviewer.cc:504:30: error: ‘findTopMostNodeOfType’ is not a member of ‘osgEarth’
auto sky = osgEarth::findTopMostNodeOfType<osgEarth::Util::SkyNode>(scene);
^~~~~~~~~~~~~~~~~~~~~
osgviewer.cc:504:75: error: expected primary-expression before ‘>’ token
auto sky = osgEarth::findTopMostNodeOfType<osgEarth::Util::SkyNode>(scene);
^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
Makefile:80: recipe for target '/home/drone/Applications/OMNETPP/omnetpp-5.2.1/out/gcc-release/src/qtenv/osg/osgviewer.o' failed
make[3]: *** [/home/drone/Applications/OMNETPP/omnetpp-5.2.1/out/gcc-release/src/qtenv/osg/osgviewer.o] Error 1
Makefile:98: recipe for target 'qtenv-osg' failed
make[2]: *** [qtenv-osg] Error 2
Makefile:111: recipe for target 'qtenv' failed
make[1]: *** [qtenv] Error 2
Makefile:28: recipe for target 'allmodes' failed
make: *** [allmodes] Error 2
due to : ‘findTopMostNodeOfType’ is not a member of ‘osgEarth’
I thought that I'm using the wrong version of some libraries.
What am I doing wrong?
I don't know where to go from here.
Cheers,
Lara
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.