Login  Register

Re: Error compiling Quantlib v1.10 (C1083: Cannot Open include file corecrt.h)

Posted by Luigi Ballabio on Jun 06, 2017; 9:34am
URL: http://quantlib.414.s1.nabble.com/Error-compiling-Quantlib-v1-10-C1083-Cannot-Open-include-file-corecrt-h-tp18318p18335.html

Hello,
    I think it's the first time I see this kind of errors.  Did you make any changes to the solution or project files?  Is your IDE ok otherwise, i.e., can you build a sample project that doesn't include QuantLib?

Luigi


On Tue, May 30, 2017 at 2:45 PM ponram <[hidden email]> wrote:
Hi

I am still a newbie for Quantlib and compiling large projects on C++. My
apologies if the below question sounds very trivial.

I am getting a lot of errors such as below when trying to build the new
v1.10 on Visual Studio 2017. I am using a Windows 10 machine.

Error   C1083   Cannot open include file: 'corecrt.h': No such file or directory
(compiling source file varianceoption.cpp)      testsuite       c:\program files
(x86)\microsoft visual
studio\2017\community\vc\tools\msvc\14.10.25017\include\crtdefs.h

I tried re-targetting the solution to Windows-10 SDK but it didn't help. I
installed Windows-8 SDK and tried again with the included additional paths
below but still get the same errors.

*VC++ include directories:*
C:\local\boost_1_64_0
C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\ucrt

*Library Directories:*
C:\local\boost_1_64_0\lib64-msvc-14.1
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\x86
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\ucrt\x86
C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86  -- Inherited

I am trying to build on Debug Win32 mode. Kindly help to resolve these
errors.

Thanks





--
View this message in context: http://quantlib.10058.n7.nabble.com/Error-compiling-Quantlib-v1-10-C1083-Cannot-Open-include-file-corecrt-h-tp18318.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users