Re: [Rdkit-discuss] Unknown CMake command "downloadAndCheckMD5"

2020-05-28 Thread Paolo Tosco
Hi Tim, great. For the Boost problem you could try adding |-DBoost_NO_BOOST_CMAKE=ON| to your cmake command; it will probably fix the problem. Cheers, p. On 28/05/2020 18:01, Tim Dudgeon wrote: Thanks Paulo. Deleting CMakeCache.txt seems to have fixed the problem. I then hit a problem being

Re: [Rdkit-discuss] Unknown CMake command "downloadAndCheckMD5"

2020-05-28 Thread Tim Dudgeon
Thanks Paulo. Deleting CMakeCache.txt seems to have fixed the problem. I then hit a problem being unable to build against boost 1.71 but when I switched back to 1.67 it was OK. Seems to be building fine now. Tim On Thu, May 28, 2020 at 5:09 PM Paolo Tosco wrote: > Hi Tim, > > could you please ru

Re: [Rdkit-discuss] Unknown CMake command "downloadAndCheckMD5"

2020-05-28 Thread Paolo Tosco
Hi Tim, could you please run a pwd in your build directory? Also, could you try deleting CMakeCache.txt and re-running cmake? With "subdirectory" I was asking whether your build directory was a subdirectory of the RDKit root dir or a subdirectory of gmwrapper, because I get that error if I t

Re: [Rdkit-discuss] Unknown CMake command "downloadAndCheckMD5"

2020-05-28 Thread Tim Dudgeon
well, I am running it from a subdirectory - the build subdirectory which is where it has always been run from. e.g. mkdir build cd build cmake -DPYTHON_EXECUTABLE=/usr/bin/python3 -DRDK_BUILD_INCHI_SUPPORT=ON -DRDK_BUILD_AVALON_SUPPORT=ON -DRDK_BUILD_PYTHON_WRAPPERS=ON -DRDK_BUILD_SWIG_WRAPPER

Re: [Rdkit-discuss] Unknown CMake command "downloadAndCheckMD5"

2020-05-28 Thread Paolo Tosco
Hi Tim, downloadAndCheckMD5 is a function defined in Code/cmake/Modules/RDKitUtils.cmake, which is included by the main CMakeLists.txt file and then is available to all children CMakeLists.txt files. From the line number where the error occurs $ grep -n downloadAndCheckMD5 `find . -name CMa

[Rdkit-discuss] Unknown CMake command "downloadAndCheckMD5"

2020-05-28 Thread Tim Dudgeon
I'm not able to build form source (master branch) from a new machine I've recently set up (Ubuntu 20.04). $ cmake -DPYTHON_EXECUTABLE=/usr/bin/python3 -DRDK_BUILD_INCHI_SUPPORT=ON -DRDK_BUILD_AVALON_SUPPORT=ON -DRDK_BUILD_PYTHON_WRAPPERS=ON -DRDK_BUILD_SWIG_WRAPPERS=ON .. CMake Error at CMak