Boost logo

Boost Users :

Subject: Re: [Boost-users] linking with Intel compiler to Boost libs compiled with Visual Studio
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-09-05 03:49:15


> I'm trying to link to Boost 1.56 libs that I built with VS2013. We
> compile with both Intel and VS. We build Boost with layout=tagged (e.g.
> boost_serialization-mt-gd.lib), and these link fine with VS2013. When
> linking with Intel 2015 the linker complains about a missing library,
> looking for the layout=versioned lib name (e.g.
> libboost_serialization-iw-mt-gd-1_56.lib). Even if you specify the
> library name directly on the link line, it still complains. I'm sure
> this is just an include or #define issue but I don't know where to
> look. If anyone can point me in the right direction I'd be grateful.

Define BOOST_ALL_NO_LIB when building your app and specify the lib's to
link against manually.

HTH, John.


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