I just tried with seq-2-2-5 and it worked for me.
My configuration:
- Base 7.0.3.1
- Seq 2.2.5
- Windows Visual Studio 2015
makeBaseApp.pl -t example interlocks
J:\epics\devel\example2>make
make -C ./configure install
make[1]: Entering directory 'J:/epics/devel/example2/configure'
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/makeMakefile.pl O.windows-x64-static ../..
perl -CSD -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64-static -f ../Makefile TOP=../.. \
T_A=windows-x64-static install
make[2]: Entering directory 'J:/epics/devel/example2/configure/O.windows-x64-static'
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/convertRelease.pl checkRelease
make[2]: Leaving directory 'J:/epics/devel/example2/configure/O.windows-x64-static'
make[1]: Leaving directory 'J:/epics/devel/example2/configure'
make -C ./interlocksApp install
make[1]: Entering directory 'J:/epics/devel/example2/interlocksApp'
make -C ./src install
make[2]: Entering directory 'J:/epics/devel/example2/interlocksApp/src'
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/makeMakefile.pl O.windows-x64-static ../../..
perl -CSD -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64-static -f ../Makefile TOP=../../.. \
T_A=windows-x64-static install
make[3]: Entering directory 'J:/epics/devel/example2/interlocksApp/src/O.windows-x64-static'
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/dbdToRecordtypeH.pl -I. -I.. -I../O.Common -I../../../dbd -IJ:/epics/devel/seq-2-2-5/dbd -IH:/epics-devel/base-7.0.3.1/dbd -IJ:/epics/devel/dbd -o xxxRecord.h ../xxxRecord.dbd
"compiling ../sncExample.stt to C"
J:/epics/devel/seq-2-2-5/bin/windows-x64-static/snc.exe +r ../sncExample.stt -o sncExample.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m sncExample.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include sncExample.obj sncExample.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m initTrace.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include initTrace.obj ../initTrace.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m interlocksHello.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include interlocksHello.obj ../interlocksHello.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/genVersionHeader.pl -t ../../.. -N interlocksVERSION -V "" ../O.Common/interlocksVersion.h
Creating VCS header ../O.Common/interlocksVersion.h
interlocksVERSION = "2020-02-11T07:54"
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m devinterlocksVersion.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include devinterlocksVersion.obj ../devinterlocksVersion.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m dbSubExample.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include dbSubExample.obj ../dbSubExample.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m devXxxSoft.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include devXxxSoft.obj ../devXxxSoft.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m xxxRecord.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include xxxRecord.obj ../xxxRecord.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m interlocksMain.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include interlocksMain.obj ../interlocksMain.cpp
"Creating dbd file interlocks.dbd"
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -IJ:/epics/devel/seq-2-2-5/dbd -IH:/epics-devel/base-7.0.3.1/dbd -IJ:/epics/devel/dbd -o interlocks.dbd base.dbd xxxSupport.dbd dbSubExample.dbd devinterlocksVersion.dbd interlocksHello.dbd initTrace.dbd sncExample.dbd PVAServerRegister.dbd qsrv.dbd
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/registerRecordDeviceDriver.pl -I. -I.. -I../O.Common -I../../../dbd -IJ:/epics/devel/seq-2-2-5/dbd -IH:/epics-devel/base-7.0.3.1/dbd -IJ:/epics/devel/dbd -o interlocks_registerRecordDeviceDriver.cpp ../O.Common/interlocks.dbd interlocks_registerRecordDeviceDriver J:/epics/devel/example2
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m interlocks_registerRecordDeviceDriver.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include interlocks_registerRecordDeviceDriver.obj interlocks_registerRecordDeviceDriver.cpp
"preprocessing ../sncProgram.st"
cl -nologo -C -E -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include ../sncProgram.st > sncProgram.i
sncProgram.st
"compiling sncProgram.i to C"
J:/epics/devel/seq-2-2-5/bin/windows-x64-static/snc.exe +m sncProgram.i -o sncProgram.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m sncProgram.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include sncProgram.obj sncProgram.c
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/mkmf.pl -m sncProgram.st.d . ../compiler/msvc ../compiler/default . ../os/WIN32 ../os/default .. sncProgram.i ../sncProgram.st
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/genVersionHeader.pl -t ../../.. -N interlocksVERSION -V "" ../O.Common/interlocksVersion.h
Keeping VCS header ../O.Common/interlocksVersion.h
interlocksVERSION = "2020-02-11T07:54"
"Installing dbd file ../../../dbd/xxxSupport.dbd"
mkdir ../../../dbd
"Installing created dbd file ../../../dbd/interlocks.dbd"
"Installing dbd file ../../../dbd/xxxRecord.dbd"
"Installing generated generic include file ../../../include/xxxRecord.h"
mkdir ../../../include
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c ../xxxRecord.c
xxxRecord.c
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c ../devXxxSoft.c
devXxxSoft.c
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c ../dbSubExample.c
dbSubExample.c
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c ../devinterlocksVersion.c
devinterlocksVersion.c
j:\epics\devel\example2\interlocksapp\src\devinterlocksversion.c(27): warning C4267: '=': conversion from 'size_t' to 'epicsUInt32', possible loss of data
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c ../interlocksHello.c
interlocksHello.c
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c ../initTrace.c
initTrace.c
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c sncExample.c
sncExample.c
lib -nologo -verbose -out:interlocksSupport.lib xxxRecord.obj devXxxSoft.obj dbSubExample.obj devinterlocksVersion.obj interlocksHello.obj initTrace.obj sncExample.obj
Appending sncExample.obj
Appending initTrace.obj
Appending interlocksHello.obj
Appending devinterlocksVersion.obj
Appending dbSubExample.obj
Appending devXxxSoft.obj
Appending xxxRecord.obj
"Installing library ../../../lib/windows-x64-static/interlocksSupport.lib"
cl -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -MT -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c sncProgram.c
sncProgram.c
link -nologo -incremental:no -opt:ref -release -MACHINE:X64 -out:sncProgram.exe sncProgram.obj J:/epics/devel/seq-2-2-5/lib/windows-x64-static/seq.lib J:/epics/devel/seq-2-2-5/lib/windows-x64-static/pv.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/ca.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/Com.lib netapi32.lib ws2_32.lib advapi32.lib user32.lib kernel32.lib winmm.lib dbghelp.lib
cl -EHsc -GR -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -w44355 -w44344 -w44251 -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -MT -TP -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c interlocks_registerRecordDeviceDriver.cpp
interlocks_registerRecordDeviceDriver.cpp
cl -EHsc -GR -DUSE_TYPED_RSET -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -Oy- -W3 -w44355 -w44344 -w44251 -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -MT -TP -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/seq-2-2-5/include -IH:/epics-devel/base-7.0.3.1/include/compiler/msvc -IH:/epics-devel/base-7.0.3.1/include/os/WIN32 -IH:/epics-devel/base-7.0.3.1/include -IJ:/epics/devel/include -c ../interlocksMain.cpp
interlocksMain.cpp
link -nologo -incremental:no -opt:ref -release -MACHINE:X64 -out:interlocks.exe interlocks_registerRecordDeviceDriver.obj interlocksMain.obj ../../../lib/windows-x64-static/interlocksSupport.lib J:/epics/devel/seq-2-2-5/lib/windows-x64-static/seq.lib J:/epics/devel/seq-2-2-5/lib/windows-x64-static/pv.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/qsrv.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/pvAccessIOC.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/pvAccessCA.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/pvAccess.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/pvData.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/dbRecStd.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/dbCore.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/ca.lib H:/epics-devel/base-7.0.3.1/lib/windows-x64-static/Com.lib netapi32.lib ws2_32.lib advapi32.lib user32.lib kernel32.lib winmm.lib dbghelp.lib
"Installing created executable ../../../bin/windows-x64-static/sncProgram.exe"
mkdir ../../../bin
mkdir ../../../bin/windows-x64-static
"Installing created executable ../../../bin/windows-x64-static/interlocks.exe"
make[3]: Leaving directory 'J:/epics/devel/example2/interlocksApp/src/O.windows-x64-static'
make[2]: Leaving directory 'J:/epics/devel/example2/interlocksApp/src'
make -C ./Db install
make[2]: Entering directory 'J:/epics/devel/example2/interlocksApp/Db'
perl -CSD H:/epics-devel/base-7.0.3.1/bin/windows-x64-static/makeMakefile.pl O.windows-x64-static ../../..
perl -CSD -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64-static -f ../Makefile TOP=../../.. \
T_A=windows-x64-static install
make[3]: Entering directory 'J:/epics/devel/example2/interlocksApp/Db/O.windows-x64-static'
"Installing ../../../db/circle.db"
mkdir ../../../db
"Installing ../../../db/dbExample1.db"
"Installing ../../../db/dbExample2.db"
"Installing ../../../db/interlocksVersion.db"
"Installing ../../../db/dbSubExample.db"
"Installing substitution file ../../../db/user.substitutions"
make[3]: Leaving directory 'J:/epics/devel/example2/interlocksApp/Db/O.windows-x64-static'
make[2]: Leaving directory 'J:/epics/devel/example2/interlocksApp/Db'
make[1]: Leaving directory 'J:/epics/devel/example2/interlocksApp'
Mark
________________________________
From: Hetz, Benjamin <b.hetz at uni-muenster.de>
Sent: Tuesday, February 11, 2020 6:09 AM
To: Mark Rivers
Cc: tech-talk
Subject: RE: SNCSEQ Error Windows
Sure, the Files in the Source directory are the one build by makeBaseApp -t example:
dbSubExample.c
dbSubExample.dbd
devinterlocksVersion.c
devinterlocksVersion.dbd
devXxxSoft.c
initTrace.c
initTrace.dbd
interlocksHello.c
interlocksHello.dbd
interlocksMain.cpp
Makefile
O.Common
O.windows-x64-static
sncExample.dbd
sncExample.stt
sncProgram.st
xxxRecord.c
xxxRecord.dbd
xxxSupport.dbd
And the Makefile is:
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS BELOW HERE
# Use typed rset structure (see 3.16.1 release notes)
USR_CPPFLAGS += -DUSE_TYPED_RSET
# xxxRecord.h will be created from xxxRecord.dbd
DBDINC += xxxRecord
# Install xxxSupport.dbd into <top>/dbd
DBD += xxxSupport.dbd
# Build an IOC support library
LIBRARY_IOC += interlocksSupport
# Compile and add code to the support library
interlocksSupport_SRCS += xxxRecord.c
interlocksSupport_SRCS += devXxxSoft.c
# Link locally-provided code into the support library,
# rather than directly into the IOC application, that
# causes problems on Windows DLL builds
interlocksSupport_SRCS += dbSubExample.c
interlocksSupport_SRCS += devinterlocksVersion.c
interlocksSupport_SRCS += interlocksHello.c
interlocksSupport_SRCS += initTrace.c
interlocksSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
# Auto-generate a header file containing a version string.
# Version comes from the VCS if available, else date+time.
GENVERSION = interlocksVersion.h
# Macro name
GENVERSIONMACRO = interlocksVERSION
# Build the IOC application
PROD_IOC = interlocks
# interlocks.dbd will be created and installed
DBD += interlocks.dbd
# interlocks.dbd will include these files:
interlocks_DBD += base.dbd
interlocks_DBD += xxxSupport.dbd
interlocks_DBD += dbSubExample.dbd
interlocks_DBD += devinterlocksVersion.dbd
interlocks_DBD += interlocksHello.dbd
interlocks_DBD += initTrace.dbd
# interlocks_registerRecordDeviceDriver.cpp derives from interlocks.dbd
interlocks_SRCS += interlocks_registerRecordDeviceDriver.cpp
# Build the main IOC entry point where needed
interlocks_SRCS_DEFAULT += interlocksMain.cpp
interlocks_SRCS_vxWorks += -nil-
# Link in the code from our support library
interlocks_LIBS += interlocksSupport
# To build SNL programs, SNCSEQ must be defined
# in the <top>/configure/RELEASE file
ifneq ($(SNCSEQ),)
# Build sncExample into interlocksSupport
sncExample_SNCFLAGS += +r
interlocks_DBD += sncExample.dbd
# A .stt sequence program is *not* pre-processed:
interlocksSupport_SRCS += sncExample.stt
interlocksSupport_LIBS += seq pv
interlocks_LIBS += seq pv
# Build sncProgram as a standalone program
PROD_HOST += sncProgram
sncProgram_SNCFLAGS += +m
# A .st sequence program *is* pre-processed:
sncProgram_SRCS += sncProgram.st
sncProgram_LIBS += seq pv
sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS)
endif
# Link QSRV (pvAccess Server) if available
ifdef EPICS_QSRV_MAJOR_VERSION
interlocks_LIBS += qsrv
interlocks_LIBS += $(EPICS_BASE_PVA_CORE_LIBS)
interlocks_DBD += PVAServerRegister.dbd
interlocks_DBD += qsrv.dbd
endif
# Finally link IOC to the EPICS Base libraries
interlocks_LIBS += $(EPICS_BASE_IOC_LIBS)
include $(TOP)/configure/RULES
#----------------------------------------
# ADD EXTRA GNUMAKE RULES BELOW HERE
# Explicit dependency needed for generated header file
devinterlocksVersion$(DEP): $(COMMON_DIR)/$(GENVERSION)
> -----Original Message-----
> From: Mark Rivers <rivers at cars.uchicago.edu>
> Sent: Tuesday, February 11, 2020 1:00 PM
> To: Hetz, Benjamin <b.hetz at uni-muenster.de>
> Cc: tech-talk <tech-talk at aps.anl.gov>
> Subject: Re: SNCSEQ Error Windows
>
>
> Can you send the Makefile you are using, and a listing of the files in the
> source directory?
>
> ________________________________
> From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Hetz,
> Benjamin via Tech-talk <tech-talk at aps.anl.gov>
> Sent: Tuesday, February 11, 2020 3:06 AM
> To: tech-talk at aps.anl.gov
> Subject: SNCSEQ Error Windows
>
> Hello,
> I am having following problem:
> I am using the Windows build of EPICS with VS compiler and Strawbery Perl.
> Compiling SNCSeq 2.2.8 went fine and also its demo/example files were build
> in seq-2_2_8\examples and running.
> Following the instruction from https://www-
> csr.bessy.de/control/SoftDist/sequencer/Compiling.html I created an
> example IOC and changed SNCSEQ in configure/REALESE to
> "C:/opt/epics/base-7_0_3/modules/seq-2_2_8".
> Running now gmake in the example ioc top dir yields following error:
>
> gmake[3]: *** No rule to make target 'sncExample.obj', needed by
> 'interlocksSupport.lib'. Stop.
> gmake[3]: Leaving directory
> 'C:/opt/epics/interlocks/interlocksApp/src/O.windows-x64-static'
> gmake[2]: *** [C:/opt/epics/base-7_0_3/configure/RULES_ARCHS:58:
> install.windows-x64-static] Error 2
> gmake[2]: Leaving directory 'C:/opt/epics/interlocks/interlocksApp/src'
> gmake[1]: *** [C:/opt/epics/base-7_0_3/configure/RULES_DIRS:84:
> src.install] Error 2
> gmake[1]: Leaving directory 'C:/opt/epics/interlocks/interlocksApp'
> gmake: *** [C:/opt/epics/base-7_0_3/configure/RULES_DIRS:84:
> interlocksApp.install] Error 2
>
> May anyone please help?
>
> Thank you, Ben
>
- Replies:
- RE: SNCSEQ Error Windows Hetz, Benjamin via Tech-talk
- References:
- SNCSEQ Error Windows Hetz, Benjamin via Tech-talk
- Re: SNCSEQ Error Windows Mark Rivers via Tech-talk
- RE: SNCSEQ Error Windows Hetz, Benjamin via Tech-talk
- Navigate by Date:
- Prev:
Building EPICS base/IOC only for cross target Florian Feldbauer via Tech-talk
- Next:
RE: SNCSEQ Error Windows Hetz, Benjamin 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
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: SNCSEQ Error Windows Hetz, Benjamin via Tech-talk
- Next:
RE: SNCSEQ Error Windows Hetz, Benjamin 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
<2020>
2021
2022
2023
2024
|