[Boost-bugs] [Boost C++ Libraries] #11253: BOOST_LIB_PREFIX problem with boost 1.58 and Visual C++ 2013

Subject: [Boost-bugs] [Boost C++ Libraries] #11253: BOOST_LIB_PREFIX problem with boost 1.58 and Visual C++ 2013
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-30 11:56:16


#11253: BOOST_LIB_PREFIX problem with boost 1.58 and Visual C++ 2013
-----------------------+------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.58.0
 Severity: Problem | Keywords:
-----------------------+------------------------------
 I've successfully compiled both static and shared boost libraries with
   b2 variant=release link=shared runtime-link=shared threading=multi
 and
   b2 variant=debug link=shared runtime-link=shared threading=multi

 When trying to compile a small sample using boost_filesystem only, the
 linker complaints about a missing libboost_filesystem<etc>.lib (both with
 static -MT and dynamic -MD options): in fact, all the required *.lib
 archives are present in the right path, but their name begins with boost_,
 not *LIB*boost_.

 I've had to fix boost/config/auto_link.hpp line 367, changing the
 definition of BOOST_LIB_PREFIX to "" instead of "lib" to get the automatic
 linkage work properly.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11253>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC