Yes, the command line, including using the force fields, works when I set the BABEL_DATADIR variable. The problem is that even when I set the BABEL_DATADIR, my C++ code does not find the force fields.
Asim From: Geoffrey Hutchison Sent: Friday, September 27, 2019 3:09 PM To: Asem Alenaizan Cc: Noel O'Boyle; openbabel-discuss@lists.sourceforge.net Subject: Re: [Open Babel] Using Openbabel with a New Package The program can be compiled and linked correctly against openbabel, but I cannot find the force field. Noel's question is whether you can use the standard command-line tools and convert files: obabel -L forcefields obabel -:CCCC -omol --gen3d Finding the plugins is done using the BABEL_LIBDIR environment variable: https://openbabel.org/docs/dev/Installation/install.html Hope that helps, -Geoff
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss