Comments (8)
I can see from your console dump that INET is compiled in release mode (as out/gcc-release/src/libINET.so library). As the output by opp_run
tells you one should not mix OMNeT++ libraries (such as Veins, INET and Artery) when they are not all built in the same mode, i.e. release or debug.
For example, you can force INET to be built in debug mode by calling make MODE=debug
in extern/inet
.
from artery.
I executed make MODE=debug
in extern/inet. The compilation was successful.
But cmake --build build --target run_example
is still not working (same output)
[...]
[ 14%] Building INET (external dependency)
*** COMPILING with:
g++ -c -std=c++11 -O2 -DNDEBUG=1 -MMD -MP -MF .d -fPIC -fno-stack-protector -DHAVE_SWAPCONTEXT -DWITH_MPI -DXMLPARSER=libxml -DPREFER_QTENV -DWITH_QTENV -DWITH_TKENV -DWITH_PARSIM -DWITH_NETBUILDER -DWITH_OSG -DWITH_OSGEARTH -Wno-overloaded-virtual -include inet/common/precompiled_release.h -DINET_EXPORT -I. -I/home/user/ITS/omnetpp-5.1.1/include
*** LINKING with:
g++ -shared -fPIC -o ../out/gcc-release/src/libINET.so -Wl,--no-as-needed -Wl,--whole-archive -Wl,--no-whole-archive -loppenvir -loppsim -ldl -lstdc++ -lOpenThreads -losg -losgText -losgDB -losgEarth -losgEarthUtil -Wl,-rpath,/home/user/ITS/omnetpp-5.1.1/lib -Wl,-rpath,/lib -Wl,-rpath,. -Wl,--export-dynamic -L/home/user/ITS/omnetpp-5.1.1/lib
[...]
from artery.
@riebl Any idea how to fix that ?
Like I said in my previous post, I tried make MODE=debug
in the inet folder (it worked) but when I try to compile run_example the default mode is "release"
I also tried make run_example mode=debug
in the build directory, but the error is still there
from artery.
@micleb I still don't know why this problem occurs on your system. You can try to build Veins in release mode explicitly as well, similar to INET.
I have the feeling that something with the generated veins-targets.cmake and INET-targets.cmake files in your build directory is odd, e.g. one of them is missing the release configuration und thus falling back to the debug build.
from artery.
@micleb Did you manage to get Artery running in the meantime?
from artery.
Hi, I also got the same problem a while ago. I got the error on 9ec5eba and don't know if the error persists after that. However, then i tried cloning down the 655d46a commit (from march) and I didn't get the same error. So it seems to be caused by some CMake change after that. Hope it helps in discovering the issue.
from artery.
@dnguyenkth Thanks for your additional insights. You may try to remove all *-targets.cmake
files from your build directory when this problem occurs.
It seems that those files, which are generated by Artery's opp_cmake
, are not updated when dependencies such as Veins or INET have been built with another mode option. Removing them forces CMake to run opp_cmake
again.
from artery.
I get it to build without any problem on the latest commit 577e2bd, so I guess this is solved now :)
from artery.
Related Issues (20)
- Running Artery with different values of a parameter HOT 3
- Measure CAM's age: from sendCam() of transmiters to indicated() of receivers. HOT 3
- Storyboard Effects HOT 4
- Detecting Pedestrians HOT 1
- Help needed: Docker Documentation needed HOT 2
- error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
- plot between "receiving power of a receiver" and "distance from transmitter" HOT 1
- Get the exact number of sent message from services HOT 4
- Information exchanging between modules and Number of entries in Location table HOT 9
- Denm service overwriting port on IVIM service HOT 9
- Error with Regions of Interest HOT 1
- Print ID, speed and position HOT 2
- Cmake static variable cannot load library HOT 2
- duplicated DENM messages HOT 4
- updateDENM and terminateDENM HOT 2
- Traces in DENM
- INET_API resultfilters in Artery HOT 1
- Comparing longitudes and latitudes values of different positions
- Nodes do not take Z coordinates in .ned file
- Connecting to Sumo server by TraCi HOT 9
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.