|
From: <sh...@op...> - 2020-08-19 11:33:46
|
Hi Kuljeet, Looks like the include directory is not properly setup in Visual Studio, so it cannot find the header file (ql/quantlib.hpp). Kind Regards, Steven From: Kuljeet singh <kul...@gm...> Sent: Tuesday, 18 August 2020 20:47 To: qua...@li... Subject: [Quantlib-users] Build successful in c++ but error during "Start Debugging" Hi, I am using QuantLib-1.18, VS 15 and boost_1_64_0. Build QuantLib successfully. But when I run an example code I see error. Could you please advise what could be the reason? Error msg below: 1>------ Build started: Project: TestingQuantLib2, Configuration: Debug Win32 ------ 1> TestingQuantLib2.cpp 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(356,5): error MSB6006: "CL.exe" exited with code 2. 1>c:\users\kuljeet\desktop\lib\quantlib-1.18\quantlibtest\testingquantlib2\testingquantlib2\testingquantlib2.cpp(1): fatal error C1083: Cannot open include file: 'ql/quantlib.hpp': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Thanks, Kuljeet |