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 CMakeLists.txt`
./Code/JavaWrappers/gmwrapper/CMakeLists.txt:21:
downloadAndCheckMD5(${JUNIT_URL} "${RDKit_JavaLibDir}/junit.jar"
${JUNIT_MD5SUM})
it looks like you might be running cmake in a subdirectory rather than
in the RDKit root directory.
HTH, cheers
p.
On 28/05/2020 16:28, Tim Dudgeon wrote:
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 CMakeLists.txt:21 (downloadAndCheckMD5):
Unknown CMake command "downloadAndCheckMD5".
-- Configuring incomplete, errors occurred!
See also
"/home/timbo/github/rdkit/rdkit_2020_03/CMakeFiles/CMakeOutput.log".
$ cmake --version
cmake version 3.16.3
Has anything changed with cmake recently?
Tim
_______________________________________________
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