[Boost-bugs] [Boost C++ Libraries] #12143: Preferred separator not exported in dll under Windows

Subject: [Boost-bugs] [Boost C++ Libraries] #12143: Preferred separator not exported in dll under Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-04-21 14:08:31


#12143: Preferred separator not exported in dll under Windows
------------------------------------+------------------------
 Reporter: andrei_damian2620000@… | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: preferred_separator |
------------------------------------+------------------------
 Under windows(10) with MSVC14 compiler, I get the following linking error:


 {{{
 Severity Code Description Project File Line
 Suppression State
 Error LNK2001 unresolved external symbol "__declspec(dllimport) public:
 static wchar_t const boost::filesystem::path::preferred_separator"
 (__imp_?preferred_separator_at_path@filesystem_at_boost@@2_WB) bfs
 D:\Info\cvisd\bfs\bfs\main.obj 1
 Error LNK1120 1 unresolved externals bfs
 D:\Info\cvisd\bfs\x64\Release\bfs.exe 1

 }}}

 I get it on both amd64 and i386 if I

 {{{
 #define BOOST_ALL_DYN_LINK
 }}}

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