Boost logo

Boost Users :

Subject: Re: [Boost-users] fatal error LNK1104 cannot open file 'boost_unit_test_framework.lib'
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2015-09-23 03:51:49


Le 17/09/15 22:05, Anshuman Sinha a écrit :
> Hi,
>
> I'm building Quantlib 16.2 and have built Boost 1.59.0 using the NuGet
> package in VS2013.
>
> Of the 19 projects in Quantlib, 18 are built successfully while 1
> project, testsuite, fails.
>
> I am getting the error that 'boost_unit_test_framework.lib' cannot be
> opened.
>
> The file physically does not exist on my computer, possibly because I am
> using NuGet in VS2013 to install boost and it's doing the header only thing.
>
> Can you please recommend how I can solve this issue?
>
> Thanks,
> Amatya
>

Hi Amatya,

I do not know about NuGet, and how to install some of the libraries
(instead of the header only variant).

- Either you build boost.test
http://www.boost.org/doc/libs/1_59_0/libs/test/doc/html/boost_test/adv_scenarios/build_utf.html

- or you change quantlib to use the header only variant of boost.test
http://www.boost.org/doc/libs/1_59_0/libs/test/doc/html/boost_test/usage_variants.html#boost_test.usage_variants.single_header

Hope that helps,

Raffi


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net