On 11/05/2013 10:28 AM, Craig James wrote: ... The problem is much more subtle -- it seems to be that the run-time > linker doesn't call the C++ constructors correctly for OpenBabel's > plug-ins. I believe it has to do with plug-ins within plug-ins. That is, > Perl dynamically loads the OpenBabel swig-generated wrappers, which works > correctly; all the class load-time code initializers are run. But then > when OpenBabel tries to dynamically load its own libraries (the file > modules like mdlformat.cpp), it fails to call all of the constructors > and/or initialization code, so the classes aren't initialized properly.
Interesting... makes me sooo happy I don't do that sort of thing anymore. ;) -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss