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.
Question
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...
La solution
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.
Autres conseils
you probably don't need the answer for this question, but maybe for others who want to do it.
In Visual Studio (2010):
For using the created library in another project just follow step 6., and set path to the created library folder: Right-Click on project -> 'Properties' -> 'Configuration Properties' -> 'VC++ Directories' -> 'Library Directories'/