安装pymol时出现glm问题如何解决?

how to solve the glm problem when installing pymol?

我正在尝试在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)’

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

此致。

install pymol in CentOS 7

使用更新的 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

Link, 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