Hi Jenny,

-- Could NOT find Boost (missing: serialization) (found suitable version "1.65.1", minimum required is "1.56.0")

it looks like CMake found your Boost installation but either the serialization library was not built or possibly was not built for the same architecture (32-bit vs 64-bit) as the architecture you are attempting to build RDKit for.

In particular, I suggest that you add to your CMake command line the following arguments:

-G "Visual Studio 15 2017" -A x64

as the CMake generator for VS 2017 still defaults to 32-bit, whereas most likely you have built Boost for a 64-bit architecture.

Feel free to get back to me off-list if you still have trouble building the RDKit.

Cheers,
p.

On 05/11/2019 21:54, Jenny h wrote:
Dear all,

First of all sorry for the spam in case you received the mail earlier, but since I so far did not see it on the list I assumed it got somehow stuck in some spam filter.

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 not attached the error logs for more information since the mail was not sent the first time, however, if needed I am happy to try to send them again.

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



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

Reply via email to