-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Thanks for making this available through RDKit!
When I compiled the code, I ran into issues with CMake not finding RDKit libs. I believe this is because I have RDKit installed through Anaconda. Specifically I found ${RDKIT_LIBRARIES} was not set and CMake was picking up a Python install outside of the Anaconda installation I was trying to use. The solution was to add more compile flags:
cmake -D CMAKE_INSTALL_PREFIX=<install location> \
-D CMAKE_PREFIX_PATH=$CONDA_PREFIX \
-D BUILD_RDKIT_SUPPORT=ON \
-D BUILD_PYTHON_SUPPORT=ON \
-D RDKIT_INCLUDE_DIR=/anaconda3/envs/myenv/include/rdkit \
-D Boost_INCLUDE_DIR=/anaconda3/envs/myenv/include \
-D Python3_FIND_STRATEGY=LOCATION \
-D PYTHON_INSTDIR=lib/python3.6/site-packages ..
After adding the additional flags, I was able to successfully compile the code.
ljmartin
Metadata
Metadata
Assignees
Labels
No labels