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
rdkit-sys question #8
Comments
Interesting, I wonder if rdkit-rs needs to updates how it builds the load path for rdkit. Can you post your rdkit version? |
Hi, This was what I've got for my RDKit version (I actually uninstalled RDKit and re-installed it after having this problem, but it still persisted after the re-installation): ==> rdkit: stable 2022.09.1 (bottled), HEAD Thanks, |
I'll close this issue for now, as I've found other tools to work with. Would love to know if rdkit-rs actually needs to update how it builds the load path to rdkit. Thanks for responding in the first place anyway. |
Hi,
I’m a relatively new user of Rust (more familiar with Python & R) and hoping to integrate Rust and RDKit (trying to start a cheminformatics project in Rust), so I was quite excited to come across this crate, rdkit-sys, online. I was running it on VS code on Mac OS, by using the latest version 0.2.16 of rdkit-sys in the cargo.toml. However, when I ran it via cargo check or cargo test, it showed a set of errors like this after compilation (in total it appeared twice):
warning: /usr/local/include/rdkit/RDGeneral/Dict.h:261:26: error: no template named 'is_same_v' in namespace 'std'; did you mean 'is_same'?
warning: static_assert(! std::is_same_v<T, std::string_view>,
warning: ~~~~~^~~~~~~~~
warning: is_same
warning: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:547:61: note: 'is_same' declared here
warning: template <class _Tp, class _Up> struct _LIBCPP_TEMPLATE_VIS is_same : public false_type {};
warning:
Prior to this, I’ve already installed rdkit and relevant dependencies via Homebrew. It appeared there might be conflicts between one of the RDKit files and one of the llvm files (this was as far as I could tell if I went back to these files). So either I’m missing something obvious here (being quite new in the coding world) or I wasn’t doing something correctly?
Hoping someone might be able to enlighten me on this one... (might be due to a silly thing I've missed).
Many thanks,
J
The text was updated successfully, but these errors were encountered: