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 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
<paolo.tosco.m...@gmail.com <mailto:paolo.tosco.m...@gmail.com>> wrote:
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 try to run your command
from rdkit/Code/JavaWrappers/gmwrapper/build rather than from
rdkit/build, as in that case the main CMakeLists.txt file is not
sourced.
Cheers,
p.
On 28/05/2020 17:01, Tim Dudgeon wrote:
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_WRAPPERS=ON ..
Tim
On Thu, May 28, 2020 at 4:46 PM Paolo Tosco
<paolo.tosco.m...@gmail.com <mailto:paolo.tosco.m...@gmail.com>>
wrote:
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
<mailto: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