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: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, White <18019393607 at 163.com> |
Date: | Wed, 22 Feb 2023 19:12:47 +0000 |
Hi White,
What compiler are you using? If it is gcc, what does "gcc --version" show?
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of White via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, February 22, 2023 2:22 AM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: S7nodave for EPICS Manual 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
configure/CONFIG_SITE.local and append the appropriate compiler options to the USR_CXXFLAGS variable.
An example for such a configuration file can be found in configure/EXAMPLE_CONFIG_SITE.local .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
configure/CONFIG_SITE.local and
append the appropriate compiler options to the USR_CXXFLAGS variable, I haven't see any example.Thanks
White
|