Boost logo

Boost-Build :

Subject: Re: [Boost-build] msvc: shared objects and static libs problem
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2012-01-30 03:34:25


I defined BOOST_ALL_NO_LIBS=1, but the problem is still the same. I
think BOOST_ALL_NO_LIBS controlls automatic linking of the boost
libraries. Any other ideas?

Am 30.01.2012 09:05, schrieb Jaros?aw Bober:
> >From first sight it looks like you have automatic linking turned on.
> This thing works only on windows, that's why you're fine on linux.
> Perhaps you should turn this off by defining flag BOOST_ALL_NO_LIB.
>
> Regards
>
> 2012/1/28 Dr. Karsten Ahnert <karsten.ahnert_at_[hidden]
> <mailto:karsten.ahnert_at_[hidden]>>
>
> Hi,
>
> I have a a project with several dynamic libraries and some
> applications. Some of these libraries depend on other libraries.
>
> In the Jamroot I created aliases to all libraries and in the
> Jamfiles for the single library I include all depend libraries via
> these aliases. This works fine on linux (boost 1.48) but does not
> work on Windows machines. The problem is that bjam tries to find
> the static versions of the depended libraries which have not been
> build:
>
> LINK : fatal error LNK1181: cannot open input file '*.lib'
>
> I attached a small self contained example. Any ideas how I can fix
> this?
>
> Thank you,
>
> Karsten
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>
>
>
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build



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