I will try and get some time to look at this. My only thought at the moment is that the Windows build has its own babelconfig.h; I forget the details at the moment, but you need to include that instead of the 'default' one.
- Noel On Sun, 29 Sep 2019 at 19:51, Asem Alenaizan <alenaiz...@gmail.com> wrote: > It seems the problem is not related to the conda package. Even when I > compile openbabel myself and link to it, and compile my program with the > same compiler, I still fail to find the force field. Is there a reason that > this is the case? This is specific to windows. I did not find this issue > for Linux and Mac. > > > > Asim > > > > > > *From: *Asem Alenaizan <alenaiz...@gmail.com> > *Sent: *Friday, September 27, 2019 4:06 PM > *To: *Geoffrey Hutchison <geoff.hutchi...@gmail.com> > *Cc: *Noel O'Boyle <baoille...@gmail.com>; > openbabel-discuss@lists.sourceforge.net > *Subject: *RE: [Open Babel] Using Openbabel with a New Package > > > > Setting BABEL_LIBDIR does not fix the problem. > > > > Asim > > > > > > *From: *Geoffrey Hutchison <geoff.hutchi...@gmail.com> > *Sent: *Friday, September 27, 2019 3:09 PM > *To: *Asem Alenaizan <alenaiz...@gmail.com> > *Cc: *Noel O'Boyle <baoille...@gmail.com>; > 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