I have successfully built Quantlib on Windows using Visual Studio 2015 and want to build Quantlib-SWIG for Python. However, I am repeatedly getting Link:1104 error. I went through the following steps:
Ran "Anaconda Prompt" from Start Menu. In the console window, changed directory to cd "C:\QuantLib-SWIG-1.10\Python" and set the following environment variables:
set INCLUDE="C:\boost_1_63_0" set LIB="C:\boost_1_63_0\lib64-msvc-14.0" set QL_DIR="C:\QuantLib-1.10"
From within the Anaconda console window, I ran the this command:
python setup.py build
I got fatal error 1104: cannot open file 'QuantLib-vc140-x64-mt.lib'
I will be grateful to someone who can explain what is going on here and how can I fix it.
Many thanks.