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: EPICS How-To , Installation on Windows
From: John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 2 Nov 2020 17:01:46 +0000
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





Replies:
RE: EPICS How-To , Installation on Windows Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: LabView-EPICS Integration using SoftIoc Mostafa, Jalal (IPE) via Tech-talk
Next: Re: Accessing info fields via CA/PVA Johnson, Andrew N. 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: LabView-EPICS Integration using SoftIoc Baily, Scott A via Tech-talk
Next: RE: EPICS How-To , Installation on Windows Mark Rivers 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, 11 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·