-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello,
I would like to build my omnetpp with the support for 3D, since osg and osgearth examples are the types of simulations i need to run.
However, i can't find a way to build it with these two.
I have a windows machine, so no opp-env on it.
A ubuntu 24 machine, but there is no way to have osgearth 2.7 (or <3) on it
A ubuntu 20 machine, but now the ./configure command won't find my packages
I ran:
sudo apt install osgearth openscenegraph-plugin-osgearth libopenscenegraph-dev openscenegraph
And my configure.user, i tried default and specifying the lib paths:
# OpenSceneGraph libraries we want to use. Leave empty for autodetection
# or specify some invalid value (like "no" to explicitly disable OpenSceneGraph)
# At least the following libraries must be found: osg osgGA osgViewer osgQt OpenThreads
#
OSG_LIBS="-I/usr/include -L/usr/lib/x86_64-linux-gnu -losg -losgDB -losgGA -losgViewer -losgQt -lOpenThreads"
# osgEarth libraries to be used. Leave empty for autodetection.
# At least the following libraries are required: osgEarth osgEarthUtil
#
OSGEARTH_LIBS="-I/usr/include/osgEarth -L/usr/lib/x86_64-linux-gnu -losgEarth -losgEarthUtil -lgeos_c"
but to no avail...
checking for OpenSceneGraph with CFLAGS=" -fPIC -Wno-deprecated-register -Wno-unused-function -fno-omit-frame-pointer " LIBS=" -fuse-ld=lld -Wl,-rpath,$(OMNETPP_LIB_DIR) -Wl,-rpath,. -Wl,-rpath,$(OMNETPP_TOOLS_DIR)/lib -Wl,--export-dynamic -losg -losgDB -losgGA -losgViewer -losgUtil -lOpenThreads"... no
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.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels