Re: [C++-sig] Boost Python Question - Multiple Classes and Modules not appearing as attribute

2016-09-09 Thread Stefan Seefeld
On 09.09.2016 10:00, Jon Lederman wrote: > Hi, > > Let me be more explicit: > > If my BOOST thing is: BOOST_PYTHON_MODULE(opus_encoder_strategy) and my > Makefile is like this: > > all: opus_encoder_strategy.so > > opus_encoder_strategy.so: opus_encoder_strategy.o > ${CC} ${CInc} ${CLinkFla

Re: [C++-sig] Boost Python Question - Multiple Classes and Modules not appearing as attribute

2016-09-09 Thread Jon Lederman
Hi, Let me be more explicit: If my BOOST thing is: BOOST_PYTHON_MODULE(opus_encoder_strategy) and my Makefile is like this: all: opus_encoder_strategy.so opus_encoder_strategy.so: opus_encoder_strategy.o ${CC} ${CInc} ${CLinkFlags} $^ -o $@ opus_encoder_strategy.o: opus_encoder_str

Re: [C++-sig] Boost Python Question - Multiple Classes and Modules not appearing as attribute

2016-09-09 Thread Stefan Seefeld
On 09.09.2016 09:29, Jon Lederman wrote: > Hi, > > Thanks for the response. However, this example doesn’t work for me either if > I set the shared object file to zoo.so. It doesn’t find the animal attribute: > > http://pyengr.readthedocs.io/en/latest/inter/bpy > > Can you explain why? It's impo

Re: [C++-sig] Boost Python Question - Multiple Classes and Modules not appearing as attribute

2016-09-09 Thread Jon Lederman
Hi, Thanks for the response. However, this example doesn’t work for me either if I set the shared object file to zoo.so. It doesn’t find the animal attribute: http://pyengr.readthedocs.io/en/latest/inter/bpy Can you explain why? Thanks. Jon > On Sep 9, 2016, at 4:07 AM, Holger Joukl wrot

Re: [C++-sig] Boost Python Question - Multiple Classes and Modules not appearing as attribute

2016-09-09 Thread Holger Joukl
Hi, "Cplusplus-sig" schrieb am 09.09.2016 02:33:57: > Hi, > > And here is yet another person who seems to encounter the same issue: > http://stackoverflow.com/questions/9140572/c-boost-python-2-problems > > -Jon Python expects an init function for extension modules named initNAME where NAME is