1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
To build the optional InChI support, you have to download the official InChI
software distribution from the IUPAC website, and place the source code in this
directory. Please follow these instructions.
1. Download the zip file from
http://www.inchi-trust.org/sites/default/files/inchi-1.04/INCHI-1-API.ZIP
2. Unzip the package.
3. In the unzipped folder, find INCHI-1-API/INCHI_API/inchi_dll, under which
there are 73 files including things like ichi.h and ikey_dll.c. Copy all
these 73 files to the empty directory 'src' residing inside the same
directory that contains this README file you are reading. The actual path is
'$RDKIT_SOURCE_TREE_ROOT/External/INCHI-API/src'.
4. Rerun `cmake` with `-DRDK_BUILD_INCHI_SUPPORT=ON` as an additional argument
Alternatively, if you are on a UNIX variant system (Linux, Mac OS X, Cygwin,
etc), you may invoke the included script `download-inchi.sh`:
$ bash download-inchi.sh
When the download is successful, rerun`cmake` with
`-DRDK_BUILD_INCHI_SUPPORT=ON` as an additional argument
|