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

2009-07-16 Thread Rock Lobster
Thanks for your answers, I tried both but it didn't work. However, later it turned out that both libraries didn't link against exactly the same boost version, so that was the problem. Now everything works fine :) -- View this message in context: http://www.nabble.com/Boost.Python%3A-same-class-i

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

2009-07-14 Thread Renato Araujo
Message- > From: cplusplus-sig-bounces+wladwig=wdtinc@python.org > [mailto:cplusplus-sig-bounces+wladwig=wdtinc@python.org] On Behalf Of > Rock Lobster > Sent: Tuesday, July 14, 2009 9:48 AM > To: cplusplus-sig@python.org > Subject: [C++-sig] Boost.Python: same class in several mo

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

2009-07-14 Thread William Ladwig
al Message- From: cplusplus-sig-bounces+wladwig=wdtinc@python.org [mailto:cplusplus-sig-bounces+wladwig=wdtinc@python.org] On Behalf Of Rock Lobster Sent: Tuesday, July 14, 2009 9:48 AM To: cplusplus-sig@python.org Subject: [C++-sig] Boost.Python: same class in several modules Hello

[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