Boost logo

Boost Users :

Subject: Re: [Boost-users] bjam does not find *.lib file
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2013-03-04 08:40:17


Hi Ronny,

On Monday, 4. March 2013 14:28:58 Ronny Herzog wrote:
> Dear all,
>
> I have troubles to compile because bjam does not find a *.lib file which I
> would expect to be there. I am on Windows 7 with Boost 1.50.0 and visual
> studio 10.
>
> It complains:
>
> LINK : fatal error LNK1181: cannot open input file
> '..\boost-build\additional\msvc-10.0\release\address-model-64\threading-mult
> i\pugixml.lib' Which is true, the compiler does not build a pugixml.lib. I
> don't understand why it is not build, since I am building a *.dll. I would
> appriciate any help, because I have no clue where I should look for the
> problem.

That is most probably the classical bug that the msvc link.exe does not
generate a .lib export library when no visible symbols are available. Do you
export your symbols from "pugixml.cpp" via "dllexport/import"? Your Jamfile for
"pugixml" seems to contain no controlling define for that.

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-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net