Dear RDKit community,
I'm trying to build RDKit on Windows, yet Cmake is unable to find boost_python.
It finds "serialization" though, and the path "C:\boost\libs\python" exists.
Also, I've replaced all boost versions in CMakeLists.txt with my installed
version of boost (1.56.0 -> 1.68.0). As the code in CMakeLists.txt seems to me
as if it searches for "python3" and not just "python", I tried to rename the
folder in boost to "python3", but it still doesn't find boost_python.
The boost library was installed by downloading the exe from SourceForge.
I pasted the full console output below for reference.
What should I try next?
Thank you and kind regards,
Roman
C:\RDKit\build>cmake -DRDK_BUILD_PYTHON_WRAPPERS=ON -DBOOST_ROOT=C:/boost
-DBOOST_LIBRARYDIR=C:/boost/libs -DRDK_BOOST_PYTHON3_NAME="python"
-DRDK_BUILD_INCHI_SUPPORT=ON -DRDK_BUILD_AVALON_SUPPORT=ON -DRDK_BUILD_PGSQL=ON
-G"Visual Studio 15 2017 Win64" ..
-- Could NOT find InChI in system locations (missing: INCHI_LIBRARY
INCHI_INCLUDE_DIR)
CUSTOM_INCHI_PATH = C:/RDKit/External/INCHI-API
-- Found InChI software locally
CMake Warning at C:/Program
Files/CMake/share/cmake-3.12/Modules/FindBoost.cmake:1723 (message):
No header defined for python-py36; skipping header check
Call Stack (most recent call first):
CMakeLists.txt:191 (find_package)
CMake Error at C:/Program
Files/CMake/share/cmake-3.12/Modules/FindBoost.cmake:2044 (message):
Unable to find the requested Boost libraries.
Boost version: 1.68.0
Boost include path: C:/boost
Could not find the following Boost libraries:
boost_python
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:198 (find_package)
-- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
(Required is at least version "2.91.0")
Eigen3 not found, disabling the Descriptors3D build.
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- serialization
CMake Warning (dev) at CMakeLists.txt:317 (find_package):
Policy CMP0074 is not set: find_package uses PackageName_ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable PostgreSQL_ROOT is set to:
C:\Program Files\PostgreSQL\10
Environment variable PostgreSQL_ROOT is set to:
C:\Program Files\PostgreSQL\10
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
== Using strict rotor definition
-- Found MAEParser source in C:/RDKit/External/CoordGen/maeparser
-- Found coordgenlibs source in C:/RDKit/External/CoordGen/coordgenlibs
== Updating Filters.cpp from pains file
== Done updating pains files
-- Found RapidJSON source in C:/RDKit/External
CMake Warning (dev) at Code/PgSQL/rdkit/CMakeLists.txt:11 (find_package):
Policy CMP0074 is not set: find_package uses PackageName_ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable PostgreSQL_ROOT is set to:
C:\Program Files\PostgreSQL\10
Environment variable PostgreSQL_ROOT is set to:
C:\Program Files\PostgreSQL\10
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
postgres: C:/Program Files/PostgreSQL/10/include;C:/Program
Files/PostgreSQL/10/include/server
=====================================================================
After building, check
C:/RDKit/build/Code/PgSQL/rdkit/pgsql_install.bat
for correctness of installation paths. If everything is OK, gain
administrator privileges, stop the PostgreSQL service, run
C:/RDKit/build/Code/PgSQL/rdkit/pgsql_install.bat
to install the PostgreSQL RDKit cartridge, then start again
the PostgreSQL service
=====================================================================
-- Configuring incomplete, errors occurred!
See also "C:/RDKit/build/CMakeFiles/CMakeOutput.log".
See also "C:/RDKit/build/CMakeFiles/CMakeError.log".
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss