0

我正在尝试在 CentOS 7 系统中安装 pymol。我通过 yum 安装了依赖 glm-devel-0.9.6.3-1.el7.noarch:

sudo yum install glm-devel.

在编译期间,我收到与 glm 相关的错误,如下所示:

layer1/SceneView.cpp:34:61: error: no matching function for call to ‘equal(const vec3&, const vec3&, float)’

谁能告诉为什么会出现这个错误?我将不胜感激任何帮助!

此致。

4

1 回答 1

0

在 CentOS 7 中安装 pymol

使用更新的 glm-devel 构建示例

# yum install mmtf-cpp-devel.x86_64 glew-devel.x86_64 libpng-devel freetype-devel msgpack-devel libxml2-devel python36-qt5-devel.x86_64  freeglut-devel mesa-libGL-devel.x86_64 python3-devel

# yum install ./glm-devel-0.9.9.6-6.el7.noarch.rpm
     ## works with the default python3 (3.6.8) and g++ -4.8.5

链接,glm-devel-0.9.9.6-6.el7 https://drive.google.com/file/d/1BXygEWqpvlbZg867dsXuW47T67Z0V0Q8/view?usp=sharing

https://github.com/schrodinger/pymol-open-sourcehttps://github.com/schrodinger/pymol-open-source/blob/master/INSTALL

git clone https://github.com/schrodinger/pymol-open-source.git
cd pymol-open-source/
python3 setup.py build

# python3 setup.py install

pymol       ## the pymol GUI opens OK

还有一个可用的二进制版本,包括 python 3.7:https://pymol.org/2/https://pymol.org/installers/PyMOL-2.5.2_293-Linux-x86_64-py37.tar.bz2tar xvf PyMOL-2.5.2_293-Linux-x86_64-py37.tar.bz2

cd pymol/ && ./pymol

于 2021-09-12T15:08:34.690 回答