[RC_1_34_0] Boost.Serialization in BBv2 linking requires different library name

Hi Everyone, I did a recent export of the Boost RC_1_34_0 from the CVS and built it in Windows XP using MSVC 8 (edited user-config.jam to `using msvc`). I'm trying to build an application which requires Boost.Serialization and Boost.Date_Time, and I get these when I do a bjam --v2 in the application source (configured to use BBv2): LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc80-mt-gd-1_34.lib' LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc80-mt-gd-1_34.lib' I went into the lib/ directory of MSVC 8 where I set as a prefix to `bjam --v2 debug release install ` and saw that I dont have these files but noticed that I had most of the libs not containing the '80' as in 'vc80'. So instead of the above required files, I see: libboost_date_time-vc-mt-gd-1_34.lib libboost_serialization-vc-mt-gd-1_34.lib Perhaps a bug in the jam files? HTH -- Dean Michael C. Berris C++ Software Architect Orange and Bronze Software Labs, Ltd. Co. web: http://software.orangeandbronze.com/ email: dean@orangeandbronze.com mobile: +63 928 7291459 phone: +63 2 8943415 other: +1 408 4049532 blogs: http://mikhailberis.blogspot.com http://3w-agility.blogspot.com http://cplusplus-soup.blogspot.com

Dean Michael Berris wrote:
Hi Everyone,
I did a recent export of the Boost RC_1_34_0 from the CVS and built it in Windows XP using MSVC 8 (edited user-config.jam to `using msvc`). I'm trying to build an application which requires Boost.Serialization and Boost.Date_Time, and I get these when I do a bjam --v2 in the application source (configured to use BBv2):
LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc80-mt-gd-1_34.lib'
LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc80-mt-gd-1_34.lib'
I went into the lib/ directory of MSVC 8 where I set as a prefix to `bjam --v2 debug release install ` and saw that I dont have these files but noticed that I had most of the libs not containing the '80' as in 'vc80'. So instead of the above required files, I see:
libboost_date_time-vc-mt-gd-1_34.lib libboost_serialization-vc-mt-gd-1_34.lib
Perhaps a bug in the jam files?
Most probably you'd need using msvc : 8.0 ; in your user-config.jam - Volodya

On 11/20/06, Vladimir Prus <ghost@cs.msu.su> wrote:
Dean Michael Berris wrote:
Perhaps a bug in the jam files?
Most probably you'd need
using msvc : 8.0 ;
in your user-config.jam
This makes sense. However, doesn't it also mean that the targets (or libraries autolinked) should be named differently when only "using msvc ; " is used in the user-config.jam? Since "using msvc ; " will only create libboost_*-vc-* instead of libboost_*-vc80-* libraries, then shouldn't the linker determine which one should be used according to the user-config.jam option? I'm not sure how that works currently, or whether or not that's actually a bug or a feature request. Thanks for the insight. Now I have to rebuild and re-install boost again. :D -- Dean Michael C. Berris C++ Software Architect Orange and Bronze Software Labs, Ltd. Co. web: http://software.orangeandbronze.com/ email: dean@orangeandbronze.com mobile: +63 928 7291459 phone: +63 2 8943415 other: +1 408 4049532 blogs: http://mikhailberis.blogspot.com http://3w-agility.blogspot.com http://cplusplus-soup.blogspot.com
participants (2)
-
Dean Michael Berris
-
Vladimir Prus