undefined symbol CameraManipulator using OpenSceneGraph

15 views
Skip to first unread message

Ba360

unread,
May 22, 2020, 7:32:50 AM5/22/20
to OMNeT++ Users

I am trying to use osgearth with omnet++ but I had this issue:


OMNeT++ Discrete Event Simulation (C) 1992-2019 Andras Varga, OpenSim Ltd.

Version: 5.6.1, build: 200207-b15dab9895, edition: Academic Public License -- NOT FOR COMMERCIAL USE

See the license for distribution terms and warranty disclaimer


Setting up Qtenv... Loading NED files from .:

6 Loading images from './bitmaps': *:

0 Loading images from './images': *:

0 Loading images from '/home/XXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/images': : 0 abstract/: 90 background/: 4 block/: 320 device/: 195 logo/: 1 maps/: 9 misc/: 70 msg/: 55 old/: 111 status/*: 28


Loading OSG Viewer library...

Failed: Cannot load library 'liboppqtenv-osg.so': /home/XXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppqtenv-osg.so:

undefined symbol: _ZTv0_n224_N5osgGA17CameraManipulatorD1Ev


Segmentation fault (core dumped)


I used ldd to see all the links and everything seems to be correct. Also, i used bt to see the stack.

**#0 0x0000000000000000 in ()

**#1 0x0000000000414dc0 in OsgEarthScene::initialize() ()

**#2 0x00007ffff6f40e8f in omnetpp::cModule::initializeModules(int) () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppsim.so

**#3 0x00007ffff6f40ebf in omnetpp::cModule::initializeModules(int) () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppsim.so

**#4 0x00007ffff6f40b9b in omnetpp::cModule::callInitialize() () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppsim.so

**#5 0x00007ffff6f6627f in omnetpp::cSimulation::callInitialize() () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppsim.so

**#6 0x00007ffff794be52 in omnetpp::envir::EnvirBase::startRun() () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppenvir.so

**#7 0x00007ffff762255f in omnetpp::qtenv::Qtenv::newRun(char const*, int) () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppqtenv.so

**#8 0x00007ffff7621b6d in omnetpp::qtenv::Qtenv::initialSetUpConfiguration() () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppqtenv.so

**#9 0x00007ffff1ca5074 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#10 0x00007ffff1c9907b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#11 0x00007ffff12ec83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

**#12 0x00007ffff12f4104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

**#13 0x00007ffff1c698d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#14 0x00007ffff1cc1d2e in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#15 0x00007ffff1cc2529 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#16 0x00007fffec02a417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0

**#17 0x00007fffec02a650 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0

**#18 0x00007fffec02a6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0

**#19 0x00007ffff1cc288f in QEventDispatcherGlib::processEvents(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#20 0x00007ffff1c6790a in QEventLoop::exec(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#21 0x00007ffff1c709b4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

**#22 0x00007ffff76201f1 in omnetpp::qtenv::Qtenv::doRun() () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppqtenv.so

**#23 0x00007ffff794bc93 in omnetpp::envir::EnvirBase::run() () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppenvir.so

****#24 0x00007ffff794920c in omnetpp::envir::EnvirBase::run(int, char**, omnetpp::cConfiguration*) () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppenvir.so**

****#25 0x00007ffff794395c in omnetpp::envir::setupUserInterface(int, char**) () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppenvir.so**

**#26 0x00007ffff79447e5 in evMain () at /home/XXXXXX/Documents/omnetpp-5.6.1-src-linux/omnetpp-5.6.1/lib/liboppenvir.so

**#27 0x00007ffff3340b97 in __libc_start_main (main= 0x416530 , argc=1, argv=0x7fffffffdd68, init=, fini=, rtld_fini=, stack_end=0x7fffffffdd58) at ../csu/libc-start.c:310

**#28 0x000000000040e0da in _start ()

 

and i used readelf -s liboppqtenv-osg.so and found

 



 





 

_

Does anyone know how to solve it? Thank you

Reply all
Reply to author
Forward
0 new messages