[Boost-bugs] [Boost C++ Libraries] #6330: Sucess to build when use stlport 5.2.1, but link error.(MSVC8-10)

Subject: [Boost-bugs] [Boost C++ Libraries] #6330: Sucess to build when use stlport 5.2.1, but link error.(MSVC8-10)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-29 08:23:43


#6330: Sucess to build when use stlport 5.2.1, but link error.(MSVC8-10)
---------------------------------------+------------------------------------
 Reporter: nightmare.qntal@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
---------------------------------------+------------------------------------
 Boost 1.48.0 success to build when use stlport 5.2.1, but when link to the
 library with following error:
 error LNK2001: unresolved external symbol "void __cdecl
 boost::re_detail::raise_runtime_error(class stlpd_std::runtime_error const
 &)"
 (?raise_runtime_error_at_re_detail_at_boost@@YAXAEBVruntime_error_at_stlpd_std@@@Z)
 E:\WorkSpaces\Visual Studio 2010\boost_test\boost_test\main.obj
 error LNK2001: unresolved external symbol "class
 stlpd_std::basic_string<char,class stlpd_std::char_traits<char>,class
 stlpd_std::allocator<char> > __cdecl
 boost::re_detail::w32_transform(unsigned int,char const *,char const *)"
 (?w32_transform_at_re_detail_at_boost@@YA?AV?$basic_string_at_DV?$char_traits_at_D@stlpd_std@@V?$allocator_at_D@2@@stlpd_std@@IPEBD0_at_Z)
 E:\WorkSpaces\Visual Studio 2010\boost_test\boost_test\main.obj

 building configure for boost 1.48.0:
 set PYTHON=D:\\Program Files (x86)\\Python32
 set INCLUDE=%STLPORT%\stlport;%PYTHON%\\include;%INCLUDE%;
 set LIB=%STLPORT%\\lib;%PYTHON%\\libs;%LIB%;
 b2 --toolset=msvc-10.0 --build-type=complete stdlib=stlport
 --stagedir=stlport

 I have define _STLP_DEBUG and __STLPORT_DEBUG in my project.During in the
 building progress of boost, I found the b2 have used the headers of msvc,
 and link to stplort's libraries.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6330>
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:08 UTC