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