Boost logo

Boost-Build :

Subject: Re: [Boost-build] another simple boost build failure
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-10-25 05:30:34


Hi Ronny,

On Wednesday, 24. October 2012 10:51:18 Ronny Herzog wrote:
> Dear all,
>
> sorry for bothering you again, but the problem did not disappear. With
> the changes from Juergen it worked yesterday. But today it does not
> anymore (maybe I was too tired yesterday...).

Interesting.

> You find my Jamroot[1] and the output of "bjam -d+2"[2] below. The
> strange thing is that the file
> "/C:\boost_1_50_0\bin.v2\libs\filesystem\build\msvc-9.0\debug\threading-mult
> i\boost_filesystem-vc90-mt-gd-1_50.lib/" exists. However, the linker reports
> that it cannot open it.

Please zip the complete output next time.

If this is the complete output, then you are not doing a complete rebuild.
Boost.Build does not automatically rebuild after changing requierements and
#defines, so either use "-a" to rebuild everything or manually remove your
"boost-build" folder.

> file ..\boost-build\msvc-9.0\debug\threading-multi\spectraImport.exe.rsp
>

> LINK : fatal error LNK1104: cannot open file
> 'libboost_regex-vc90-mt-gd-1_50.lib

This is the _static_ library, according to
<http://www.boost.org/doc/libs/1_51_0/more/getting_started/windows.html#library-
naming>

The autolinking magic is incorporated into nearl _every_ object file, so only a
clean rebuild will resolve this mess. The linker output shows that Boost.Build
is linking against the shared libraries.

Please read at least the getting started guide and
<http://www.boost.org/boost-build2/doc/html/index.html>
if you use Boost.Build on your project.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! Germany

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