Boost logo

Boost Users :

Subject: Re: [Boost-users] problems with linking...
From: Witold E Wolski (wewolski_at_[hidden])
Date: 2015-10-23 15:13:30


One more observation:

SET( USE_STATIC_BOOST OFF)
set(Boost_USE_STATIC_LIBS ${USE_STATIC_BOOST})

I am getting :
fatal error LNK1104: cannot open file 'libboost_date_time-vc120-mt-gd-1_59.lib'

However If I set USE_STATIC_BOOST ON
I get the error
LINK : fatal error LNK1104: cannot open file
'boost_unit_test_framework-vc120-mt-gd-1_59.lib'

So it seems independent what I am doing at least one boost library is unhappy.

BDW. I am using the boost binary windows distribution.

On 23 October 2015 at 21:00, Witold E Wolski <wewolski_at_[hidden]> wrote:
> In a project which vcproj files generated with cmake I am getting the
> following link error
>
> fatal error LNK1104: cannot open file 'libboost_date_time-vc120-mt-gd-1_59.lib'
>
> The generate link command (VS- project -> properties -> Linker ->
> command line) contains however:
> "C:\boost\boost_1_59_0\lib\boost_date_time-vc120-mt-gd-1_59.lib"
>
> both files are present in my boost binary build.
> Any idea why this mixup is taking place libboost_date_time vs. boost_date_time
> and how I can fix the problem?
>
> Best regards
> Witold
>
> --
> Witold Eryk Wolski

-- 
Witold Eryk Wolski

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