ndnSIM安装失败=> cryptoPP存在,但不可用

时间:2016-09-01 10:36:33

标签: linux

我在安装ndnSIM(ns-3模块)时遇到了麻烦。今天我质疑安装ns-3,但我无法解决问题。我找到了另一种安装ndnSIM的方法。

我引用了这个URL并按照说明一步一步。

但是在配置ns-3/src/ndnSIM/ndn-cxx directory时(使用waf构建系统),我收到了一条错误消息。

是的,你是对的。

我在上面提到的网址中第7步。以下是错误消息。

Setting top to                           : /home/juhyun-park/다운로드/ndnSIM/ns-3/src/ndnSIM/ndn-cxx 
Setting out to                           : /home/juhyun-park/다운로드/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build 
Building static library                  : no 
Building shared library                  : yes 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 
Checking supported CXXFLAGS              : -std=c++11 
Checking supported CXXFLAGS              : -pedantic -Wall -O2 -g 
Checking for program 'doxygen'           : /usr/bin/doxygen 
Checking for program 'tar'               : /bin/tar 
Checking for program 'sphinx-build'      : /usr/bin/sphinx-build 
Checking for std::is_default_constructible : yes 
Checking for std::is_nothrow_move_constructible : yes 
Checking for std::is_nothrow_move_assignable    : yes 
Checking for friend typename-specifier          : yes 
Checking for override and final specifiers      : yes 
Checking for std::vector::insert with const_iterators : no 
Checking for program 'sh'                             : /bin/sh 
Checking for library pthread                          : yes 
Checking for library rt                               : yes 
Checking for function getpass                         : yes 
Checking for rtnetlink                                : yes 
Checking for program 'pkg-config'                     : /usr/bin/pkg-config 
Checking for 'sqlite3'                                : yes 
Checking Crypto++ lib                                 : 561 
Checking if CryptoPP library works                    : no 
Checking if CryptoPP library works                    : no 
CryptoPP is present, but is not usable
(complete log in /home/juhyun-park/다운로드/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build/config.log)

请注意最后两句话。

  

CryptoPP存在,但不可用

     

(完成登录/ home / juhyun-park /下载/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build/config.log)

我还附上了日志文件下载链接。

logfile

我该怎么做才能解决这个问题?

我的开发环境是:

操作系统:Ubuntu 14.04 LTS(Desktop Ver)
类型:64位
内核:4.4.0-36-generic

1 个答案:

答案 0 :(得分:0)

没有必要单独构建ndn-cxx,在./waf configure构建ns-3的顶级导演之后,ndn-cxx也是构建的,在安装之后,ndn-cxx头是安装在/usr/local/include/ns3-dev/ns3/ndnSIM/ndn-cxx