Subject: Re: [Boost-build] Boost.jam issue
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-01-30 13:47:19
On Friday 30 January 2009 21:23:30 Reynolds, John wrote:
> In my experimentation with boost build I have an issue using contrib\boost.jam
> import boost ;
> boost.use-project 1.35 ;
> exe app : app.cpp /boost /tools/crypto//md5 : <library>/boost//program_options ;
> With /boost setup in user-config.jam
> I am getting the following error [ note the lib in front of the lib ]
> fatal error LNK1104: cannot open file 'libboost_program_options-vc80-mt-1_35.lib'
> Any ideas how to get around this.
Apparently, autolink is kicking in -- and by default it assumes static linking,
whilst Boost.Build does shared linking by default. I'd recommend:
in requirement to disable autolink completely.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk