Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem building boost-log file
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-10-05 12:13:14


On 10/3/2010 10:38 PM, Maurice Tadros wrote:
> I am having a hard time getting to install correctly. The system is windows xp and I'm using visual studios 2005.
> 1) I have installed boost 1.44 in the default "c:\Program FIles\boost" directory using boost pro and can get other boost headers to work.
> 2) I then downloaded boost-log-1.0 and extracted it in "c:\Program Files\boost\boost_1_44" directory.
> 3) bjam was then downloaded in the same directory.
> 4) Using both cmd, and visual studios command line in the directory above i ran the following command.
> bjam --with-log variant=release define=BOOST_LOG_USE_CHAR define=BOOST_LOG_USE_WINNT6_API stage
> I then try the trivial example listed on the site and I get the errors.
> 1>------ Rebuild All started: Project: log, Configuration: Debug Win32 ------
> 1><snip>
> 1>LINK : fatal error LNK1104: cannot open file 'libboost_log-vc90-mt-gd-1_44.lib'
> 1>Build log was saved at "file://c:\Documents and Settings\Owner\My Documents\Visual Studio 2008\Projects\log\Debug\BuildLog.htm"
> 1>log - 1 error(s), 1 warning(s)
> ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
> I looked and do not have a copy of libboost_log-vc90-mt-gd-1_44.lib anywhere on my hard drive.

Do you have other versions of the library in stage/lib?

This is the debug library, it looks like you only built release.
Try either bjam --with-log debug link=static threading=multi
runtime-link=shared /your defines/
to build exactly the library you want, or bjam --with-log
--build-type=complete /your defines/
to build all variants.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at