Hi all,
While I was trying to build quantlib 0.9.6 with boost 1.36.0 already built in my computer using boostpro installer, I encounter the following error in linking: LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc80-mt-s-1_36.lib'. I have included the boost path. In fact, when I check boost/lib directory, I cannot find this library. I cannot find libboost_serialization-vc80-mt-1_36.lib libboost_serialization-vc80-mt-gd-1_36.lib libboost_serialization-vc80-s-1_36.lib libboost_serialization-vc80-sgd-1_36.lib When I used the boostpro installer, I clicked all possible lib variants to be installed. I check boost 1.35.0, which in fact has 'libboost_serialization-vc80-mt-s-1_35.lib'. Could anyone please kindly tell me what the problem is and how I can fix it? Please take into account I am an extremely newbie in quantlib and C++. best, TW813 |
sorry, in the previous message, i meant to say
..... ..... I CAN find libboost_serialization-vc80-mt-1_36.lib libboost_serialization-vc80-mt-gd-1_36.lib libboost_serialization-vc80-s-1_36.lib libboost_serialization-vc80-sgd-1_36.lib .... |
If you are using Visual Studio, you need to go the Properties dialog of the QuantLib project. There go the Configuration Properties->Librarian-->General-->Additional Library Directories settings. Then tell Visual Studio where the boost libraries are in your computer.
On Wed, Dec 3, 2008 at 8:44 PM, tw813 <[hidden email]> wrote:
------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by tw813
On Wed, 2008-12-03 at 20:42 -0800, tw813 wrote:
> While I was trying to build quantlib 0.9.6 with boost 1.36.0 already built > in my computer using boostpro installer, I encounter the following error in > linking: > > LINK : fatal error LNK1104: cannot open file > 'libboost_serialization-vc80-mt-s-1_36.lib'. > > I have included the boost path. In fact, when I check boost/lib directory, > I cannot find this library. I can find > > libboost_serialization-vc80-mt-1_36.lib > libboost_serialization-vc80-mt-gd-1_36.lib > libboost_serialization-vc80-s-1_36.lib > libboost_serialization-vc80-sgd-1_36.lib It seems like some kind of glitch in your Boost installation. I'm not sure how to fix this. However, if you use the "Release CRTDLL" configuration instead of "Release" in the QuantLib solution, it will look for libboost_serialization-vc80-mt-1_36.lib which you have. Luigi P.S. You're building QuantLibXL, not QuantLib, right? QuantLib doesn't need Boost.Serialization... -- All generalizations are dangerous, even this one. -- Alexandre Dumas ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |