EPICS Home

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

Subject: Sequencer and Visual Studio 2015 express
From: <[email protected]>
To: <[email protected]>
Date: Sat, 28 Jan 2017 13:23:10 +0000

Hi,

 

Building the EPICS sequencer with Visual Studio 2015 and EPICS base 3.14.12.6 on my Windows 7 desktop worked fine, but with Visual Studio 2015 express on windows server 2012 R2 I got a strange error:

 

preprocessing ../decl.st

cl /nologo /C /E              /favor:blend   -nologo -D__STDC__=0 -D_CRT_SECURE_

NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -I. -I../O.Common -I. -I.. -I../../../i

nclude/os/WIN32 -I../../../include -IC:/projects/epics-seq-build/epics-base/incl

ude/os/WIN32 -IC:/projects/epics-seq-build/epics-base/include        ../decl.st

> decl.i

cl : Command line warning D9024 : unrecognized source file type 'C:/Program File

s/Git/nologo', object file assumed

cl : Command line warning D9024 : unrecognized source file type 'C:/', object fi

le assumed

cl : Command line warning D9024 : unrecognized source file type 'E:/', object fi

le assumed

cl : Command line warning D9024 : unrecognized source file type '../decl.st', ob

ject file assumed

../../../configure/RULES_BUILD:74: recipe for target 'decl.i' failed

make[3]: *** [decl.i] Error 2

make[3]: Leaving directory 'C:/projects/epics-seq-build/seq/test/validate/O.windows-x64-debug'

 

It looks like the Microsoft compiler is trying to compile its own compiler flags! If I edit the EPICS base    CONFIG.win32-x86.win32-x86    and change

 

    CPP = cl /nologo /C /E

 

to

 

    CPP = cl -nologo -C -E

 

Then everything works OK. I see this change already exists on the 3.15 branch and everything builds fine with 3.15.5    

 

Regards,

 

Freddie

 


Replies:
Re: Sequencer and Visual Studio 2015 express Andrew Johnson

Navigate by Date:
Prev: S7plc driver - PV block receiving problems Gianluca Borgese
Next: epics 3.12.4 rebuild D Peter Siddons
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: S7plc driver - PV block receiving problems Dirk Zimoch
Next: Re: Sequencer and Visual Studio 2015 express Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024