EPICS Controls 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  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Including libraries in subroutines
From: Stephen Molloy <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 27 Jun 2016 22:27:08 +0000
Thanks Andrew.
libwiringPi.so can be found in /usr/lib on my system, so I will try your suggested PROD_SYS_LIBS solution.
(But tomorrow — it’s late in Sweden now…)
Steve

From: Stephen Molloy <[email protected]>
Date: Monday 27 June 2016 at 23:53
To: "[email protected]" <[email protected]>
Subject: Including libraries in subroutines

Hi,
Let me apologise in advance for a very basic question.

I have some C code that I would like to convert to a subroutine record.  I normally build the executable with g++ using a  -lwiringPi flag, but I don’t know the correct way to do this in order to compile the EPICS subroutine.  Is there a standard place I should put the library, or is there some change I need to make to the Makefile (and, if so, which Makefile?) to get this to work?

Steve


Replies:
Re: Including libraries in subroutines Stephen Molloy
References:
Including libraries in subroutines Stephen Molloy

Navigate by Date:
Prev: Re: Including libraries in subroutines Andrew Johnson
Next: RE: EPICS connect to siemens PLC317-2PN/DP: connetction problem Esmaeil Tabar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Including libraries in subroutines Andrew Johnson
Next: Re: Including libraries in subroutines Stephen Molloy
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·