HI Heinrich,
Here is what I do to add cmlog to a 3.14 soft IOC:
(1) Update CONFIG_SITE.Common.linux-x86 (or whatever OS you use) to add these lines:
CMLOG = <location of cmlog, ie /afs/slac/g/lcls/cmlog for LCLS>
CMLOG_ARCH = <architecture, ie Linux-i386>
(2) In your app's src/Makefile, add these lines:
USR_INCLUDES += -I$(CMLOG)/include
cmlog_DIR += $(CMLOG)/lib/$(CMLOG_ARCH)
<app>_LIBS += cmlog
(3) You may want to keep your cmlogrc and cmlogTagTable files in your src directory and install them via Makefile:
SCRIPTS_IOC += cmlogTagTable
SCRIPTS_HOST += cmlogrc
(4) Add these env vars to whatever setup file you use:
CMLOG_HOST
CMLOG_PORT
CMLOG_CONFIG location of cmlogrc
CDEVTAGTABLE location of cmlogTagTable
Stephanie Allison
________________________________
From: [email protected] on behalf of Heinrich du Toit
Sent: Tue 10/23/2007 7:05 AM
To: TechTalk EPICS
Subject: cmlog ?
Hi
What do I need to add to my IOC Makefile to link with cmlog?
Maybe somebody have this already? Then I don't have to dig through docs
to convert the std Makefile stuff in cmlog docs to EPICS build system
stuff.
Would appreciate it thanks :)
-Heinrich
- Replies:
- RE: cmlog ? (still not working) Heinrich du Toit
- References:
- cmlog ? Heinrich du Toit
- Navigate by Date:
- Prev:
Re: Automated logbook Claude Saunders
- Next:
What is epicstcl Emmanuel Mayssat
- 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:
cmlog ? Heinrich du Toit
- Next:
RE: cmlog ? (still not working) Heinrich du Toit
- 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
|