Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13326: linking with program_options has unresolved symbols on MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-23 07:36:27
#13326: linking with program_options has unresolved symbols on MSVC
-----------------------------------------+-----------------------------
Reporter: Mario Emmenlauer <mario@â¦> | Owner: Vladimir Prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
Version: Boost 1.65.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------+-----------------------------
Comment (by Vladimir Prus):
boost_program_options.dll is expected to have these symbols at all times,
however the linker is not using .dll, it's using import library, usually
boost_program_options.lib. When building without
-DBOOST_PROGRAM_OPTIONS_DYN_LINK=1, the import library does not mention
these symbols, and the linker cannot find them.
There could be other issues, maybe specific to VC 2017, but the first
thing we need to determine if `-DBOOST_PROGRAM_OPTIONS_DYN_LINK=1` is
used. If not, nothing is gonna work.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13326#comment:10> 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 : 2018-03-23 07:40:20 UTC