Error LNK1104 - cannot open file 'QuantLib-vc140-mt-s.lib'
Posted by ponram on Apr 27, 2017; 10:00pm
URL: http://quantlib.414.s1.nabble.com/Error-LNK1104-cannot-open-file-QuantLib-vc140-mt-s-lib-tp18229.html
Hi
I get the below error when i tried to build QuantLibXL_basic_vc12.sln using VisualStudio2017 on a Windows10 machine.
Error LNK1104 cannot open file 'QuantLib-vc140-mt-s.lib' QuantLibXLStatic C:\local\QuantLib\QuantLibXL\qlxl\LINK 1
Below is the information from the last build state. I got a pop-up to do an auto upgrade to v141 toolset when i first loaded the solution. I see a lib file 'QuantLib--mt-s.lib' generated but it is missing the 'vc140' string which the linker is looking for. Can someone please help resolve this error?
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=8.1
Release (static runtime)|Win32|C:\local\QuantLib\QuantLibXL\|
Thanks,