| File | GitHub |
|---|---|
| Ubuntu | 18.04.1 |
| PyMol | https://github.com/schrodinger/pymol-open-source |
| MMTF | https://github.com/rcsb/mmtf-cpp |
编译开源pymol时报‘mmtf.hpp 文件缺失‘,解决方法如下:
安装编译环境
sudo apt install ninja-build
克隆源码
git clone https://github.com/rcsb/mmtf-cpp.git
编译安装MMTF
cd mmtf-cpp/
mkdir build
cd build
cmake -G Ninja …
sudo ninja install
编译安装PyMol
参见:

本文介绍了解决PyMol在Ubuntu 18.04.1环境下编译时遇到的'mmtf.hpp文件缺失'问题的方法。首先,通过安装ninja-build创建编译环境。其次,从GitHub克隆mmtf-cpp源码并使用Ninja进行编译安装。最后,完成PyMol的编译安装。
511

被折叠的 条评论
为什么被折叠?



