Dear all,

I wanted to use the RDKit Java wrappers to just learn and play around with
RDKit in Java (and maybe one day be able to write a KNIME node myself).
Unfortunately I am stuck already at the building process. Unfortunately, I
am neither familiar with boost nor cmake, therefore I am sorry if I missed
a trivial step.
In general I am working on Win10 64bit.

What I have done so far:
Install Visual Studio 2017
Install cmake
build boost 1.65.1 (using bootstrap and .\b2) and run b2 in the test folder
of the serialization library, so far it looked fine (to me at least).
Then I added cmake as well as the boost root and boost\lib to the path.

Next I am trying to compile RDKit and the wrappers with the command:

cmake -DRDK_BUILD_PYTHON_WRAPPERS=OFF
-DRDK_BUILD_INCHI_SUPPORT=ON
-DRDK_BUILD_AVALON_SUPPORT=ON
-DRDK_BUILD_SWIG_WRAPPERS=ON
 -DBOOST_ROOT=C:\rdkitstuff\boost\boost_1_65_1 ..

However, I am getting the following output:

-- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.18362.

-- Found Catch2 source in C:/rdkitstuff/rdkit/External/catch/catch
CATCH: C:/rdkitstuff/rdkit/External/catch/catch/single_include
-- Could NOT find InChI in system locations (missing: INCHI_LIBRARY
INCHI_INCLUDE_DIR)
CUSTOM_INCHI_PATH = C:/rdkitstuff/rdkit/External/INCHI-API
-- Found InChI software locally
-- Could NOT find Boost (missing: serialization) (found suitable version
"1.65.1", minimum required is "1.56.0")
== Using strict rotor definition
CMake Error at
C:/rdkitstuff/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146
(message):
  Could NOT find Boost (missing: system iostreams) (found suitable version
  "1.65.1", minimum required is "1.56.0")
Call Stack (most recent call first):

C:/rdkitstuff/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393
(_FPHSA_FAILURE_MESSAGE)
  C:/rdkitstuff/CMake/share/cmake-3.16/Modules/FindBoost.cmake:2162
(find_package_handle_standard_args)
  External/CoordGen/CMakeLists.txt:13 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/rdkitstuff/rdkit/build/CMakeFiles/CMakeOutput.log".
See also "C:/rdkitstuff/rdkit/build/CMakeFiles/CMakeError.log".


I have tried it with the cmake gui, the vs 2017 developer command line and
the normal cmd from Win10. I get this error in all cases. I also tried it
with boost 1.66.0 but the problem is the same. It looks like I forgot to
specify some Path somewhere, although I assume that by specifying the
BOOST_ROOT it should find boost with all necessary libraries. Maybe I
missed something here?


I have attached the error logs for more information.


It would be great to get some help here as I am totally clueless on what
else I could try. I am happy to provide any other information if more is
needed.


Thanks in advance!

Best,

Jennifer

Attachment: CMakeError.log
Description: Binary data

Attachment: CMakeOutput.log
Description: Binary data

_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to