rdkit-rs / rdkit-sys Goto Github PK
View Code? Open in Web Editor NEWRust crate for linking against the RDKit C++ API
Rust crate for linking against the RDKit C++ API
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 Boost library returns explicit bitvects as vectors of u64 (so whole CPU words). but libraries like tantivy expect vectors of u8. we should add a helper function for converting Vec<u64>
to Vec<u8>
This repo has been fantastic for me to use within my Rust projects, thanks for all the effort put into this.
Have some questions regarding contributing:
Dear,
Thanks for sharing uself chemoinformaitcs package of Rust!
I would like to ask you if I could build the code with rdkit which is installed from conda.
By using conda env, I couldn't solve the issue which related static link.
Any suggestion, advicces are greatly appreciated.
Thanks,
Taka
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.