Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13527: Boost 1.67.0 - Cannot link to boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION...
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-05-08 16:47:55
#13527: Boost 1.67.0 - Cannot link to
boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION...
-------------------------------+--------------------------
Reporter: toby.case@⦠| Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.67.0 | Severity: Problem
Resolution: | Keywords: python, link
-------------------------------+--------------------------
Comment (by anonymous):
There is a bug boost lib. Still waiting for a bugfix. you have to change
python/detail/config.hpp.
-#define BOOST_LIB_NAME boost_python##PY_MAJOR_VERSION##PY_MINOR_VERSION
+#define _BOOST_PYTHON_CONCAT(N, M, m) N ## M ## m
+#define BOOST_PYTHON_CONCAT(N, M, m) _BOOST_PYTHON_CONCAT(N, M, m)
+#define BOOST_LIB_NAME BOOST_PYTHON_CONCAT(boost_python,
PY_MAJOR_VERSION, PY_MINOR_VERSION)
and after
#include <boost/config/auto_link.hpp>
#endif // auto-linking disabled
add
+#undef BOOST_PYTHON_CONCAT
+#undef _BOOST_PYTHON_CONCAT
+
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13527#comment:2> 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-05-08 16:55:01 UTC