[Boost-bugs] [Boost C++ Libraries] #12756: Getting the error: " undefined reference to `_Py_NoneStruct' " using boost.python

Subject: [Boost-bugs] [Boost C++ Libraries] #12756: Getting the error: " undefined reference to `_Py_NoneStruct' " using boost.python
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-12 21:57:34


#12756: Getting the error: " undefined reference to `_Py_NoneStruct' " using
boost.python
--------------------------------------+------------------------------
 Reporter: Joshua Moser <joshnm7@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.63.0
 Severity: Problem | Keywords:
--------------------------------------+------------------------------
 Trying to use Boost.Python to wrap some c++ code. After installing boost
 and building the python libraries I try running it in a working c++
 project (all I have done is add the #include
 <boost_1_63_0/boost/python.hpp> in one of the cpp files and I receive the
 error " undefined reference to `_Py_NoneStruct' "). I have tried it with
 building the boost with python 2.7 and 3.4 (using ./bootstrap.sh --with-
 python-version=X.Y).

 I have tried on two separate Ubuntu computers. And I receive this same
 error on both of them.
 _

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