-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem building the extension #16
Comments
My first suggestion to help avoiding unnecessary troubleshooting would be to follow the ringtail installation instructions and install its dependencies in a conda environment. If following the documentation is not an option, providing some additional details about the custom build may usually help (e.g. operating system and which version of RDKit is installed on it). From the output you shared it looks like the compiler command line could be missing some options instructing it about where to look for the RDKit header files. Could you please also share the exact command line you used to run cmake and the contents of the cmake cache file from your chemicalite build directory? |
Hi, This warning is for project developers. Use -Wno-dev to suppress it. -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.58.0") found components: system serialization iostreams Could not find a package configuration file provided by "RDKit" (requested
Add the installation prefix of "RDKit" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! xxxx@xxxx-Predator-PHN16-71:~/sources/chemicalite-master/build$ dpkg --get-selections | grep rdkit
In the readsthedocs there is: Any suggestions? Thanks. Saverio |
Hi, This warning is for project developers. Use -Wno-dev to suppress it. -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.58.0") found components: system serialization iostreams Call Stack (most recent call first): -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.74.0") Could not find a package configuration file provided by "Catch2" (requested
Add the installation prefix of "Catch2" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! I have downloaded the latest version of Catch2 3.7.1 . Thanks. Saverio |
HI, This warning is for project developers. Use -Wno-dev to suppress it. -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.58.0") found components: system serialization iostreams Call Stack (most recent call first): -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.74.0")
-- Build files have been written to: /home/xxxx/sources/chemicalite-master/build It seems that the building step ends fine. Thanks. Saverio |
Hi,
I need to use this extension in order to use rt_process_vs of ringtail
installed via pip3.
When using rt_process_vs I receive:
rt_process_vs.py write --file_path /home/xxxx/sources/Ringtail-release_2.1.0/test/test_data/adgpu --recursive --output_db ringtail_test_AD4GPU
Failed to load chemicalite cartridge. Please ensure chemicalite is installed with
conda install -c conda-forge chemicalite
.ERROR: Error while establishing database connection
I cannot use conda install -c conda-forge chemicalite because I've used pip3 to install ringtail.
I have the same problem of a closed issue when make return the error:
xxxx@xxxx-Predator-PHN16-71:~/sources/chemicalite-master$ make
[ 3%] Building CXX object CMakeFiles/chemicalite.dir/mol.o
/home/xxxx/sources/chemicalite-master/src/mol.cpp:6:10: fatal error: GraphMol/MolPickler.h: No such file or directory
6 | #include <GraphMol/MolPickler.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated. make[2]: *** [CMakeFiles/chemicalite.dir/build.make:104: CMakeFiles/chemicalite.dir/mol.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/chemicalite.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
Using apt-file I have the following regarding the missing header file:
xxxx@xxxx-Predator-PHN16-71:~/sources/chemicalite-master$ apt-file search MolPickler.h
librdkit-dev: /usr/include/rdkit/GraphMol/MolPickler.h rdkit-doc: /usr/share/doc/rdkit/html/cppapi/classRDKit_1_1MolPickler.html
Therefore the header file there exists in the file system.
Using the suggestion to call make with verbose output I have the following:
xxxx@xxxx-Predator-PHN16-71:~/sources/chemicalite-master$ make VERBOSE=1
/usr/local/bin/cmake -S/home/xxxx/sources/chemicalite-master/src -B/home/xxxx/sources/chemicalite-master --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /home/xxxx/sources/chemicalite-master/CMakeFiles /home/xxxx/sources/chemicalite-master//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/xxxx/sources/chemicalite-master' make -f CMakeFiles/chemicalite.dir/build.make CMakeFiles/chemicalite.dir/depend
make[2]: Entering directory '/home/xxxx/sources/chemicalite-master' cd /home/xxxx/sources/chemicalite-master && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/xxxx/sources/chemicalite-master/src /home/xxxx/sources/chemicalite-master/src /home/xxxx/sources/chemicalite-master /home/xxxx/sources/chemicalite-master /home/xxxx/sources/chemicalite-master/CMakeFiles/chemicalite.dir/DependInfo.cmake "--color="
make[2]: Leaving directory '/home/xxxx/sources/chemicalite-master'
make -f CMakeFiles/chemicalite.dir/build.make CMakeFiles/chemicalite.dir/build
make[2]: Entering directory '/home/xxxx/sources/chemicalite-master'
[ 3%] Building CXX object CMakeFiles/chemicalite.dir/mol.o
/usr/bin/c++ -Dchemicalite_EXPORTS -fPIC -MD -MT CMakeFiles/chemicalite.dir/mol.o -MF CMakeFiles/chemicalite.dir/mol.o.d -o CMakeFiles/chemicalite.dir/mol.o -c /home/xxxx/sources/chemicalite-master/src/mol.cpp
/home/xxxx/sources/chemicalite-master/src/mol.cpp:6:10: fatal error: GraphMol/MolPickler.h: No such file or directory
6 | #include <GraphMol/MolPickler.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/chemicalite.dir/build.make:104: CMakeFiles/chemicalite.dir/mol.o] Error 1
make[2]: Leaving directory '/home/xxxx/sources/chemicalite-master'
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/chemicalite.dir/all] Error 2
make[1]: Leaving directory '/home/xxxx/sources/chemicalite-master'
make: *** [Makefile:136: all] Error
Any suggestion to fix this problem?
Thanks.
Saverio
The text was updated successfully, but these errors were encountered: