Opened 6 years ago
Last modified 6 years ago
#12756 new Bugs
Getting the error: " undefined reference to `_Py_NoneStruct' " using boost.python
Reported by: | Owned by: | Ralf W. Grosse-Kunstleve | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.63.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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. _
Attachments (1)
Change History (2)
by , 6 years ago
comment:1 by , 6 years ago
Component: | None → python USE GITHUB |
---|---|
Owner: | set to |
Boost.Python uses GitHub Issue for managing issues.
The c++ class, main.cpp and the .pro file for the QT project.