Hi,

Your version of glm (default with Centos7 with yum) should now work. I
committed a change to fix this compiler error about twelve hours ago. You
just need to pull the latest changes.

Best,

Jarrett J.

On Tue, Jul 12, 2022 at 10:24 PM 张敏华 <mhzhan...@sibs.ac.cn> wrote:

> Dear Jarrett Johnson:
>         In fact I encountered an error message when I am installing the
> latest version of pymol.  First I installed all the library that needed
> according the pymolwiki by yum.  Then during the installation process, an
> error message appeared:
>
>        “ layer0/TTT.cpp:87:27: error: no match for ‘operator=’ (operand
> types are ‘glm::vec3 {aka glm::tvec3<float, (glm::precision)0u>}’ and
> ‘glm::tmat4x4<float, (glm::precision)0u>::col_type {aka glm::tvec4<float,
> (glm::precision)0u>}’)
>
>    result.m_pretranslation = mult[3];
>
>          <other  outputs>
>
>         error:  command 'g++’failed with exit status 1”
>
>        So I guess there might be something wrong with glm, but I don't
> know how to solve it. Maybe the glm version installed by yum in CentOS7 is
> not the latest version? I searched the google and some threads suggests
> that should use the glm-0.9.9 instead yum installed glm-0.9.6. Then how to
> use the glm-0.9.9?
>
>
>
> ------------------------------
> Minhua Zhang, Ph.D., Assistant Professor
> Structural Biology Lab
> Institute of Plant Physiology and Ecology, Shanghai Institute of
> Biological Sciences
> Chinese Academy of Sciences
> 300 Fenglin Road, Shanghai, 20032, P.R.China
> Tel:  86 21 5492 4218
> Fax:  86 21 5492 4015
> Email: mhzh...@sippe.ac.cn
>
>
> *From:* Jarrett Johnson <jarrett.john...@schrodinger.com>
> *Date:* 2022-07-13 00:33
> *To:* 张敏华 <mhzhan...@sibs.ac.cn>
> *CC:* pymol-users <pymol-users@lists.sourceforge.net>
> *Subject:* Re: [PyMOL] Question about glm in pymol
> Hello,
>
> Through CentOS, you should be able to install glm with yum package manager.
>
> yum install glm-devel
>
> More info can be found here: https://pymolwiki.org/index.php/Linux_Install
> .
>
> Also take note that if you're using Centos 7, the default glm may not have
> a modern enough API for PyMOL code. I updated the codebase today which
> should make it compatible with this version of glm. Make sure to pull again
> if that's the case for you.
>
> Best,
> Jarrett J
>
> On Tue, Jul 12, 2022 at 12:26 PM 张敏华 <mhzhan...@sibs.ac.cn> wrote:
>
>> Dear all:
>>         I want to comple open-source-pymol in CentOS. So I want to using
>> the latest glm. So how to install glm? or  I just put the glm folder into
>> the include folder in the open-sourde-pymol folder?
>>
>> ------------------------------
>> Minhua Zhang, Ph.D., Assistant Professor
>> Structural Biology Lab
>> Institute of Plant Physiology and Ecology, Shanghai Institute of
>> Biological Sciences
>> Chinese Academy of Sciences
>> 300 Fenglin Road, Shanghai, 20032, P.R.China
>> Tel:  86 21 5492 4218
>> Fax:  86 21 5492 4015
>> Email: mhzh...@sippe.ac.cn
>> _______________________________________________
>> PyMOL-users mailing list
>> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>> Unsubscribe:
>> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
>
>
>
> --
>
> *Jarrett Johnson* | Senior Developer, PyMOL
>
>

-- 

*Jarrett Johnson* | Senior Developer, PyMOL
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to