Kodo安装及学习资料

今天在新一台电脑安装Kodo,以前曾安装过,以为可以很简单,但还是花了不少时间,所以决定简单记录下,方便日后使用。

1.安装Waf

Kodo是用Waf编译的(想想make),关于Waf介绍,可以阅读如下两句英文[1]

Waf is a Python-based framework for configuring, compiling and installing applications. Waf is also a framework for creating custom build systems and package distribution systems.

Waf is a build automation tool designed to assist in the automatic compilation and installation of computer software[1].

这里选择版本下载,解压,进入目录,运行./waf即可。

2. 安装Kodo

在这里下载或者用git clone下载,命令如下:

git clone https://github.com/steinwurf/kodo.git

解压,进入目录,运行python waf configure做编译环境检查。如果提示Could not configure a C++ compiler!,那就 安装clang++,命令如下:

sudo apt-get install clang

然后运行python waf 编译Kodo。编译完,可以运行自带例子测试安装是否成功,命令如下:

python waf –options=run_tests,run_always      或者是
./build/linux/examples/decode_simple/decode_simple

2. Kodo学习资料

官方网站:没什么有价值的东西
Kodo手册: 写得相当简单,不过里面的FAQ值得一看
Kodo API文档: 编程时很有用
Kodo Github: Kodo所有相关的包都有,包括kodo-ns3-examples
Kodo Google Groups: 不是很活跃,Kodo开发人员会回复,挺有用的。

参考资料:
[1]维基百科词条:Waf

赞赏

微信赞赏支付宝赞赏

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

2 thoughts on “Kodo安装及学习资料

  • 2019年04月24日 星期三 at 10:36上午
    Permalink

    你好,博主!我正在做毕业设计,需要用到https://github.com/steinwurf/kodo.git。但是kodo.git已经失效,被kodo-rlnc.git等代替。你能不能把你clone到电脑里的kodo文件发我一份,万分感激!!!

    Reply
    • 2019年06月29日 星期六 at 09:53上午
      Permalink

      刚才看了下,kodo.git的确失效。我之前clone的kodo.git在我旧电脑里,不在身边,没法没给你。用kodo-rlnc-c,不可以吗?

      Reply