Hi Alper,
What version of EPICS base are you using? ntndarray.h is part of the "EPICS V4" or pvAccess code. In versions of EPICS base prior to 7.0 the EPICS V4 code is a separate package that you need to build if you want to use it. This is where it is located on my system:
corvette:/usr/local>find epics/epicsV4/EPICS-CPP-4.6.0 -name ntndarray.h
epics/epicsV4/EPICS-CPP-4.6.0/normativeTypesCPP/include/pv/ntndarray.h
On base 7.0 and higher it is part of base itself:
corvette:/usr/local>find epics-devel/base-7.0.1/ -name ntndarray.h
epics-devel/base-7.0.1/include/pv/ntndarray.h
If you want to use the pvAccess plugin or driver in areaDetector you need to set WITH_PVA=YES in areaDetector/configure/CONFIG_SITE* files. If you are using base 3.x then you also need to define the locations of the PVA libraries in RELEASE_PATHS.local* and RELEASE_LIBS.local* like this:
# PVA modules
# For versions prior to EPICS base 7.0 use this
PVCOMMON=$(PVA)/pvCommonCPP
PVACCESS=$(PVA)/pvAccessCPP
PVDATA=$(PVA)/pvDataCPP
PVDATABASE=$(PVA)/pvDatabaseCPP
NORMATIVETYPES=$(PVA)/normativeTypesCPP
If you don't want to use the pvAccess plugin or driver then set WITH_PVA=NO in the CONFIG_SITE* files and it will not try to use them.
This is explained in the installation guide:
https://github.com/areaDetector/areaDetector/blob/master/INSTALL_GUIDE.md
Let me know if you have more questions.
Mark
________________________________
From: [email protected] <[email protected]> on behalf of Alper Kinaci <[email protected]>
Sent: Thursday, March 1, 2018 6:06 PM
To: [email protected]
Cc: Sumit Kewalramani
Subject: ntndArrayConverter.h issue while ADCore compilation
Dear All,
I am compiling ADCore from areaDetector 3-2 but I hit an error in compiling ntndArrayConverter.cpp. Please see below:
../ntndArrayConverter.h:2:26: fatal error: pv/ntndarray.h: No such file or directory
The header file ntndArrayConverter.h looks for pv/ntndarray.h but I couldn't locate this pv folder.
I appreciate any help. Thank you.
Best,
Alper
Alper Kinaci, PhD
Sr Computational Specialist
Research Computing Services
Information Technology
Northwestern University
[email protected]
847.467.7615
- References:
- ntndArrayConverter.h issue while ADCore compilation Alper Kinaci
- Navigate by Date:
- Prev:
RE: striptool - was: Re: Idea for new Display Manager Andrew C. Starritt
- Next:
RE: Asyn not automatically reconnecting Daykin, Evan
- 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
2023
2024
- Navigate by Thread:
- Prev:
ntndArrayConverter.h issue while ADCore compilation Alper Kinaci
- Next:
Communicate between XML-RPC system and EPICS Channel Access? Russell Kackley
- 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
2023
2024
|