[1.35.0] vc8 build: missing static libs

Hi! IMHO the "getting started" guide is missing some useful information that once used to be inside: I have absolutely no idea which version number to be put to the compiler for vc8. I remember having seen such a list of possible options, but I cannot find it anymore. So I tried the following command line with VS 2005 SP1: bjam --toolset=msvc-8.0 stage Seems to run fine, but I am missing most of the static libs, e.g. libboost_date_time-vc80-mt-s-1_35.lib is missing. stage/lib contains the files listed below. Any idea what might have gone wrong? Markus content of stage/lib: boost_date_time-vc80-mt-1_35.dll boost_date_time-vc80-mt-1_35.lib boost_date_time-vc80-mt.lib boost_filesystem-vc80-mt-1_35.dll boost_filesystem-vc80-mt-1_35.lib boost_filesystem-vc80-mt.lib boost_graph-vc80-mt-1_35.dll boost_graph-vc80-mt-1_35.lib boost_graph-vc80-mt.lib boost_iostreams-vc80-mt-1_35.dll boost_iostreams-vc80-mt-1_35.lib boost_iostreams-vc80-mt.lib boost_prg_exec_monitor-vc80-mt-1_35.dll boost_prg_exec_monitor-vc80-mt-1_35.lib boost_prg_exec_monitor-vc80-mt.lib boost_program_options-vc80-mt-1_35.dll boost_program_options-vc80-mt-1_35.lib boost_program_options-vc80-mt.lib boost_python-vc80-mt-1_35.dll boost_python-vc80-mt-1_35.lib boost_python-vc80-mt.lib boost_regex-vc80-mt-1_35.dll boost_regex-vc80-mt-1_35.lib boost_regex-vc80-mt.lib boost_serialization-vc80-mt-1_35.dll boost_serialization-vc80-mt-1_35.lib boost_serialization-vc80-mt.lib boost_signals-vc80-mt-1_35.dll boost_signals-vc80-mt-1_35.lib boost_signals-vc80-mt.lib boost_system-vc80-mt-1_35.dll boost_system-vc80-mt-1_35.lib boost_system-vc80-mt.lib boost_thread-vc80-mt-1_35.dll boost_thread-vc80-mt-1_35.lib boost_thread-vc80-mt.lib boost_unit_test_framework-vc80-mt-1_35.dll boost_unit_test_framework-vc80-mt-1_35.lib boost_unit_test_framework-vc80-mt.lib boost_wave-vc80-mt-1_35.dll boost_wave-vc80-mt-1_35.lib boost_wave-vc80-mt.lib boost_wserialization-vc80-mt-1_35.dll boost_wserialization-vc80-mt-1_35.lib boost_wserialization-vc80-mt.lib libboost_test_exec_monitor-vc80-mt-1_35.lib libboost_test_exec_monitor-vc80-mt.lib

Markus Werle <numerical.simulation <at> web.de> writes:
So I tried the following command line with VS 2005 SP1:
bjam --toolset=msvc-8.0 stage
Seems to run fine, but I am missing most of the static libs,
Digging through the bjam docs and playing try/error I found that bjam link=static --toolset=msvc-8.0 stage solves this issue. I also found http://www.nabble.com/-1.35--what-gets-built-and-installed--td14417464.html and am a little bit offended by the fact that the massive change in what gets built is not accompanied by appropriate highlighted text in the release notes or the getting started section. The overall high quality reputation of boost libraries gets tainted by the pain it causes to get things up and running. My colleagues not to be convinced yet. Also the link to installers is fine, but http://www.boost-consulting.com/products/free does not contain one for 1.35. So either remove the link from the getting started guide or provide the installer. And in order to reduce the number of posts: Please mention option "link=static" in the getting started guide in section 5. Markus

Hi.
Digging through the bjam docs and playing try/error I found that bjam link=static --toolset=msvc-8.0 stage
solves this issue.
See type bjam --help in the boost folder and read up on the --build-type option. My guess is that the following is what you want: bjam --build-type=complete toolset=msvc-8.0 stage Hope this helps. Best regards, Jurko Gospodnetić

Jurko Gospodnetić <jurko.gospodnetic <at> docte.hr> writes:
Hi.
Digging through the bjam docs and playing try/error I found that bjam link=static --toolset=msvc-8.0 stage
solves this issue.
See type bjam --help in the boost folder and read up on the --build-type option.
My guess is that the following is what you want:
bjam --build-type=complete toolset=msvc-8.0 stage
Hope this helps.
No. I was wrong: link=static does not help. I am missing the *-vc80-mt-s-1_35.lib files and have no idea how to obtain them. Markus

Hi Markus ! On Wednesday 09 April 2008, Markus Werle wrote:
No. I was wrong: link=static does not help. I am missing the *-vc80-mt-s-1_35.lib files and have no idea how to obtain them.
According to http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html the "-s-" is for static runtime, so bjam link=static runtime-link=static --toolset=msvc-8.0 stage should do the trick. For shared libraries remove "link=static". Hope this helps, Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !

Juergen Hunold <juergen.hunold <at> ivembh.de> writes:
According to
http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html
the "-s-" is for static runtime, so
bjam link=static runtime-link=static --toolset=msvc-8.0 stage
should do the trick. For shared libraries remove "link=static".
BINGO! Many thanks. Markus
participants (3)
-
Juergen Hunold
-
Jurko Gospodnetić
-
Markus Werle