Skip to Content.
Sympa Menu

opal - [Opal] Compile error when compiling OPAL

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Compile error when compiling OPAL


Chronological Thread  
  • From: 18001331171 AT 189.cn
  • To: opal <opal AT lists.psi.ch>
  • Subject: [Opal] Compile error when compiling OPAL
  • Date: Mon, 22 May 2023 17:05:33 +0800 (CST)
  • Hmm_attache_num: 0000
  • Hmm_source_ip: wmail.10.64.8.31.954196314
  • Hmm_source_type: WEBMAIL
  • Hmm_webcln_ip: 124.152.207.217

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