我对 Omnet 没有太多经验,我想知道我是否正确运行命令来运行示例。
首先,当我键入 make Vanetza 时,我意识到 COHDA_MK2_ROOT 丢失了,但是 Vanetza 编译时没有错误:
mkdir extern/vanetza/build
cd extern/vanetza/build && cmake -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.58.0
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- date_time
-- serialization
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- date_time
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- date_time
-- Found GeographicLib: /usr/local/include (found suitable version "1.46", minimum required is "1.37")
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- serialization
-- Found CryptoPP: /usr/include (found suitable version "5.6.1", minimum required is "5.6.1")
**-- Could NOT find Cohda (missing: COHDA_MK2_ROOT)**
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- Configuring done
-- Generating done
当我尝试./run
使用 root 运行命令到 /artery/scenarios/artery 时,它返回:
./run: 2: ./run: ../../run: not found
当我尝试opp_run
在同一个文件夹中运行命令时,我可以打开 Omnet,但是,由于缺少 Scenario.ned,因此无法运行模拟。
我能做些什么?