10 Oct
2008
10 Oct
'08
3:57 p.m.
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