Re: How to load utilities.hpp in a self-built project
Posted by ziegele on Feb 27, 2017; 3:40pm
URL: http://quantlib.414.s1.nabble.com/How-to-load-utilities-hpp-in-a-self-built-project-tp18108p18121.html
Thanks Guigi for your suggestion.
However, I don't know how to "compile and link" both the utilities.hpp and utilities.cpp files in the sample project I created in Visual Studio 2015. I tried 2 different ways:
1. I tried to include the path "...\test-suite\" in "Properties -> Configuration Properties -> VC++ Directories". But how can I let the system know that the utilities.cpp file is also in the same directory?
2. I tried to include the path "...\test-suite\" in "Properties -> Configuration Properties -> C/C++ -> General -> Additional Include Directories". Again, I got the same 9 errors as I mentioned last time;
3. I manually added the utilities.hpp and utilities.cpp files into the project I created.
For all the 3 ways I tried, I got the same 9 errors as I mentioned last time.
At this point, could you please advise how to correctly set up the utilities.hpp and utilities.cpp files so that I can compile?
Thanks!