Hi all,
I downloaded quantlib 1.5 and boost 1.58 64 bit. I installed boost and add the folder to include/lib directory of QuantLib project. I am trying to compile a 64 bit debug version. but came across below error: LINK : fatal error LNK1104: cannot open file 'C:\Users\Lu.Liu\Documents\boost lib\QuantLib-1.5\QuantLib-1.5\lib\QuantLib-vc110-x64-mt-gd.lib' I checked that my lib folder is empty. I have VS 2012, so I downloaded and installed boost_1_58_0_msvc-12.0-64.exe. later I found that the platform toolset in my project property is Visual Studio (V110), so I downloaded boost_1_58_0_msvc-11.0-64.exe, tried to re-compile, I got the same error.
Can you help? Thanks! ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi Lu, The error is not complete I think. The error message you give us is from a project which depends on QuantLib. The Quantlib own project must failed with some other error. Can you find them? Regards, Cheng 发件人: Lu Liu [mailto:[hidden email]] Hi all, I downloaded quantlib 1.5 and boost 1.58 64 bit. I installed boost and add the folder to include/lib directory of QuantLib project. I am trying to compile a 64 bit debug version. but came across below error: LINK : fatal error LNK1104: cannot open file 'C:\Users\Lu.Liu\Documents\boost lib\QuantLib-1.5\QuantLib-1.5\lib\QuantLib-vc110-x64-mt-gd.lib' I checked that my lib folder is empty. I have VS 2012, so I downloaded and installed boost_1_58_0_msvc-12.0-64.exe. later I found that the platform toolset in my project property is Visual Studio (V110), so I downloaded boost_1_58_0_msvc-11.0-64.exe, tried to re-compile, I got the same error. Can you help? Thanks! ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by Lu Liu
Hi Lu, The project you are trying to build is trying to link to a QuantLib library which it can’t find. The name of the library QuantLib-vc110-x64-mt-gd.lib is constructed on the fly from the project properties of the project using the QuantLib library so in this case it looks like your platform toolset is v110 and you are targeting a 64 bit build. Assuming your include path is correct it must be the case that the QuantLib library on your machine was built with different build options and hence has a different name. Search for the actual QuantLib library which was installed on your machine and ensure that the relevant project settings are the same for the library and the project using the library. If you need to have different project settings on the project then you’d need to rebuild the library with those settings. Thanks Ed From: Lu Liu [mailto:[hidden email]] Hi all, I downloaded quantlib 1.5 and boost 1.58 64 bit. I installed boost and add the folder to include/lib directory of QuantLib project. I am trying to compile a 64 bit debug version. but came across below error: LINK : fatal error LNK1104: cannot open file 'C:\Users\Lu.Liu\Documents\boost lib\QuantLib-1.5\QuantLib-1.5\lib\QuantLib-vc110-x64-mt-gd.lib' I checked that my lib folder is empty. I have VS 2012, so I downloaded and installed boost_1_58_0_msvc-12.0-64.exe. later I found that the platform toolset in my project property is Visual Studio (V110), so I downloaded boost_1_58_0_msvc-11.0-64.exe, tried to re-compile, I got the same error. Can you help? Thanks! ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |