1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: S7nodave for EPICS Manual |
From: | Simon Rose via Tech-talk <tech-talk at aps.anl.gov> |
To: | White <18019393607 at 163.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 22 Feb 2023 15:39:12 +0000 |
(Sorry, forgot to CC tech-talk) Hi White –
Regarding the first question, I’m pretty sure you’re out of luck if your compiler doesn’t support c++11 as it is an explicit requirement.
For the second: if you create a file named CONFIG_SITE.local in the configure directory with the following contents:
USR_CXXFLAGS += -std=c++11
Then when you run “make” in the module directory it will pick up this definition and modify the c++ flags accordingly. Note that the documentation does say that there is an example file as well.
In general the configuration should have a line much like the following in it: https://github.com/epics-modules/asyn/blob/master/configure/CONFIG_SITE#L67 this
is what will load your CONFIG_SITE.local when you build the modul.e
Cheers,
Simon From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of White via Tech-talk <tech-talk at aps.anl.gov> Hi, Recently, I was going to use the S7nodave to connect the PLC device, There was a sentence in the manual that make me confused . The manual said :S7nodave must be compiled with a C++ compiler that supports C++ 11. For some compilers, C++ 11 support is not enabled by default. In this case,
you have to add the file I have two questions about this sentence: 1. My computer's compiler does not support C++11, can I install boost insteal of c++ 11. Do I have to install C++ compiler that supports C++ 11? 2. How to add the file Thanks White |