riebl / vanetza

Open-source implementation of the ETSI C-ITS protocol stack
Other
200 stars 158 forks source link

I am getting this error after " make " #121

Closed jai9318 closed 3 years ago

jai9318 commented 3 years ago

cd vanetza mkdir build && cd build cmake .. make


cmake ..

Boost 1.58 found. -- Found Boost components: date_time -- Boost 1.58 found. -- Found Boost components: system;program_options -- GeographicLib: using lookup code by Vanetza -- Configuring done -- Generating done -- Build files have been written

make

[ 1%] Built target common [ 2%] Built target net [ 2%] Built target access [ 11%] Built target asn1_support [ 47%] Built target asn1_its [ 62%] Built target asn1_security [ 84%] Built target asn1_pki [ 84%] Built target asn1 [ 90%] Built target security [ 93%] Built target dcc [ 98%] Built target geonet [ 99%] Built target btp [ 99%] Built target facilities [100%] Built target gnss make[2]: No rule to make target '/usr/lib/libboost_system.so.1.75.0', needed by 'bin/proxy_fake_feed'. Stop. CMakeFiles/Makefile2:832: recipe for target 'tools/proxy_fake_feed/CMakeFiles/proxy_fake_feed.dir/all' failed make[1]: [tools/proxy_fake_feed/CMakeFiles/proxy_fake_feed.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2


getting this error. !

riebl commented 3 years ago

You need to install /usr/lib/libboost_system.so.1.75.0 on your system, e.g. by installing the corresponding package offered by your Linux distribution.

jai9318 commented 3 years ago

1). How to invoke ctest in build directory ,is there any command ? 2). I need to install omnet++ and then artery am i right ??

riebl commented 3 years ago
  1. make test or ctest
  2. Yes, OMNeT++ is a prerequisite of Artery
jai9318 commented 3 years ago

for make test it is giving as - make: *** No rule to make target 'test'. Stop.

for ctest-


No test configuration file found!


Usage

ctest [options]

riebl commented 3 years ago

Vanetza's test targets are only enabled if its CMake option BUILD_TESTS is set to ON. Sidenote: You don't need to build Vanetza on your own if you just want to build and use Artery. Artery automatically builds Vanetza.

jai9318 commented 3 years ago

1)Where and how to SET build_tests to on ... ? 2)And how can I check in gtest.?

riebl commented 3 years ago
  1. use ccmake or cmake-gui for editing CMake build variables
  2. How can you check what?
jai9318 commented 3 years ago

1). Do i need to install sumo after building artery ? 2). After make run_example in my build directory, the omnet++ is showing up

but after run option in omnet++ in my terminal it is giving as

Setting up Qtenv...

Loading NED files from /home/akash/artery/src/artery: 93 Loading NED files from /home/akash/artery/src/traci: 21 Loading NED files from /home/akash/artery/extern/veins/examples/veins: 1 Loading NED files from /home/akash/artery/extern/veins/src/veins: 43 Loading NED files from /home/akash/artery/extern/inet/src: 666 Loading NED files from /home/akash/artery/extern/inet/examples: 174 Loading NED files from /home/akash/artery/extern/inet/tutorials: 19 Loading NED files from /home/akash/artery/extern/inet/showcases: 33

Loading images from './bitmaps': : 0 Loading images from './images': : 0 Loading images from '/home/akash/omnetpp-5.6.2/images': : 0 abstract/: 90 background/: 4 block/: 320 device/: 195 logo/: 1 maps/: 9 misc/: 70 msg/: 55 old/: 111 status/*: 28

sh: 1: sumo: not found


after stopping it is showing as these errors as well as showing as qtenv is not working and in terminal it is shwing as Killed scenarios/artery/CMakeFiles/run_example.dir/build.make:57: recipe for target 'scenarios/artery/CMakeFiles/run_example' failed make[3]: [scenarios/artery/CMakeFiles/run_example] Error 137 CMakeFiles/Makefile2:1400: recipe for target 'scenarios/artery/CMakeFiles/run_example.dir/all' failed make[2]: [scenarios/artery/CMakeFiles/run_example.dir/all] Error 2 CMakeFiles/Makefile2:1407: recipe for target 'scenarios/artery/CMakeFiles/run_example.dir/rule' failed make[1]: [scenarios/artery/CMakeFiles/run_example.dir/rule] Error 2 Makefile:474: recipe for target 'run_example' failed make: [run_example] Error 2


riebl commented 3 years ago

See http://artery.v2x-research.eu/install/: "Though not required for compiling Artery, you will also need to install SUMO."

I am closing this issue ticket now as "Artery" is off-topic in this repository.