error: Cannot find OpenSceneGraph 3.2 or later

I am trying to setup omnet++ when I run ./configure I endup with follwoing error:

.
.
.
configure: error: Cannot find OpenSceneGraph 3.2 or later - 3D view in Qtenv will not be available. Set WITH_OSG=no in configure.user to disable this feature or install the development package for OpenSceneGraph.

Running osgversion in same directory outputs:

OpenSceneGraph Library 3.6.4

I think that means OpenSceneGraph is installed fine, but I don't know what's causing this error and how to resolve it. Google only shows one result and that's from actual code on github where this error is written, no solution.

I did not change the configure.user file as mentioned in the error because I might need OpenSceneGraph for my work. Link to installation guide for OMNeT++ is : Installguide.pdf

1 Answer

You have to install package with development headers by

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install libopenscenegraph-dev

and then resume compilation.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like