-
Notifications
You must be signed in to change notification settings - Fork 5
install 0
Andrew Johnson edited this page Aug 19, 2016
·
1 revision
These instructions apply when building IOC applications against EPICS Base version 3.13.0 through 3.13.1, with IPAC versions 2.0 through 2.3. For use with later versions of Base, see here (3.13.2 - 3.13.10), here (3.14.1 - 3.14.5) or here (3.14.6 onward).
-
Edit the <ioctop> application's
config/RELEASEfile and add the lineIPAC=/path/to/ipac/version -
Edit the
config/CONFIG_APPfile and add the following lines.ifdef IPAC USR_INCLUDES += -I$(IPAC)/include IPAC_BIN = $(IPAC)/bin/$(T_A) USER_DBDFLAGS += -I $(IPAC)/dbd endif
-
In the application source directory where the base object files are linked together, edit
Makefile.Vxand addLIBOBJS += $(IPAC_BIN)/ipacLib # for drvIpac, and LIBOBJS += $(IPAC_BIN)/tip810Lib # if you want CANbus support LIBOBJS += $(IPAC_BIN)/tyGSOctal.o # for the Octal Serial driver
-
Ensure one of the following lines is included in the construction of the application's database definition file:
include "drvIpac.dbd" # if you only want drvIpac, or include "devTip810.dbd" # if you want CANbus support too
-
Rebuild the application and use the newly installed support as desired.