> if (mmffCharges && mmffCharges->ComputeCharges(mol)) {
Practical Real-Life Debugging experience says "check each part of this && statement" and see which one of them is failing. So? Which one? Is the mmffCharges object not created? Or can it not compute charges? If it's not created, I'd make sure that you've created an OBConversion object somewhere. In older versions, all plugins (including charges and force fields) are loaded on creating an OBConversion object, but not before. Hope that helps, -Geoff ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss