Re: [C++-sig] Compiling boost python

2020-04-30 Thread Andrew Voelkel
" in Boost would be rational to do, there are plenty of old Boost releases for those. How the cmake support for pybind ? - On 29 Avr 20, at 20:09, Andrew Voelkel wrote: This blurb might help with that question: The main issue with Boost.Python—and the reason for creating such a similar p

Re: [C++-sig] Compiling boost python

2020-04-29 Thread Andrew Voelkel
different Python versions? Am 29.04.20, 16:42 schrieb Andrew Voelkel : Have you considered using pybind11? It’s the same basic idea as boost.python, but it is cleaner, much better supported and documented, and has a large user community. I just discovered this lately, have been using it, and I’m thril

Re: [C++-sig] Compiling boost python

2020-04-29 Thread Andrew Voelkel
Have you considered using pybind11? It’s the same basic idea as boost.python, but it is cleaner, much better supported and documented, and has a large user community. I just discovered this lately, have been using it, and I’m thrilled with it. The only catch is that you need to be compiling with

Re: [C++-sig] Getting simple boost.python extension to work outside the test scripts - HELP!

2019-05-22 Thread Andrew Voelkel
Nope, doesn’t help. However, based on your input, I found install_name_tool and used it to modify hello_ext.so to point to the actual location. That works well, so at least I have a path forward with boost.python. I’m not sure the bjam approach is buying me much compared to Xcode or make, but

Re: [C++-sig] Getting simple boost.python extension to work outside the test scripts - HELP!

2019-05-22 Thread Andrew Voelkel
++ integration Date: Wednesday, May 22, 2019 at 11:07 AM To: "cplusplus-sig@python.org" Subject: Re: [C++-sig] Getting simple boost.python extension to work outside the test scripts - HELP! On 2019-05-22 1:55 p.m., Andrew Voelkel wrote: What magic is the boost environment performi

[C++-sig] Getting simple boost.python extension to work outside the test scripts - HELP!

2019-05-22 Thread Andrew Voelkel
Hi, I spent most of yesterday trying to get the simple tutorials and example to build from within the Boost example folders, and finally succeeded. It was not super straightforward as the instructions seem incomplete and out of date. But after finding a tutorial on Boost.Build and understanding

[C++-sig] Boost.Python simple example won't build

2019-05-21 Thread Andrew Voelkel
Hello, I am new to Boost.Python and am trying to follow the Getting Started instructions here: https://www.boost.org/doc/libs/1_70_0/libs/python/doc/html/building/no_install_quickstart.html The first step is to “get the bjam build driver” and I’m referred to section 5 of the generic Boost Gett