Login  Register

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

Posted by ponram on Jun 06, 2017; 8:50pm
URL: http://quantlib.414.s1.nabble.com/Error-compiling-Quantlib-v1-10-C1083-Cannot-Open-include-file-corecrt-h-tp18318p18336.html

Thanks for replying Luigi. My IDE is ok. I could build the QuantLib project (not the entire solution) to produce the library output 'QuantLib-vc141-mt-gd.lib'. I am also able to run the test console program mentioned on the website that tests Dates and Calendar classes. I get those errors only when i build the entire solution.

I tried a separate build of the "testsuite" project and got the below linker error:

libboost_unit_test_framework-vc141-mt-gd-1_64.lib(test_tree.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
Done building project "testsuite.vcxproj" -- FAILED.

I am using Boost v1.64.0