Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Problem building areaDetector with base7.0.1-rc1
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Date: Tue, 5 Dec 2017 00:39:18 +0000

I am now working through building synApps and areaDetector with 7.0.01-rc1.

 

I get this error when building areaDetector on linux-x86-64:

 

make[5]: Entering directory `/home/epics/devel-base7/areaDetector-3-1/ADCore/ADApp/ntndArrayConverterSrc/O.linux-x86_64'

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include       -I/corvette/usr/local/epics-devel/base-7.0.1/include/compiler/gcc -I/corvette/usr/local/epics-devel/base-7.0.1/include/os/Linux -I/corvette/usr/local/epics-devel/base-7.0.1/include      -I/corvette/home/epics/devel-base7/asyn-4-32/include  -I/corvette/home/epics/devel-base7/areaDetector-3-1/ADSupport/include/os/Linux -I/corvette/home/epics/devel-base7/areaDetector-3-1/ADSupport/include   -I/corvette/home/epics/devel-base7/areaDetector-3-1/ADCore/include                    -c ../ntndArrayConverter.cpp

../ntndArrayConverter.cpp: In member function 'void NTNDArrayConverter::fromUndefinedAttribute(epics::pvData::PVStructurePtr)':

../ntndArrayConverter.cpp:497:54: error: passing 'const PVFieldPtr {aka const std::tr1::shared_ptr<epics::pvData::PVField>}' as 'this' argument of 'void std::tr1::__shared_ptr<_Tp, _Lp>::reset() [with _Tp = epics::pvData::PVField; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]' discards qualifiers [-fpermissive]

     dest->getSubField<PVUnion>("value")->get().reset();

 

Any idea what needs to be changed to get this to compile?

 

Thanks,

Mark

 


Replies:
Re: Problem building areaDetector with base7.0.1-rc1 Andrew Johnson

Navigate by Date:
Prev: RE: Problem building base-7.0.1 with Windows on a Linux file system Mark Rivers
Next: Re: Problem building areaDetector with base7.0.1-rc1 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: RE: Problem building base-7.0.1 with Windows on a Linux file system Mark Rivers
Next: Re: Problem building areaDetector with base7.0.1-rc1 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 05 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·