0
votes

I build the INET project and everything goes fine. When I try to run it, I get this error:

Starting...

$ cd /home/user/Desktop/omnetpp-5.0/temp/inet/tutorials/wireless
$ opp_run -r 0 -n ../../examples:../../src:.. -l ../../src/INET --debug on-errors=false omnetpp.ini

<!> Warning: opp_run: Cannot check library ../../src/INET:../../src//libINET.so: undefined symbol: _ZN3osg5Group11removeChildEPNS_4NodeE


<!> Error during startup: Cannot load library '../../src//libINET.so': ../../src//libINET.so: undefined symbol: _ZN3osg5Group11removeChildEPNS_4NodeE.
OMNeT++ Discrete Event Simulation  (C) 1992-2016 Andras Varga, OpenSim Ltd.
Version: 5.0, build: 160414-aa4629c, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

End.

INET is a fresh installation in a new workspace (/temp). I have another workspace where it works fine without any problem. There is also a third workspace where it was working fine and then suddenly after clicking on "clean project" for a different project that is using INET, it doesn't work anymore and it gives the same error as the one reported here.

I don't understand where is the problem coming from.

1
Which INET version are you using?Michael Kirsche
INET 3.4, I don't know what happened but it was working fine and then I clicked on clean instead of build and this error appeared. I cannot find a solution, maybe now I also messed with openscengraph. I installed it but I don't think I had torebrid
Did you make sure that the Visualization feature is enabled? If it is disabled, then older INET versions like 3.4 have problems since the visualization dependency wasn't (yet) correctly included in all other features before INET 3.5.Michael Kirsche
What do you mean exactly with visualisation feature?rebrid
Go into the INET project settings (right-click on the INET project -> properties), check under OMNeT++ -> Project Features that the "Visualization" feature is enabled before you build your INET project.Michael Kirsche

1 Answers

0
votes

The error

<!> Warning: opp_run: Cannot check library ../../src/INET:../../src//libINET.so: undefined symbol: _ZN3osg5Group11removeChildEPNS_4NodeE

means that there is a problem with the function named "NodeE..." in the file "Group11removeChildEPNS". Maybe the function was declared in th .h but not implemented in the .cc.