在 Visual Studio 2013 中编译 NTL 库 [英] Compiling NTL library in Visual Studio 2013

查看:42
本文介绍了在 Visual Studio 2013 中编译 NTL 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 http://www.shoup.net/ntl 下载了 NTL 6.1.0 版/download.html 并且在 Visual Studio 2013 中编译时遇到问题.文档 (http://www.shoup.net/ntl/doc/tour-win.html) 仅展示了如何在 MSVC++ 6 中编译 NTL,这在我的情况下不起作用.

I have downloaded NTL version 6.1.0 from http://www.shoup.net/ntl/download.html and having trouble compiling it in Visual Studio 2013. The documentation (http://www.shoup.net/ntl/doc/tour-win.html) only shows how to compile NTL in MSVC++ 6 which is not working in my case.

我需要使用 NTL 库对我的密码学项目中的素数进行编码 - ElGamal 数字签名方案.

I need to use the NTL library to code the prime number in my cryptography project - ElGamal Digital Signature Scheme.

推荐答案

  1. 使用File\New\Project From Existing Code..."菜单项.
  2. 在从现有代码文件创建新项目"向导的第一页中,在您想创建什么类型的项目?"中选择Visual C++".组合框.
  3. 按下一步按钮.
  4. 在从现有代码文件创建新项目"向导的下一页中,按浏览按钮并为项目文件位置"选择 WinNTL-6_1_0\src 目录.
  5. 在项目名称"编辑中,输入 NTL.
  6. 按下一步按钮.
  7. 在从现有代码文件创建新项目"向导的下一页中,在项目类型"组合框中选择静态库 (LIB) 项目".
  8. 按下一步按钮.
  9. 在包括搜索路径"编辑中,输入..\Include."
  10. 按下完成按钮.

NTL 构建,但有警告.

NTL builds, but with warnings.

这篇关于在 Visual Studio 2013 中编译 NTL 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆