LoginSignup
0
0

More than 1 year has passed since last update.

Ubuntu 20.04 LTS における ns3.23/ndnSIM 2.3 の環境設定(依存関係とboost)

Last updated at Posted at 2023-01-09

検証環境

$ docker run -it ubuntu:20.04

Note

  • Ubuntu 18.04 LTS同様、gcc-7 / g++-7 で動作を確認。 gcc-8 以降は未検証、不明。

インストール

apt-get update
apt-get install \
curl \
wget \
git \
build-essential \
python \
gcc-7 \
g++-7 \
libsqlite3-dev \
libcrypto++-dev \
libssl-dev
 
export CC=gcc-7
export CXX=g++-7

wget http://downloads.sourceforge.net/project/boost/boost/1.62.0/boost_1_62_0.tar.bz2
tar axf boost_1_62_0.tar.bz2
cd boost_1_62_0
./bootstrap.sh
./b2 --prefix=/usr/local install # need to root privileage

export LD_LIBRARY_PATH=/usr/local/lib

# すでに本体入っているていで。
./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib --enable-examples
./waf build
./waf --run ndn-simple

本体

たぶんこれ. 未検証

git clone https://github.com/named-data-ndnSIM/ns-3-devns-3
cd ns-3
git checkout ns-3.23-dev-ndnSIM-2.1

git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM src/ndnSIM
cd /src/ndnSIM
git checkout ndnSIM-2.3

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0