ns3与最新版本pygccxml编译问题
来源:互联网 发布:g71车盲孔编程实例 编辑:程序博客网 时间:2024/05/31 19:41
OS: CentOS6.5
目的:使用最新版本的pygccxml来参与编译ns-3
方法:
由于pygccxml最新版本的命令方法不再是1.x.y,而是v1.x.y,所以ns-3的wscript脚本(waf用python)出现失误。
需要为其增加补丁,或者直接修改代码
1 vi ns-3.17/bindings/python/wscript
--- wscript 2015-04-11 20:45:36.342853168 +0800
+++ wscriptNew 2015-04-11 20:46:59.288853114 +0800
@@ -255,6 +255,8 @@
"import pygccxml; print pygccxml.__version__"],
stdout=subprocess.PIPE).communicate()[0]
pygccxml_version_str = out.strip()
+ if pygccxml_version_str[0] == 'v':
+ pygccxml_version_str = pygccxml_version_str[1:]
pygccxml_version = tuple([int(x) for x in pygccxml_version_str.split('.')])
conf.msg('Checking for pygccxml version', pygccxml_version_str)
if not (pygccxml_version >= REQUIRED_PYGCCXML_VERSION):
2 修改后再进行编译
- ns3与最新版本pygccxml编译问题
- 编译NS3.13中的问题与解决
- ns3编译问题处理
- 最新版本Mplayer Cygwin 下编译问题
- 编译CODEBLOCKS最新版本遇到问题搜集
- CSipsimple最新版本编译
- CSipsimple最新版本编译
- 最新vim编译版本
- CSipsimple最新版本编译
- CSipsimple最新版本编译
- 编译最新版本gutenprint
- ns3安装,更新源问题与解决
- WebRtc最新编译,最新版本2017
- WebRtc最新编译,最新版本2017
- 编译最新版本的vlc
- Ubuntu编译最新版本WebKit
- ubuntu编译最新版本WebKit
- ubuntu编译最新版本WebKit
- 菜鸟学习Cocos2d-x 3.x——浅谈动作Action
- 结构体大小的计算
- java 保留小数与四舍五入以及时间日期的转换和excel读入与数据库写入
- Java NIO使用及原理分析 (一)
- Ubuntu下Opendaylight导入到eclipse教程
- ns3与最新版本pygccxml编译问题
- 服务端框架之同步事件
- ffmbc——为广播电视以及专业用途量身定制的FFmpeg
- Java---多态
- AI BP神经网络判断手写数字
- Java Classloader机制解析
- sql的临时表使用小结
- Oracle 中的Userenv()
- 打的、约炮,Uber 请留条活路!