I am trying to use OpenSceneGraph and OSGEarth modules for omnet++.
However, when I installed this packages as told in Installation guide of omnet++ using the commands
sudo apt-get install openscenegraph-plugin-osgearth libosgearth-dev
sudo apt-get install libopenscenegraph-dev
and after changing the configure.user
file in omnet++ root directory, and run ./configure
, I get this error:
checking for osgEarth with CFLAGS=" -fPIC -fno-omit-frame-pointer " LIBS=" -Wl,--export-dynamic -losgEarth -losgEarthUtil -lgeos_c "... no
configure: error: Cannot find osgEarth 2.7 or later. Set WITH_OSGEARTH=no in configure.user to disable this feature or install an up to date version of osgEarth.
I tried to removing and reinstalling all the packages and reinstalling omnet itself. But still get the same error
I solved the problem by installing
the libosgearth-dev package has unmet dependencies and it needs to be solved. aptitude suggests two solutions and I chose the second, which is downgrading previously installed packages. The output is like this: