$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] bjam - unable to generate "libboost_system-vc80-mt-gd-1_39.lib"
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-04-23 14:20:47
AMDG
Raja Koduru wrote:
> I compiled boost using bjam without giving any command line options.
>
> I was trying to run a simple asio's timer1.cpp tutorial given on the
> boost website.
>
> It failed with the error
> "LINK : fatal error LNK1104: cannot open file
> 'libboost_system-vc80-mt-gd-1_39.lib'"
>
> Looked in <BoostRootDir>\bin.v2 directory.
> There were library files with the format "libboost_system-vc80-mt-1_39.lib"
>
> My question is ..
> What other options needs to be given to bjam to generate suitable libs
> with "-gd" in the library name. ?
>
> "bjam's --help" has not helped on how to fine tune it.
>
The command
bjam --with-system link=static threading=multi debug toolset=msvc stage
creates the library you need, in stage/lib.
In Christ,
Steven Watanabe