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  <20132014  2015  2016  2017  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: LIB_INSTALLS, static builds and .so files.
From: "Shankar, Murali" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 13 Nov 2013 15:17:14 -0800

I have a noobie EPICS build system question. I am trying to build an IOC using various modules statically (SHARED_LIBRARIES=NO & STATIC_BUILD=YES) for linux. Some external code is available only as .so’s; so I am adding these to my install package using

 

LIB_INSTALLS  += $(PACKAGE_SITE_TOP)/ffmpeg/$(FFMPEG_MODULE_VERSION)/lib/libavcodec.so and so on. The .so’s get correctly copied to the lib/linux-x86 folder as expected.

 

My question is about how to add avcodec to the product (executable) correctly? Should I use USR_LIBS or PROD_LIBS or something else? All of these seem to give me various make/linker errors. I’d like to stay within the EPICS build system to solve the problem of

 

1)      Include an external library in your install package using LIB_INSTALLS

2)      Include it in your product using xyz…

 

 

Any help is appreciated.

 

Regards,

Murali

 


Replies:
Re: LIB_INSTALLS, static builds and .so files. Andrew Johnson

Navigate by Date:
Prev: RE: areaDetector for a Basler GigE camera Mark Rivers
Next: Re: LIB_INSTALLS, static builds and .so files. Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: areaDetector for a Basler GigE camera tom.cobb
Next: Re: LIB_INSTALLS, static builds and .so files. Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·