首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >RDKit生成错误

RDKit生成错误
EN

Stack Overflow用户
提问于 2019-03-07 17:53:13
回答 1查看 302关注 0票数 0

我正在使用Ubuntu16.04,并尝试从official documentation安装RDKit。我安装了必备软件,下载了zip文件并解压缩到我的文件夹中。创建一个构建目录,输入该目录,然后输入cmake ..,这是输出

代码语言:javascript
复制
    -- Found Catch2 source in /home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/External/catch/catch
CATCH: /home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/External/catch/catch/single_include
CMake Warning at /home/krishna/anaconda3/share/cmake-3.12/Modules/FindBoost.cmake:1727 (message):
  No header defined for python-py37; skipping header check
Call Stack (most recent call first):
  CMakeLists.txt:236 (find_package)


PYTHON Py_ENABLE_SHARED: 0
PYTHON USING LINK LINE: -pthread -shared -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/home/krishna/anaconda3/lib -L/home/krishna/anaconda3/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/home/krishna/anaconda3/lib -L/home/krishna/anaconda3/lib
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   serialization
== Using strict rotor definition
-- Found MAEParser source in /home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/External/CoordGen/maeparser
-- Found coordgenlibs source in /home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/External/CoordGen/coordgenlibs
== Updating Filters.cpp from pains file
== Done updating pains files
-- Found RapidJSON source in /home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/External
-- Configuring done
-- Generating done
-- Build files have been written to: /home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/build

稍后,当我进入make时,我收到以下信息

代码语言:javascript
复制
[  0%] Built target catch
[  0%] Built target inchi_support
[  0%] Building CXX object External/CoordGen/CMakeFiles/maeparser.dir/maeparser/MaeBlock.cpp.o
In file included from /home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/External/CoordGen/maeparser/MaeBlock.cpp:1:0:
/home/krishna/Coding/GitHub Projects/rdkit-Release_2018_09_1/External/CoordGen/maeparser/MaeBlock.hpp:3:10: fatal error: boost/dynamic_bitset.hpp: No such file or directory
 #include <boost/dynamic_bitset.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
External/CoordGen/CMakeFiles/maeparser.dir/build.make:75: recipe for target 'External/CoordGen/CMakeFiles/maeparser.dir/maeparser/MaeBlock.cpp.o' failed
make[2]: *** [External/CoordGen/CMakeFiles/maeparser.dir/maeparser/MaeBlock.cpp.o] Error 1
CMakeFiles/Makefile2:275: recipe for target 'External/CoordGen/CMakeFiles/maeparser.dir/all' failed
make[1]: *** [External/CoordGen/CMakeFiles/maeparser.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

我已经安装了最新的boost库,bashrc文件也已更新为

代码语言:javascript
复制
export RDBASE=/rdkit-Release_2018_09_1/Release_2018_09_1
export LD_LIBRARY_PATH=$RDBASE/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$RDBASE:$PYTHONPATH
export PATH=$PATH:/Coding/boost_1_69_0

请帮帮我!要成功构建模块,应该进行哪些更改?

EN

回答 1

Stack Overflow用户

发布于 2019-04-16 19:37:25

我无可奉告(声誉...)但我看到你用的是水蟒。为什么不通过conda安装呢?只需在要安装conda install rdkit的环境中键入rdkit即可。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55040781

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档