Compiling NTL library in Visual Studio 2013

淺唱寂寞╮ 提交于 2020-01-16 03:05:41

问题


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.

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


回答1:


  1. Use the "File\New\Project From Existing Code..." menu item.
  2. In the first page of the "Create New Project from Existing Code Files" wizard, select "Visual C++" in the "What type of project would you like to create?" combo box.
  3. Press the Next button.
  4. In the next page of the "Create New Project from Existing Code Files" wizard, press the Browse button and select the WinNTL-6_1_0\src directory for the "Project file location."
  5. In the "Project Name" edit, type NTL.
  6. Press the Next button.
  7. In the next page of the "Create New Project from Existing Code Files" wizard, select "Static Library (LIB) project" in the "Project type" combo box.
  8. Press the Next button.
  9. In the "Include search paths" edit, enter "..\Include."
  10. Press the Finish button.

NTL builds, but with warnings.



来源:https://stackoverflow.com/questions/23977300/compiling-ntl-library-in-visual-studio-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!