Re: Error LNK1104 - cannot open file 'QuantLib-vc140-mt-s.lib'
Posted by ponram on Apr 28, 2017; 9:51pm
URL: http://quantlib.414.s1.nabble.com/Error-LNK1104-cannot-open-file-QuantLib-vc140-mt-s-lib-tp18229p18234.html
Thanks Mario & Luigi
I tried after renaming the file to QuantLib-vc140-mt-s.lib and this time the linker gave the same error looking for QuantLib--mt-s.lib. So i made a copy of it to the original QuantLib--mt-s.lib and tried to build with both the lib files. This time I didn't get that error.
However, i got a whole bunch of linking errors related to Boost library such as below. All of my boost library files have *-vc141-mt-gd-1_64.lib such as boost_coroutine-vc141-mt-gd-1_64.lib.
Error LNK2001 unresolved external symbol "public: static void __cdecl boost::archive::detail::archive_serializer_map<class boost::archive::xml_iarchive>::erase(class boost::archive::detail::basic_serializer const *)" (?erase@?$archive_serializer_map@Vxml_iarchive@archive@boost@@@detail@archive@boost@@SAXPBVbasic_serializer@234@@Z) QuantLibXLStatic C:\local\QuantLib\QuantLibXL\qlxl\QuantLibObjects-vc120-mt-s-1_8_0.lib(serialization_oh.obj) 1
I am going to try using an older version of boost libraries and see if it works. Hope i am on the right track.
Thanks in advance for your help.