Boost logo

Boost-Build :

Subject: Re: [Boost-build] shared library naming on windows
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-08-10 09:01:23


On Tuesday 10 August 2010 14:27:38 Bo Jensen wrote:

> I am building a shared library on windows, which is build correctly
> with .dll extension, but when linking into a exe application the
> linker looks for .lib extension and fails.

Could you provide the exact error message?

> The library is included
> into the exe build as :
>
> somelib/<link>shared
>
> and no other link options is used on command line. The library
> "somelib" is including several boost libraries which is linked
> statically,

Could you clarify what is "linked statically"?

> can this be the problem ?
>
> I am using intel for compile and linking with msvc8.
>
> Any help is appreciated.

You might want to have <define>BOOST_ALL_NO_LIB to disable autolinking.

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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