Argonne National Laboratory

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  <2017 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
<== Date ==> <== Thread ==>

Subject: RE: EPICS areadetecto and EPICSV4
From: Mark Rivers <rivers@cars.uchicago.edu>
To: 'Jörn Dreyer' <j.dreyer@hzdr.de>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 11 Oct 2017 09:17:47 +0000
I think those definitions need to be in a RELEASE file for the build system to add them to the directories to be searched.  My understanding is that RELEASE files are read both by make and by perl, while CONFIG files are read only by make.

Mark


-----Original Message-----
From: Jörn Dreyer [mailto:j.dreyer@hzdr.de] 
Sent: Wednesday, October 11, 2017 4:12 AM
To: tech-talk@aps.anl.gov
Cc: Mark Rivers
Subject: Re: EPICS areadetecto and EPICSV4

Thanks Mark,

that solved the problem. I'm only puzzled why I can not define those variables 
in CONFIG_SITE.local. Doing so results in the exact same problem.

Regards,

Jörn

Am Mittwoch, 11. Oktober 2017, 11:02:54 CEST schrieb Mark Rivers:
> Hi Jörn,
> 
> Does your IOC configure/RELEASE file define the individual V4 modules?  It
> needs to do this:
> 
> PVCOMMON=$(EV4_BASE)/pvCommonCPP
> PVACCESS=$(EV4_BASE)/pvAccessCPP
> PVDATA=$(EV4_BASE)/pvDataCPP
> PVDATABASE=$(EV4_BASE)/pvDatabaseCPP
> NORMATIVETYPES=$(EV4_BASE)/normativeTypesCPP
> 
> If you still have problems please send the complete make output when you
> rebuild your IOC application.
> 
> Mark
> 
> 
> ________________________________________
> From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on
> behalf of Jörn Dreyer [j.dreyer@hzdr.de] Sent: Wednesday, October 11, 2017
> 3:40 AM
> To: tech-talk@aps.anl.gov
> Subject: Re: EPICS areadetecto and EPICSV4
> 
> Hi Mark,
> 
> in the areadetektor I have set up EV4_BASE correctly. Maybe I was not clear
> in my firs mail. I'm developing the IOC outside of the areadetector
> directory structure and thus not using its internal config files. But my
> environment defines EV4_BASE.
> 
> Regards,
> 
> Jörn
> 
> Am Dienstag, 10. Oktober 2017, 14:28:14 CEST schrieb Mark Rivers:
> > HI Jörn,
> > 
> > I am successfully doing what you are trying to do using RELEASE*.local
> > files that are identical to the EXAMPLE_RELEASE*.local files in the
> > master branch of  areaDetector/configure.
> > 
> > I suspect you did not define the path to the V4 libraries in
> > RELEASE_PATHS.local.  This is the symbol EV4_BASE. My version of that file
> > contains these lines:
> > 
> > # If CONFIG_SITE.local defines WITH_EPICS_V4=YES then define the path here
> > EV4_BASE     = /corvette/usr/local/epics-devel/epicsV4/EPICS-CPP-4.6.0
> > 
> > 
> > RELEASE_LIBS.local contains these lines:
> > 
> > # V4 modules.
> > PVCOMMON=$(EV4_BASE)/pvCommonCPP
> > PVACCESS=$(EV4_BASE)/pvAccessCPP
> > PVDATA=$(EV4_BASE)/pvDataCPP
> > PVDATABASE=$(EV4_BASE)/pvDatabaseCPP
> > NORMATIVETYPES=$(EV4_BASE)/normativeTypesCPP
> > 
> > Let me know if you still have problems.
> > 
> > Mark
> > 
> > 
> > 
> > ________________________________________
> > From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on
> > behalf of Jörn Dreyer [j.dreyer@hzdr.de] Sent: Tuesday, October 10, 2017
> > 7:14 AM
> > To: tech-talk@aps.anl.gov
> > Subject: EPICS areadetecto and EPICSV4
> > 
> > Hi all,
> > 
> > I have a probably stupid question concerning the use of EPICS V4 and the
> > areadetector code in an IOC.
> > 
> > I'm trying to build an IOC with which I want to readout a GiGE based
> > camera. To do performance comparisons I also want to include the EPICS V4
> > code. But If I enable WITH_EPICS_V4 in the Makefile, I fail to find the
> > „../../../lib/linux- x86_64/libpvDatabase.a“ The makefile is searching in
> > the wrong directories. I included
> > 
> > include $(AREADETECTOR)/ADCore/ADApp/commonDriverMakefile
> > 
> > in my IOC makefile. And therein the EPICS V4 libraries are added to
> > PROD_LIBS. What variable do I need to set so that make will find those
> > libraries? If I change PROD_LIBS to PROD_SYS_LIBS, everything compiles
> > fine.
> > 
> > With kind regards,
> > 
> > Jörn Dreyer


References:
EPICS areadetecto and EPICSV4 Jörn Dreyer
Re: EPICS areadetecto and EPICSV4 Jörn Dreyer
RE: EPICS areadetecto and EPICSV4 Mark Rivers
Re: EPICS areadetecto and EPICSV4 Jörn Dreyer

Navigate by Date:
Prev: Re: EPICS areadetecto and EPICSV4 Jörn Dreyer
Next: RE: EPICS IOC Redundancy Configuration Baily, Scott A
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
Navigate by Thread:
Prev: Re: EPICS areadetecto and EPICSV4 Jörn Dreyer
Next: RE: EPICS areadetecto and EPICSV4 Gofron, Kazimierz
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
ANJ, 11 Oct 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·