boost_1_31_0 VC7.1 Lib names incompatible with VS IDE???

Sorry if I'm missing something here but when I build boost with: bjam "-sTOOLS=VC7.1" "-sVC71_ROOT=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7" I get libs and dll's generated with names like: libboost_signals-VC7.1-mt-gd-1_31.lib Entering the above into the VS-IDE Project-Properties Dialong - Linker-Input Additional-Dependencies Field and trying to Link yields: Linking... LINK : fatal error LNK1104: cannot open file 'libboost_signals-vc71-mt-gd-1_31.lib' Removing the '.' from VC7.1 in the IDE and renaming the file in like fashion allows the Link to succeed. Is there a way to generate the names in the first place without the offending '.'. Should the '7.1' be generated at all? The Toolset Abbreviation Table in getting_started.html list "vc" for both VC7 and VC7.1. Thanks, Jeff

Sorry if I'm missing something here but when I build boost with:
bjam "-sTOOLS=VC7.1" "-sVC71_ROOT=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7"
I get libs and dll's generated with names like:
libboost_signals-VC7.1-mt-gd-1_31.lib
Entering the above into the VS-IDE Project-Properties Dialong - Linker-Input Additional-Dependencies Field and trying to Link yields:
Linking... LINK : fatal error LNK1104: cannot open file 'libboost_signals-vc71-mt-gd-1_31.lib'
Removing the '.' from VC7.1 in the IDE and renaming the file in like fashion allows the Link to succeed.
Is there a way to generate the names in the first place without the offending '.'. Should the '7.1' be generated at all? The Toolset Abbreviation Table in getting_started.html list "vc" for both VC7 and VC7.1.
Thanks,
The correct toolset name to use is "vc7.1" not "VC7.1" (and yes it makes a difference). We should patch the build system to recognise upper case names as well though... Rene how about it ? John

John,
"John Maddock"
Sorry if I'm missing something here but when I build boost with: [snip] The correct toolset name to use is "vc7.1" not "VC7.1" (and yes it makes a
Aaargh! Time for a vacation. I did preface with "Sorry...". Thanks, I'm up and linking, as you no doubt knew I would be.
difference). We should patch the build system to recognise upper case names as well though... Rene how about it ?
I now see that auto_link.hpp pulls in the appropriate .lib via #pragma. Great! Thanks, Jeff F

yes, sorry I didn't spot that earlier, I'd thought of pasting my .bat file that works for me, but (too lazy I guess). one thing I've noticed tho (here's my build line): bjam -sTOOLS=vc7.1 install >bjaminstall.log is that I seem to get two copies of every .lib, one with and one withOUT the version for example: 2004-02-12 01:43 837,844 libboost_date_time-vc71-sgd.lib 2004-02-12 01:43 837,844 libboost_date_time-vc71-sgd-1_31.lib 2004-02-12 01:43 839,466 libboost_date_time-vc71-mt-sgd-1_31.lib 2004-02-12 01:43 839,466 libboost_date_time-vc71-mt-sgd.lib 2004-02-12 01:44 1,054,482 libboost_date_time-vc71-mt-gd.lib 2004-02-12 01:44 1,054,482 libboost_date_time-vc71-mt-gd-1_31.lib 2004-02-12 01:44 329,034 libboost_date_time-vc71-s-1_31.lib 2004-02-12 01:44 329,034 libboost_date_time-vc71-s.lib 2004-02-12 01:44 330,816 libboost_date_time-vc71-mt-s.lib 2004-02-12 01:44 330,816 libboost_date_time-vc71-mt-s-1_31.lib 2004-02-12 01:44 369,602 libboost_date_time-vc71-mt.lib 2004-02-12 01:44 369,602 libboost_date_time-vc71-mt-1_31.lib I'm not quite sure what's causing that, and although I argued against putting the versions in the names, once the "auto link" started functioning, my arguments no longer applied. if there were only one copy of each, all of the "installed boost" would fit nicely on my 128meg USB "disk", unfortunately, it's a little large w/ two of each lib or dll At Saturday 2004-02-14 08:59, you wrote:
John,
"John Maddock"
wrote in message news:021a01c3f2ee$673e24d0$4d500352@fuji... Sorry if I'm missing something here but when I build boost with: [snip] The correct toolset name to use is "vc7.1" not "VC7.1" (and yes it makes a
Aaargh! Time for a vacation. I did preface with "Sorry...".
Thanks, I'm up and linking, as you no doubt knew I would be.
difference). We should patch the build system to recognise upper case names as well though... Rene how about it ?
I now see that auto_link.hpp pulls in the appropriate .lib via #pragma. Great!
Thanks,
Jeff F
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (3)
-
Jeff Flinn
-
John Maddock
-
Victor A. Wagner, Jr.