Skip to Content.
Sympa Menu

opal - Re:[Opal] Compile error when compiling OPAL

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re:[Opal] Compile error when compiling OPAL


Chronological Thread  
  • 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

Okay, got it. Thanks, I will try your method.

Best regards,
Weizhuang 

Pedro.Calvo <Pedro.Calvo AT ciemat.es>写到:

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 OPAL

Hi 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 OPAL

Hello,


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












Archive powered by MHonArc 2.6.24.

Top of Page