How do I start to use NAG library in Visual Studio?
You can set NAG library path defaults for all “projects , go to Tools -> Options -> Projects and Solutions-> VC++ Directories. You add • ’’C:\Program Files (x86)\NAG\CL08\clw3208dal\include’’ to the path for include/header files • ’’C:\Program Files (x86)\NAG\CL08\clw3208dal\lib’’ to the path for libraries It is also necessary to specify the library nagc_nag_MT.lib in the Linker -> Input-> Additional Dependencies section of the project Properties, and specify Multithreaded (/MT) in C/C++-> Code Generation -> Runtime Library. Note: do this for “All Configurations” to avoid having to repeat this step for both Debug and Release modes. (From Prof.