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: Re: Using opencv with areaDetector
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: William Smith <william.smith at helmholtz-berlin.de>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 8 Aug 2023 11:31:21 +0000
Send the complete link line that fails.

Mark


Sent from my iPhone

On Aug 8, 2023, at 5:17 AM, William Smith via Tech-talk <tech-talk at aps.anl.gov> wrote:



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


References:
Using opencv with areaDetector William Smith via Tech-talk

Navigate by Date:
Prev: Using opencv with areaDetector William Smith via Tech-talk
Next: Re: Using opencv with areaDetector William Smith 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: Using opencv with areaDetector William Smith via Tech-talk
Next: Re: Using opencv with areaDetector William Smith 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 ·