Dear All, I have managed to compile libopenbabel for Android, the only place I had to modify code (aside from configuration in babelconfig.h) was locale.cpp. Apparently setlocale on Anroid platform always returns NULL, so OBLocale::SetLocale() was segfaulting there. The following change while not too elegant has solved the problem for me, is it too late to request its inclusion into 2.3.0 release?
diff locale.cpp locale.cpp.orig 101d100 < #ifndef ANDROID 103,105d101 < #else < d->old_locale_string = "C"; < #endif 122d117 < #ifndef ANDROID 125d119 < #endif Best regards, Igor ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel