23 Apr
2009
23 Apr
'09
6:20 p.m.
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