Giter VIP home page Giter VIP logo

Comments (5)

riebl avatar riebl commented on June 10, 2024

I assume INET's IMobility interface has changed from 3.6.4 (bundled with Artery) to 3.99.3 (the version mentioned on the linked stackoverflow page). Hence, those "marked 'override', but does not override" errors appear. I recommend to stick with the INET version referenced by Artery as git submodule.
A simple workaround for the "osgEarthUtil/ObjectLocator" problem: Either disable OpenSceneGraph entirely (see OMNeT++'s configure.user file) or install osgEarth.

Update: Just had a brief look at CoordinateSystem.cc. I guess I have confused your problem with some other problem we had when building with OSG but not OsgEarth. However, I don't quite understand why OMNeT++ has WITH_OSGEARTH defined when headers are missing for this feature. Maybe your OsgEarth version is not compatible with the one expected by OMNeT++?

from artery.

riebl avatar riebl commented on June 10, 2024

No update since more than 14 days, closing.
Feel free to reopen this issue ticket if it is not resolved yet.

from artery.

fehlfarbe avatar fehlfarbe commented on June 10, 2024

Hi I have the same problem with Ubuntu 18.04. I can build INET with make inet WITH_OSGEARTH=OFF but building artery with cmake --build . gives me the osgEarth error again:

inet/common/geometry/common/CoordinateSystem.cc:21:10: fatal error: osgEarthUtil/ObjectLocator: No such file or directory
 #include <osgEarthUtil/ObjectLocator>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

How can I pass WITH_OSGEARTH=OFF to the artery build command?

from artery.

riebl avatar riebl commented on June 10, 2024

Either disable osgEarth entirely in your OMNeT++ installation (see its configure.user file) or you can pass additional arguments to make via the MAKE_ARGUMENTS CMake variable.

from artery.

fehlfarbe avatar fehlfarbe commented on June 10, 2024

Thanks! Adding set(MAKE_ARGUMENTS WITH_OSGEARTH=OFF) to CMakeLists.txt did the trick!

from artery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.