Boost logo

Boost Users :

Subject: Re: [Boost-users] [Program Options] Difficulty compiling for static runtime library
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-07-14 02:56:33


Lindley M French wrote:

>> It does not seem you have tried *exactly* what Steven has suggested.
>
> Ah! Yes, when I do this:
>
> bjam.exe debug runtime-link=static link=static --with-program_options
>
> it at least appears to be *trying* to do the right thing. Still no joy on the burn, though.
>
> ...patience...
> ...found 523 targets...
> ...updating 26 targets...
> common.mkdir bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static
> common.mkdir
> bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi
> compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\cmdline.obj
> cmdline.cpp libs\program_options\src\cmdline.cpp(272) : warning C4800: 'int' : forcing value to
> bool 'true' or 'false' (performance warning) compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\config_file.obj
> config_file.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\options_description.obj
> options_description.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\parsers.obj
> parsers.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\variables_map.obj
> variables_map.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\value_semantic.obj
> value_semantic.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\positional_options.obj
> positional_options.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\utf8_codecvt_facet.obj
> utf8_codecvt_facet.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\convert.obj
> convert.cpp compile-c-c++
>
bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\winmain.obj
> winmain.cpp failed to write output file
> 'bin.v2\libs\program_options\build\msvc-8.0\release\link-static\runtime-link-static\threading-multi\libboost_program_optio
> ns-vc80-mt-s-1_39.lib.rsp'!
>
> What could cause this? All the other builds have worked fine, and I'm not low on drive space or
> anything.

Maybe you run into path limits on Windows? Try passing --abbreviate-paths.

- Volodya


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