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: Adelmann Andreas <andreas.adelmann AT psi.ch>
  • To: "18001331171 AT 189.cn" <18001331171 AT 189.cn>
  • Cc: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: Re: [Opal] Compile error when compiling OPAL
  • Date: Mon, 22 May 2023 10:08:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 104.47.22.44) smtp.rcpttodomain=189.cn smtp.mailfrom=psi.ch; dmarc=pass (p=none sp=none pct=100) action=none header.from=psi.ch; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5uSaa5B+BfNp7kaKV8Vx2b10NsEZx1Pz8QfS0g9Wk8U=; b=RgcdFlFwGVtzS3auZCV7UNL7SebP5LtAlzSJy17dABScf8gHV+ng9jGijUd+yJ5CLnFh2772Xzzm2QkZgFKtFRGWLgSMbeKRlis3T6iq0wzAxPmQH4sa1tklSu+sFo/XXjKQZaHfC11ZqcCffCpHNy/CaFFhcLJcUurbgzul6IxUOORQZa5plRJsszJ+jQ0g+S3Y56yJiAy/7nOn2xI67rdTVtHdtR7WSsgGvy/jAXw80aFCrYDgq7r/eHDVxGoso5VKmk+8IMvxkHl9Zw+xNkO3dPJePdSE9fKCDkpzerUZBCYyBf5niZDir3VYBGiAowduxmEa1sASHfd2CLdxSA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iK9KQz61J3AacIib4YTIKTG1oagYrRRxBz3k0vsZ6UtxVWckvgahAUIo+v5hj+gCBpAtfMFgTY2M5/lMbWnhbQs94h5epB4Kwxaw6tnOFz6+/5aELn/ewJFryiA+XpKRDKu1Zb+RPqC2nfXkguA8N+zI+0RnL6JPyeb+IDWRUqhD+ARuTve8OTnied8I33rqJLI4Wp5YCnJpVZospXYvJBcPIewx+7QJIc3gfTA3E7V64OnRoHa/rLv4L0Yepsz99iHYA+sa8knaUue5Yb9CRzns1S2YxecibNtJ8KYPgIiI8uaUhWEAlNTwItS79ETRd8qF9oaHpCUh3F5H2h2NdA==
  • Authentication-results: mc1; iprev=pass (mail-zr0che01on2058.outbound.protection.outlook.com) smtp.remote-ip=40.107.24.58; spf=pass smtp.mailfrom=psi.ch; dkim=pass header.d=psi.ch header.s=selector2 header.a=rsa-sha256; dmarc=pass header.from=psi.ch
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=psi.ch;

What version of the compiler and boost do you use? 



Cheers A
------
Dr. sc. math. Andreas (Andy) Adelmann
Paul Scherrer Institut OHSA/D17 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link: https://ethz.zoom.us/j/4705824086?pwd=dFcvT1pMMGY0bHg0dTNncUNZZTJkZz09

-------------------------------------------------------
Friday: ETH HPK G 28   +41 44 633 3076
============================================
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 
============================================

On 22 May 2023, at 11:05, 18001331171 AT 189.cn wrote:

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