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: Error:no matching function for call to asynNDArrayDriver while compiling areaDetector
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "shenzb at ihep.ac.cn" <shenzb at ihep.ac.cn>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 28 May 2020 19:11:04 +0000
> The version of ADCore is R3-9

> ... and asyn is 4.26.

That is the problem.  You are using the latest version of ADCore but a 5 year old version of asyn.

The ADCore release notes say the following:

ADCore R3-8:

Note: This release requires asyn R4-37 because it uses new asynInt64 support.

ADCore R3-7:

Note: This release requires asyn R4-36 because it uses new features of asynPortDriver.

ADCore R2-6:
This release requires asyn R4-31 or later because it uses new features in asynPortDriver.

You need to update to at least asyn R4-37.

Mark

________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of shenzb--- via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, May 28, 2020 12:26 PM
To: tech-talk
Subject: Error:no matching function for call to asynNDArrayDriver while compiling areaDetector

Hello everyone,

I meet an error while compiling areaDetector/ADCore and ADSupport.

/usr/local/src/epics/modules/synApps_5_8/support/asyn-4-26/include/asynPortDriver.h:146:24: note:   candidate expects 4 arguments, 2 provided
../asynNDArrayDriver.cpp:114:40: error: no matching function for call to 'asynNDArrayDriver::setStringParam(int&, std::string&)'
     setStringParam(NDFilePath, filePath);

It did not occur before. The version of ADCore is R3-9, and ADSupport R1-9. EPICS base is R3.15.1 and asyn is 4.26.

Could someone please help me with this problem? Thanks a lot.

________________________________
Best regards,
--
Zhibang Shen

References:
Error:no matching function for call to asynNDArrayDriver while compiling areaDetector shenzb--- via Tech-talk

Navigate by Date:
Prev: Re: Mirror Control Room Jemian, Pete R. via Tech-talk
Next: Announcing 2 New EPICS Releases: 3.15.8 and 7.0.4 Johnson, Andrew N. 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: Error:no matching function for call to asynNDArrayDriver while compiling areaDetector shenzb--- via Tech-talk
Next: Announcing 2 New EPICS Releases: 3.15.8 and 7.0.4 Johnson, Andrew N. 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, 28 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·