|
Boost Users : |
Subject: Re: [Boost-users] Linker error with boost_1_36_0
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-10 11:57:56
AMDG
kumar bhargav wrote:
>
> I built the thread library after downloading "boost_1_36_0.zip".
>
> After building the thread library from bjam, when I build the program
> in VS2008, I get following linker error:-
>
>
>
> Error 1 fatal error LNK1104: cannot open file
> 'libboost_thread-vc90-mt-gd-1_36.lib'
>
This is the static library.
>
>
> What I see in the generated library folder is that
> boost_thread-vc90-mt-gd-1_36.lib is generated, but the linker is
> looking for 'libboost_thread-vc90-mt-gd-1_36.lib'.
>
boost_thread-vc90-mt-gd-1_36.lib is the import library for
boost_thread-vc90-mt-gd-1_36.dll.
You can either
a) build the static library using bjam ... link=static or
b) Use the dynamic libs: compile with -DBOOST_ALL_DYN_LINK
In Christ,
Steven Watanabe
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