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  <20182019  2020  2021  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: mca compilation fails on windows 7, keyword re-definition
From: Mark Rivers <[email protected]>
To: "'Gofron, Kazimierz'" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 8 Feb 2018 12:53:31 +0000

Hi Kaz,

 

I believe that is fixed in R7-7 which was released last September.

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Gofron, Kazimierz
Sent: Wednesday, February 07, 2018 11:46 PM
To: [email protected]
Subject: mca compilation fails on windows 7, keyword re-definition

 

Hi,

 

The compilation of mca-r7-6  fails on Windows 7 with VS Community Edition 2017.

Several places suggest defining _ALLOW_KEYWORD_MACROS, or preprocessor definition _XKEYCHECK_H;. Where should this be defined in the EPICS environment on Windows.

 

Visual Studio Community Edition 2017

Strawberry perl

Windows 7 professional, 64 bit

make 4.1

base-3.15.5

 

===

c:\epics\synApps\support\mca-R7-6>make -sj

DSA2000.cpp

c:\epics\synapps\support\mca-r7-6\mcaapp\canberrasrc\nmc_sys_defs.h(89): warning C4005: 'ERROR': macro redefinition

C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um\wingdi.h(118): note: see previous definition of 'ERROR'

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.1

2.25827\include\xkeycheck.h(207): warning C4005: 'inline': macro redefinition ../../../include/os/WIN32\pcap-stdinc.h(69): note: see previous definition of 'inline'

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xkeycheck.h(260): fatal error C1189: #error:  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.

C:/epics/base-3.15.5/configure/RULES_BUILD:237: recipe for target 'DSA2000.obj' failed make[3]: *** [DSA2000.obj] Error 2

C:/epics/base-3.15.5/configure/RULES_ARCHS:58: recipe for target 'install.windows-x64' failed make[2]: *** [install.windows-x64] Error 2

C:/epics/base-3.15.5/configure/RULES_DIRS:84: recipe for target 'CanberraSrc.install' failed make[1]: *** [CanberraSrc.install] Error 2

C:/epics/base-3.15.5/configure/RULES_DIRS:84: recipe for target 'mcaApp.install' failed

make: *** [mcaApp.install] Error 2

 

 

Kazimierz Gofron

NSLS-II Controls Group

Brookhaven National Laboratory

(p) +1 (631) 344 5283

(f) +1 (631) 344 8085

(e) [email protected]

(w) www.bnl.gov/nsls2

 


Replies:
RE: mca compilation fails on windows 7, keyword re-definition Mark Rivers
References:
mca compilation fails on windows 7, keyword re-definition Gofron, Kazimierz

Navigate by Date:
Prev: Re: Data format using NDFileHDF5 Mark Rivers
Next: RE: mca compilation fails on windows 7, keyword re-definition Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: mca compilation fails on windows 7, keyword re-definition Gofron, Kazimierz
Next: RE: mca compilation fails on windows 7, keyword re-definition Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 08 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·