> > How to link whole OB into one library? > I'm assuming you want to statically link everything -- including formats. > It's tricky, because you can link everything into a monolithic libopenbabel.a > or libopenbabel.so. The problem is that when you link to create a binary > (e.g., "babel"), the linker will toss out all the formats -- they're unused > classes.
No, I link dynamically. I'm trying to get portable binary package of Avogadro, and when running on platforms, other than where it was compiled, no file can be opened. I think it may happen because format plugins are not loaded -- Regards, Konstantin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel