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  <20202021  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  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problem during compilation of IOC with custom ADPlugin
From: Marcin Lukaszewski via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 4 Mar 2020 15:59:22 +0000

Hi all,

I'm working on custom ADPlugin with OpenCV.

I use ADPluginBar as a reference, following instructions from https://github.com/areaDetector/ADPluginBar

I made required changes to the areaDetector installation and both ADPluginBar and my plugin compiles successfully with areaDetector.

However, when I try to compile IOC with ADPluginBar, I get undefined reference errors, like:

/usr/local/epics/support/areaDetector/areaDetector-R3-8/ADPluginBar/lib/linux-x86_64/libNDPluginBar.so: undefined reference to `cv::Mat::deallocate()

I assume that in my IOC I need to link only ADPluginBar and there is no need to directly link external libraries (OpenCV and zbar). Is that correct?

What I'm missing?

Has anyone have an example of IOC with ADPluginBar or custom ADPlugin which uses external library, like OpenCV?

My environment:

base: 7.0.3.1

asyn: 4-38

areaDetector: R3-8

OpenCV: 2.4.13.6 (installed from the source, to the default system location)

 

I appreciate any suggestion or feedback.

Thanks

Marcin

 


Replies:
Re: Problem during compilation of IOC with custom ADPlugin Mark Rivers via Tech-talk

Navigate by Date:
Prev: AW: pco Camera USB and IEEE interface Sintschuk, Michael via Tech-talk
Next: Re: Problem during compilation of IOC with custom ADPlugin Mark Rivers 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: areaDetector ADViewers R1-6-1 released Mark Rivers via Tech-talk
Next: Re: Problem during compilation of IOC with custom ADPlugin Mark Rivers 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  <20202021  2022  2023  2024 
ANJ, 04 Mar 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·