ns2.35安装过程中出现错误ns.exe找不到
来源:互联网 发布:java进程阻塞 编辑:程序博客网 时间:2024/06/02 19:29
cd ns-allinone-2.35/ns.2.35
./configure make
。。。
linkstate/ls.cc:396:28: required from here
linkstate/ls.h:137:58: 错误:‘erase’ was not declared in this scope, and no decl arations were found by argument-dependent lookup at the point of instantiation [ -fpermissive]void eraseAll() { erase(baseMap::begin(), baseMap::end()); }
^
linkstate/ls.h:137:58: 附注:declarations in dependent base ‘std::map<int, LsIdS eq, std::less<int>, std::allocator<std::pair<const int, LsIdSeq> > >’ are not fo und by unqualified lookup
linkstate/ls.h:137:58: 附注:use ‘this->erase’ instead
Makefile:93: recipe for target 'linkstate/ls.o' failed
make: *** [linkstate/ls.o] Error 1
解决办法:
a.Go to ns-allinone-2.35/ns-2.35/linkstate/b.Now edit ls.hIn line number 137, in place of void eraseAll() { erase(baseMap::begin(), baseMap::end()); }make it void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }
0 0
- ns2.35安装过程中出现错误ns.exe找不到
- Ubuntu 12.04 LTS安装ns-2.34过程中出现的错误及其解决方案
- NS安装 NS2.35 Ubuntu16.04
- OpenNMS安装过程中出现”找不到jrrd.dll“错误的解决方案
- pygame安装过程出现找不到videodev.h的错误
- NS2安装在centOS7下,运行 ns simple.tcl 有错误
- Joomla安装过程中MySQL出现错误
- matlab 安装过程中出现“error1935..."错误
- ns学习之-ns2的安装
- 在安装 Windows 过程中出现“Ntkrnlmp.exe Could Not Be Loaded. The Error Code Is 7”(无法加载 Ntkrnlmp.exe。错误代码是 7)错误消息
- NS-3安装过程
- 发布应用程序.exe,运行出现错误,找不到vcl60.bpl
- NS2安装过程
- fedora上NS2.35在安装tclcl时找不到g++
- oracle 安装出现文件找不到的错误
- 安装cygwin+ns-2 过程中home路径问题
- SSH整合过程中出现找不到org.springframework.web.context.ContextLoaderServlet的错误
- 安装IntelHaxm.exe是出现错误
- 标准C++中的string类的用法总结
- Eclipse 开发 Python
- 语录
- 简易的邮件发送
- linux中memset的正确用法
- ns2.35安装过程中出现错误ns.exe找不到
- div+css 布局
- opensource threat Intelligence
- 在Unity中使用Lua脚本:语言层和游戏逻辑粘合层处理
- STL之vector容器
- 在VS2010中创建SQL SERVER系统存储过程
- sdut2414 An interesting game 费用流
- javascript 学习教程
- 数据结构和算法的基础常识