Git Product home page Git Product logo

Comments (3)

riebl avatar riebl commented on June 16, 2024

Artery builds INET for you, i.e. you should not need to manually invoke any INET make targets. What happens when you simply build Artery after adding your new module to INET?

Also, your error occurs at runtime. Possibly the reason is actually a problem when compiling the sources. Do you see any error or warning messages during the build?

from artery.

Meghna2069 avatar Meghna2069 commented on June 16, 2024

Thank you for replying !

Here are the warnings i see when i run my project:

"/home/laptop/artery/extern/inet/src/inet/common/serializer/SerializerBase.cc: In destructor ‘virtual inet::serializer::SerializerRegistrationList::~SerializerRegistrationList()’:
/home/laptop/artery/inet/src/inet/common/serializer/SerializerBase.cc:163:129: warning: throw will always call terminate() [-Wterminate]
163 | throw cRuntimeError("SerializerRegistrationList not empty, should call the SerializerRegistrationList::clear() function");
| ^
/home/laptop/artery/extern/inet/src/inet/common/serializer/SerializerBase.cc:163:129: note: in C++11 destructors default to noexcept"

"/home/laptop/artery/extern/inet/src/inet/common/serializer/ipv4/IPv4Serializer.cc: In destructor ‘virtual inet::serializer::IPv4OptionSerializerRegistrationList::~IPv4OptionSerializerRegistrationList()’:
/home/laptop/artery/extern/inet/src/inet/common/serializer/ipv4/IPv4Serializer.cc:409:129: warning: throw will always call terminate() [-Wterminate]
409 | throw cRuntimeError("SerializerRegistrationList not empty, should call the SerializerRegistrationList::clear() function");
| ^
/home/laptop/artery/extern/inet/src/inet/common/serializer/ipv4/IPv4Serializer.cc:409:129: note: in C++11 destructors default to noexcept"

"In file included from /home/laptop/artery/extern/simulte/src/stack/mac/layer/LteMacEnbD2D.cc:14:
/home/laptop/artery/extern/simulte/src/stack/mac/amc/AmcPilotD2D.h: In member function ‘virtual std::vector AmcPilotD2D::getMultiBandCqi(MacNodeId, Direction)’:
/home/laptop/artery/extern/simulte/src/stack/mac/amc/AmcPilotD2D.h:54:83: warning: no return statement in function returning non-void [-Wreturn-type]
54 | virtual std::vector getMultiBandCqi(MacNodeId id, const Direction dir) {};
| ^
"

The problem is that i do not see my modified files, neither do i see the ones i added during compilation and then i get the message error that indicates that it can not load library !

Do you think that the error might exist in the code ? Aren't they any other reasons behind this compilation error ? and why i do not see the files i added during execution of my project ? Have you got an idea about that please ?

from artery.

riebl avatar riebl commented on June 16, 2024

When adding new files to INET you will need to run the configuration stage of CMake again, i.e. go to your build directory and invoke cmake .. there. This step will search for all source files found in the extern subdirectories and add them to the build target. A follow-up build will then include also the new source files.

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.