Skip to content

install 0

Andrew Johnson edited this page Aug 19, 2016 · 1 revision

IPAC Installation

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).

  1. Edit the <ioctop> application's config/RELEASE file and add the line

    IPAC=/path/to/ipac/version
  2. Edit the config/CONFIG_APP file and add the following lines.

    ifdef IPAC
      USR_INCLUDES += -I$(IPAC)/include
      IPAC_BIN = $(IPAC)/bin/$(T_A)
      USER_DBDFLAGS += -I $(IPAC)/dbd
    endif
  3. In the application source directory where the base object files are linked together, edit Makefile.Vx and add

    LIBOBJS += $(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
  4. 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
  5. Rebuild the application and use the newly installed support as desired.

Clone this wiki locally