Re: [C++-sig] Boost.Python: same class in several modules

2009-07-14 Thread Renato Araujo
Verify your library linkage order, because python boost library need to be the first one, for some reasons of types resolve. BR On Tue, Jul 14, 2009 at 12:15 PM, William Ladwig wrote: > Are you using the static or dynamic version of the boost python library?   > This looks similar to a problem a

Re: [C++-sig] Boost.Python: same class in several modules

2009-07-14 Thread William Ladwig
Are you using the static or dynamic version of the boost python library? This looks similar to a problem a coworker had and switching to the dynamic version of the library fixed his problem. According to the documentation, the dynamic version of the library "contains a type conversion registry

[C++-sig] Boost.Python: same class in several modules

2009-07-14 Thread Rock Lobster
Hello, I tried to do the following: I've got two Python modules which are both wrapped by boost.python, and both of them share some header files, so there are several classes which are used by both modules. As an easy example: - first module is called "videolib" and second module is called "vide