EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: EPICS How-To , Installation on Windows
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: 'John Dobbins' <john.dobbins at cornell.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 2 Nov 2020 19:05:19 +0000

I believe Community Edition 2019 works fine, though I have only tested up to 2017.  And Strawberry Perl will give you perl and gnumake.

 

Mark

 

 

From: John Dobbins <john.dobbins at cornell.edu>
Sent: Monday, November 2, 2020 12:59 PM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: EPICS How-To , Installation on Windows

 

Mark,

 

"I think most Windows users are using Visual Studio and not mingw."

 

Good to know.  Looking at various pages it wasn't clear what practice is common these days.

 

Is Community Edition 2019 known to work? This plus Strawberry PERL?

 

John

 

 


From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Monday, November 2, 2020 1:48 PM
To: John Dobbins <john.dobbins at cornell.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: RE: EPICS How-To , Installation on Windows

 

Hi John,

 

I think most Windows users are using Visual Studio and not mingw.  I have not tested to see how well mingw works with vendor libraries that are compiled with Visual Studio.  I know for sure that Cygwin stopped working with vendor libraries that were compiled with Visual Studio quite a few years ago.

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of John Dobbins via Tech-talk
Sent: Monday, November 2, 2020 11:02 AM
To: tech-talk at aps.anl.gov
Subject: EPICS How-To , Installation on Windows

 

All,

 

I am attempting to install EPICS on Windows 10 per the EPICS "How-To"

 

 

I encounter the errors shown below. 

 

Note that I am not wedded to this method of installation. (I have installed on Windows before but so infrequently that each time is a new adventure.)

 

Any advice appreciated.

 

Thanks,

 

John Dobbins

 

Research Support Specialist

Cornell High Energy Synchrotron Source

Cornell University

 

 

 

 

 

 

 

 

 

../osi/os/WIN32/epicsTempFile.cpp: In function ‘FILE* epicsTempFile()’:

../osi/os/WIN32/epicsTempFile.cpp:33:20: error: ‘_tempnam’ was not declared in this scope; did you mean ‘tempnam’?

   33 |     char * pName = _tempnam ( "c:\\tmp", "epics" );

      |                    ^~~~~~~~

      |                    tempnam

../osi/os/WIN32/epicsTempFile.cpp:49:26: error: ‘_O_CREAT’ was not declared in this scope; did you mean ‘O_CREAT’?

   49 |     const int openFlag = _O_CREAT | _O_EXCL | _O_RDWR |

      |                          ^~~~~~~~

      |                          O_CREAT

../osi/os/WIN32/epicsTempFile.cpp:49:37: error: ‘_O_EXCL’ was not declared in this scope; did you mean ‘O_EXCL’?

   49 |     const int openFlag = _O_CREAT | _O_EXCL | _O_RDWR |

      |                                     ^~~~~~~

      |                                     O_EXCL

../osi/os/WIN32/epicsTempFile.cpp:49:47: error: ‘_O_RDWR’ was not declared in this scope; did you mean ‘O_RDWR’?

   49 |     const int openFlag = _O_CREAT | _O_EXCL | _O_RDWR |

      |                                               ^~~~~~~

      |                                               O_RDWR

../osi/os/WIN32/epicsTempFile.cpp:50:9: error: ‘_O_SHORT_LIVED’ was not declared in this scope

   50 |         _O_SHORT_LIVED | _O_BINARY | _O_TEMPORARY;

      |         ^~~~~~~~~~~~~~

../osi/os/WIN32/epicsTempFile.cpp:50:26: error: ‘_O_BINARY’ was not declared in this scope; did you mean ‘O_BINARY’?

   50 |         _O_SHORT_LIVED | _O_BINARY | _O_TEMPORARY;

      |                          ^~~~~~~~~

      |                          O_BINARY

../osi/os/WIN32/epicsTempFile.cpp:50:38: error: ‘_O_TEMPORARY’ was not declared in this scope

   50 |         _O_SHORT_LIVED | _O_BINARY | _O_TEMPORARY;

      |                                      ^~~~~~~~~~~~

../osi/os/WIN32/epicsTempFile.cpp:51:38: error: ‘_S_IWRITE’ was not declared in this scope; did you mean ‘S_IWRITE’?

   51 |     int fd = open ( pName, openFlag, _S_IWRITE );

      |                                      ^~~~~~~~~

      |                                      S_IWRITE

../osi/os/WIN32/epicsTempFile.cpp:54:20: error: ‘_fdopen’ was not declared in this scope; did you mean ‘fdopen’?

   54 |         pNewFile = _fdopen ( fd, "w+b" );

      |                    ^~~~~~~

      |                    fdopen

../osi/os/WIN32/epicsTempFile.cpp:59:43: error: ‘errno’ was not declared in this scope

   59 |             "\"%s\"\n", pName, strerror ( errno ) );

      |                                           ^~~~~

../osi/os/WIN32/epicsTempFile.cpp:23:1: note: ‘errno’ is defined in header ‘<cerrno>’; did you forget to ‘#include <cerrno>’?

   22 | #include "epicsTempFile.h"

  +++ |+#include <cerrno>

   23 |

Installing PERL_MODULES file ../../../../lib/perl/EPICS/macLib.pm

make[4]: *** No rule to make target 'epicsTempFile.obj', needed by 'antelope.exe'.  Stop.

make[4]: Leaving directory '/home/admin-jad22/base-7.0.3.1/modules/libcom/src/O.windows-x64-mingw'

make[3]: *** [../../../configure/RULES_ARCHS:58: install.windows-x64-mingw] Error 2

make[3]: Leaving directory '/home/admin-jad22/base-7.0.3.1/modules/libcom/src'

make[2]: *** [../../configure/RULES_DIRS:84: src.install] Error 2

make[2]: Leaving directory '/home/admin-jad22/base-7.0.3.1/modules/libcom'

make[1]: *** [../configure/RULES_DIRS:84: libcom.install] Error 2

make[1]: Leaving directory '/home/admin-jad22/base-7.0.3.1/modules'

make: *** [configure/RULES_DIRS:84: modules.install] Error 2

 

 

 


References:
EPICS How-To , Installation on Windows John Dobbins via Tech-talk
RE: EPICS How-To , Installation on Windows Mark Rivers via Tech-talk
Re: EPICS How-To , Installation on Windows John Dobbins via Tech-talk

Navigate by Date:
Prev: Re: EPICS How-To , Installation on Windows John Dobbins via Tech-talk
Next: Re: EPICS How-To , Installation on Windows Ralph Lange via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS How-To , Installation on Windows John Dobbins via Tech-talk
Next: Re: EPICS How-To , Installation on Windows John Dobbins via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 02 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·