‘mmtf.hpp 文件缺失‘問題解決方法

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

參見:

https://pymolwiki.org/index.php/Linux_Install

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章