> The second module is linked against the first one, so I think that the
> linker should load all shared libraries before any python::boost code
> get executed.
Python needs to execute the init function in the first module. I.e. you have
to have an import from Python.
You could do the Python impo
On Fri, Jan 30, 2009 at 11:13 PM, Ralf W. Grosse-Kunstleve
wrote:
>> This apparently works fine when running in same module but if I create a
>> class
>
>> derived from Base in another module (another library), this stop
>> working because the dynamic_cast fails.
>
> Simple idea: is the other mod
> This apparently works fine when running in same module but if I create a class
> derived from Base in another module (another library), this stop
> working because the dynamic_cast fails.
Simple idea: is the other module imported before the dynamic_cast is executed?
That's probably important.
(
Hi guys,
Now I'm trying to reduce my python module.
To cut the size I've reduced the number of times that I have to expose
a function.
I had some success while working in the same module, but when dealing
with more than one things get complicated.
To do this I created a "workaround", described