I'm developing boost.python library for Linux/Windows. There are two modules. In the first module class A, in second module - class B. One of the method of B class returned instance of class A. Under the linux it works as expected but under windows - not.
from modulea import A
from moduleb import B
b = B()
a = b.get_a_class()
There is an error
TypeError: No to_python (by-value) converter found for C++ type: class A
under windows in last line.
But if I placed both of classes in one module it works.
Is there approach under windows to use two modules without such errors?