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: Re: Problem during compilation of IOC with custom ADPlugin
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Marcin Lukaszewski <marcin.lukaszewski at e9controls.com>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 4 Mar 2020 16:19:25 +0000
There is already a plugin that uses OpenCV.  You may be able to use that directly, or use it as a starting point.


https://github.com/areaDetector/ADCompVision


Mark





________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Marcin Lukaszewski via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, March 4, 2020 9:59 AM
To: tech-talk at aps.anl.gov
Subject: Problem during compilation of IOC with custom ADPlugin


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 Wlodek, Jakub via Tech-talk
References:
Problem during compilation of IOC with custom ADPlugin Marcin Lukaszewski via Tech-talk

Navigate by Date:
Prev: Problem during compilation of IOC with custom ADPlugin Marcin Lukaszewski via Tech-talk
Next: Re: Problem during compilation of IOC with custom ADPlugin Wlodek, Jakub 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: Problem during compilation of IOC with custom ADPlugin Marcin Lukaszewski via Tech-talk
Next: Re: Problem during compilation of IOC with custom ADPlugin Wlodek, Jakub 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 ·