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

Subject: Re: Build an external library from source and statically link it into a support module
From: Han Lee via Tech-talk <tech-talk at aps.anl.gov>
To: David Bracey <dbracey at fnal.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 23 Feb 2026 11:08:28 -0800
Hi David,

The EPICS community has several examples of how to incorporate 3rd-party libraries into support modules. Two particularly good examples to reference for this implementation are:

- opcua
- measComp

While there is usually a way to achieve this, the specific implementation can vary. I hope these examples provide a helpful starting point for your project.

Best,
Han

On Mon, Feb 23, 2026 at 10:58 AM David Bracey via Tech-talk <tech-talk at aps.anl.gov> wrote:
This is mostly to get the cross-arch compilation and have the right binaries end up in the right build subdirs.

I could construct an EPICS build system Makefile for the project (it's not complex) but I'd prefer not to.

From: David Bracey
Sent: Monday, February 23, 2026 12:48 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Build an external library from source and statically link it into a support module
 
I'm creating a support module, and I would like to incorporate a 3rd-party library, which would be built from source (a github project) and linked into the support module.

Is there support in the build system for this?  

I want the EPICS build system to call the external project's Makefile, and then consume the library that was produced.

Dave Bracey - Fermilab



--
Jeong Han Lee, Dr.rer.nat.
Staff Scientist and Engineer
Lawrence Berkeley National Laboratory

References:
Build an external library from source and statically link it into a support module David Bracey via Tech-talk
Re: Build an external library from source and statically link it into a support module David Bracey via Tech-talk

Navigate by Date:
Prev: Re: Build an external library from source and statically link it into a support module David Bracey via Tech-talk
Next: Fw: Build an external library from source and statically link it into a support module David Bracey via Tech-talk
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  2025  <2026
Navigate by Thread:
Prev: Re: Build an external library from source and statically link it into a support module David Bracey via Tech-talk
Next: Fw: Build an external library from source and statically link it into a support module David Bracey via Tech-talk
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  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·