Re: [C++-sig] Boost Python in dynamic libraries

2015-11-25 Thread Slide
Wow, that was great! I appreciate your help. I indeed was not calling Py_Initialize before loading the libraries. Much appreciated! On Wed, Nov 25, 2015 at 7:40 AM Giuseppe Corbelli < giuseppe.corbe...@copangroup.com> wrote: > On 25/11/2015 00:30, Slide wrote: > > I have a set of plugins that I a

Re: [C++-sig] Boost Python in dynamic libraries

2015-11-25 Thread Giuseppe Corbelli
On 25/11/2015 00:30, Slide wrote: I have a set of plugins that I am loading from shared libraries on Linux. I thought I would want to call the initModule function when loading the library, but I am getting the following error when I do so: Fatal Python error: PyThreadState_Get: no current thread

[C++-sig] Boost Python in dynamic libraries

2015-11-24 Thread Slide
I have a set of plugins that I am loading from shared libraries on Linux. I thought I would want to call the initModule function when loading the library, but I am getting the following error when I do so: Fatal Python error: PyThreadState_Get: no current thread Aborted (core dumped) Can anyone p