<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi list,<br>
<br>
Debian: clang version
<title>Konsole output</title>
3.5.2-2, boost 1.58
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br>
<br>
I have the same problem. I tracked the problem down to the signature
of boost::program_options::arg.<br>
<br>
Call
<title>Konsole output</title>
<div>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">mcview
/usr/lib/x86_64-linux-gnu/libboost_program_options.so</span><br>
</span></div>
(should be a sym-link to
<title>Konsole output</title>
<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">libboost_program_options.so.1.58.0</span></span>)<br>
<br>
and you see the signature is
boost::program_options::arg[abi::cxx11].<br>
<br>
So it seems related to the different stdlibc++ variants of clang and
gcc. (Boost should be compiled with gcc).<br>
<br>
Bye,<br>
<br>
Stefan<br>
<br>
<br>
<div class="moz-cite-prefix">On 27.08.2015 11:30, Sebastian
Eichelbaum wrote:<br>
</div>
<blockquote
cite="mid:20150827093022.GY405@h2109006.stratoserver.net"
type="cite">Hi list,
<br>
<br>
I recently updated my system and now use boost 1.58.
Unfortunately, there is an issue when building the qt
gui/scriptui. Both use boost::program_options. When linking, the
linker complains about the missing reference
"boost::program_options::arg".
<br>
<br>
The mighty internet provides two solutions:
<br>
<br>
1) missing explicit linking to boost_program_options (-l)
<br>
2) definition of "BOOST_PROGRAM_OPTIONS_DYN_LINK" something.
<br>
<br>
Both "solutions" did not work. Please be so kind to check this on
your systems, especially when using boost 1.58. It is a critical
issue. We cannot release OpenWalnut when it does not compile/link
on this boost version.
<br>
<br>
You can trace down the issue to boost/program_options/config.hpp
and boost/program_options/detail/value_semantic.hpp. Something is
wrong there. BUT we cannot fix this in there. It is out of reach.
<br>
<br>
As a workaround for you if you need to get it work again (DO NOT
commit), replace the program_options include in OpenWalnut.cpp
with
<br>
<br>
namespace boost { namespace program_options { std::string arg; } }
<br>
#include <boost/program_options.hpp>
<br>
<br>
<br>
Cheers
<br>
<br>
Sebastian
<br>
<br>
</blockquote>
<br>
</body>
</html>