ndnSIM安装兼踩坑记录01-虚拟机安装ndnSIM篇

本文记录了在Ubuntu 20.04系统中安装ndnSIM的过程,包括安装依赖、从GitHub克隆源码,特别是遇到的HTTPS连接问题导致的clone失败,以及如何手动clone 'NFD'和'ndn_cxx'子模块。此外,还提到了安装后启动编译程序的步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

系统环境为:

  • Ubuntu Linux 20.04 

需要先安装依赖

sudo apt install build-essential libsqlite3-dev libboost-all-dev libssl-dev git python3-setuptools castxml
sudo apt install gir1.2-goocanvas-2.0 gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev python3-gi python3-gi-cairo python3-pip python3-pygraphviz python3-pygccxml 
sudo pip3 install kiwi

接着创建ndnSIM文件夹并进入,从github上clonendnSIM源码

git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM

或者换成

git clone git://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
git clone git://github.com/named-data-ndnSIM/pybindgen.git pybindgen
git clone --recursive git://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM

但是在下载最后一个源码的时候容易出现的问题是下载子源码“NFD”和“ndn_cxx”

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值