I am trying to configure NTL library in my first Visual Studio 2010 project. I am following the instructions from: http://www.shoup.net/ntl/doc/tour-win.html
I created a new Win32 project, named ntl
.
Then, from Project
-> Add Existing Items
and selected all the files in the src
file NTL library folder.
Then, I clicked in Project
-> Properties
-> Configuration Properties
-> C/C++
-> Additional Include Directories
and I selected the include
directory in the NTL
library folder.
Finally, I tried to Build
-> Build ntl
but I am getting error says (for every file in the src):
c:\program files\winntl-5_5_2\src\ctools.cpp(2): fatal error C1083: Cannot open include file: 'NTL/ctools.h': No such file or directory
1> Generating Code...
Simple, follow this help step by step Compiling NTL.
You must be doing something wrong, follow the instructions step by step it will work.
Save NTL in a path like it : C:\Library\WinNTL-5_5_2, and follow instructions of site.