Comments (3)
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.
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.
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)
- Connecting to Sumo server by TraCi HOT 9
- Artery build error HOT 6
- run into problems while trying `vagrant up` on my Ubuntu 22.04 machine HOT 6
- CAM and DENM messages HOT 2
- DEN use cases HOT 1
- connecting artery simulation scenario with the external v2x device HOT 3
- Traffic Lights management HOT 1
- adding RSU to simuLTE probleme cars veins HOT 5
- Difficulty Implementing External Service Message Transmission and Enabling Network Participants to Edit Messages in Artery HOT 6
- Integrating MQTT protocol with artery HOT 13
- Segementation fault (core dumps) in artery::FovSensor::refreshDisplay HOT 1
- ASSERT: Condition 'mController' does not hold in function 'getVehicleController' HOT 14
- Equip services to vehicles HOT 1
- Protobuff transmission using cPacket and request
- Problems running CAM Fixed and Dynamic with the same scenario HOT 5
- about a cmake error HOT 6
- UPER encoded DecentralizedEnvironmentalNotificationMessage(DENM) structure
- Regarding creating a new service to stationary nodes(rsu) HOT 3
- Creating messages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artery.