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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Using opencv with areaDetector
From: William Smith via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 08 Aug 2023 12:16:56 +0200

Dear Tech-Talk, 

I am trying to use opencv with areaDetector. To start, I have been trying to build with the ADPluginEdge plugin

I am using ubuntu 20.04
I have pulled AD 3-12-1
I have installed opencv using the package manager. sudo apt install libopencv-dev
I have checked that the commonDriverMakefile in ADCore contains ifdef ADPLUGINBAR....
I have checked that in CONFIG_SITE.local.linux-x86_64 the following is set

WITH_OPENCV = YES

OPENCV_EXTERNAL = YES


I had to add the include directory because opencv 4.2.0 includes are under /usr/includes/opencv4

OPENCV = /usr

OPENCV_LIB = $(OPENCV)/lib

OPENCV_INCLUDE = -I$(OPENCV)/include/opencv4



ADSupport, ADCore and ADPluginEdge build without errors. Then when I try to build an example IOC using ADSimDetector I get the following error:


No rule to make target '../../../lib/linux-x86_64/libopencv_core.a', needed by 'simDetectorApp'


It feels like it isn't looking in the EXTERNAL location like I tell it to. Have I missed something? Does anyone have a suggestion?

Thanks, 

Will


Replies:
Re: Using opencv with areaDetector Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: netDev "channels" record type problem Владимир Сергейчик via Tech-talk
Next: Re: Using opencv with areaDetector 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  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: problem reading data from PLC S7NODAVE Maren Purves via Tech-talk
Next: Re: Using opencv with areaDetector 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  2020  2021  2022  <20232024 
ANJ, 08 Aug 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·