opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: 18001331171 <18001331171 AT 189.cn>
- To: "CalvoPortela,Pedro" <Pedro.Calvo AT ciemat.es>
- Cc: opal <opal AT lists.psi.ch>
- Subject: Re:[Opal] Compile error when compiling OPAL
- Date: Mon, 22 May 2023 19:53:51 +0800 (CST)
- Hmm_attache_num: 0000
- Hmm_source_ip: wmail.10.64.8.41.584417295
- Hmm_source_type: WEBMAIL
- Hmm_webcln_ip: 36.142.179.253
HiWeizhuang
This bug has been solved in the master branch, so it will be fixed in the next OPAL release. I suggest to two options to compile OPAL2022.1.0
- Use a previous version of boost. The minimum version to compile OPAL is boost1.66.0
- Try to compile OPAL master branch, but this a not stable branch with some bugs to be fixed, so I don't really recommend this solution
Best regards
Pedro
De:18001331171 AT 189.cn <18001331171 AT 189.cn>
Enviado:lunes, 22 de mayo de 2023 12:02
Para:Calvo Portela, Pedro
Asunto:Re: Re: [Opal] Compile error when compiling OPAL
Hi Pedro,
I am compiling OPAL on ubuntu 22.04 on Windows.
The boost version is 1.81.0. The OPAL version is 2022.1.0.
Best Regards,
Weizhuang
------------------ 原始邮件 ------------------
发件人:Calvo Portela, Pedro "Pedro.Calvo AT ciemat.es"
时 间:2023/05/22 17:54:10 周一
收件人:"18001331171 AT 189.cn" "18001331171 AT 189.cn"
抄送人:
主 题:Re: [Opal] Compile error when compiling OPALHi Weizhuang
I've never got this error. Please, we need some info about your system to approach the issue
What version of Boost do you have installed on your system? What OPAL release are you trying to compile?
Cheers
Pedro
------------------------------------------------
Dr. Pedro Calvo Portela
Unidad de Aceleradores - CIEMAT
Avenida Complutense 40, Edificio 7
28040 Madrid
Tel: 34 – 91 496 2554 / ext. 362542
De:opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> en nombre de 18001331171 AT 189.cn <18001331171 AT 189.cn>
Enviado:lunes, 22 de mayo de 2023 11:05
Para:opal
Asunto:[Opal] Compile error when compiling OPALHello,
I tried to compile the OPAL from source following the build-recipes in the website. When compiling OPAL, the following error message occured:
"/OPAL/src/Optimize/OpalSimulation.cpp:659:59: error: ‘std::string boost::filesystem::extension(const boost::filesystem::path&)’ is deprecated: Use path::extension() instead [-Werror=deprecated-declarations]
659 | std::string extension = Util::toUpper(fs::extension(it->path().filename())); "Does anyone knows how to do with this error?
Best Regards,
Weizhuang Peng
-
[Opal] Compile error when compiling OPAL,
18001331171, 05/22/2023
- Re: [Opal] Compile error when compiling OPAL, Adelmann Andreas, 05/22/2023
- <Possible follow-up(s)>
-
Re: [Opal] Compile error when compiling OPAL,
Calvo Portela, Pedro, 05/22/2023
- AW: [Opal] Compile error when compiling OPAL, Snuverink Jochem, 05/30/2023
- Re:[Opal] Compile error when compiling OPAL, 18001331171, 05/22/2023
-
Re: [Opal] Compile error when compiling OPAL,
18001331171, 05/30/2023
- Re: [Opal] Compile error when compiling OPAL, Calvo Portela, Pedro, 05/31/2023
Archive powered by MHonArc 2.6.24.