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  <20172018  2019  2020  2021  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: the newest areaDetector
From: Mark Rivers <[email protected]>
To: 梁雅翔 <[email protected]>
Cc: tech-talk <[email protected]>
Date: Wed, 14 Jun 2017 11:13:51 +0000
Hi,

> /usr/bin/g++ -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include  ../NDAttribute.cpp 
> ../NDAttribute.cpp:12:25: warning: epicsString.h: No such file or directory
> ../NDAttribute.cpp:14:25: warning: epicsExport.h: No such file or directory
> In file included from ../NDAttribute.cpp:16:
> ../NDAttribute.h:17:20: warning: ellLib.h: No such file or directory
> ../NDAttribute.h:18:24: warning: epicsTypes.h: No such file or directory

These errors indicate that you have not correctly defined the location of EPICS_BASE.

In the top-level areaDetector/configure directory you need to copy the EXAMPLE_RELEASE_PATHS.local to RELEASE_PATHS.local, EXAMPLE_CONFIG_SITE.local to CONFIG_SITE.local, etc.  You also need to edit these files.  This is described here:

https://github.com/areaDetector/areaDetector/blob/master/INSTALL_GUIDE.md

Mark




________________________________________
From: 梁雅翔 [[email protected]]
Sent: Wednesday, June 14, 2017 3:12 AM
To: Mark Rivers
Cc: tech-talk
Subject: the newest areaDetector

Hi Mark,
   Now I try to update my areadetector, and I downloaded the areadetector from github today.
   And I downloaded the ADCore,ADBinaries-master,ADSimDetector-R2-4,ADSupport-R1-1,ADPilatus-master.

   I met these question when I make it.
   Could you give me some advise. And I use 3.14.15.5, synapps5-8, asyn-4-31.

Regards,
Liang yx



The outout of make.
*********************************************
[root@dec1264 areaDetector-R2-6]# make
make -C /usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6 install
make[1]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6'
make -C ./configure install
make[2]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/configure'
perl /usr/epics/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
            T_A=linux-x86_64 install
make[3]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/configure/O.linux-x86_64'
perl /usr/epics/base-3.14.12.5/bin/linux-x86_64/convertRelease.pl checkRelease
make[3]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/configure/O.linux-x86_64'
make[2]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/configure'
make -C ./ADApp install
make[2]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp'
make -C ./Db install
make[3]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/Db'
perl /usr/epics/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
            T_A=linux-x86_64 install
make[4]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/Db/O.linux-x86_64'
Installing template file ../../../db/NDArrayBase.template
mkdir ../../../db
Installing template file ../../../db/ADBase.template
Installing template file ../../../db/ADPrefixes.template
Installing template file ../../../db/NDAttribute.template
Installing template file ../../../db/NDAttributeN.template
Installing template file ../../../db/NDCircularBuff.template
Installing template file ../../../db/NDColorConvert.template
Installing template file ../../../db/NDFFT.template
Installing template file ../../../db/NDFile.template
Installing template file ../../../db/NDFileHDF5.template
Installing template file ../../../db/NDFileJPEG.template
Installing template file ../../../db/NDFileMagick.template
Installing template file ../../../db/NDFileNetCDF.template
Installing template file ../../../db/NDFileNexus.template
Installing template file ../../../db/NDFileTIFF.template
Installing template file ../../../db/NDGather.template
Installing template file ../../../db/NDGatherN.template
Installing template file ../../../db/NDOverlay.template
Installing template file ../../../db/NDOverlayN.template
Installing template file ../../../db/NDPluginBase.template
Installing template file ../../../db/NDPosPlugin.template
Installing template file ../../../db/NDProcess.template
Installing template file ../../../db/NDPva.template
Installing template file ../../../db/NDROI.template
Installing template file ../../../db/NDROIStat.template
Installing template file ../../../db/NDROIStatN.template
Installing template file ../../../db/NDROIStat8.template
Installing template file ../../../db/NDScatter.template
Installing template file ../../../db/NDStats.template
Installing template file ../../../db/NDStdArrays.template
Installing template file ../../../db/NDTimeSeries.template
Installing template file ../../../db/NDTimeSeriesN.template
Installing template file ../../../db/NDTransform.template
Installing template file ../../../db/NDAttrPlotAttr.template
Installing template file ../../../db/NDAttrPlotData.template
Installing template file ../../../db/NDAttrPlot.template
make[4]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/Db/O.linux-x86_64'
make[3]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/Db'
make -C ./ADSrc install
make[3]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/ADSrc'
perl /usr/epics/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
            T_A=linux-x86_64 install
make[4]: Entering directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/ADSrc/O.linux-x86_64'
Installing dbd file ../../../dbd/ADSupport.dbd
mkdir ../../../dbd
Installing generic include file ../../../include/ADCoreVersion.h
mkdir ../../../include
Installing generic include file ../../../include/NDAttribute.h
Installing generic include file ../../../include/NDAttributeList.h
Installing generic include file ../../../include/NDArray.h
Installing generic include file ../../../include/PVAttribute.h
Installing generic include file ../../../include/paramAttribute.h
Installing generic include file ../../../include/functAttribute.h
Installing generic include file ../../../include/asynNDArrayDriver.h
Installing generic include file ../../../include/ADDriver.h

/usr/bin/g++ -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include         ../NDAttribute.cpp
../NDAttribute.cpp:12:25: warning: epicsString.h: No such file or directory
../NDAttribute.cpp:14:25: warning: epicsExport.h: No such file or directory
In file included from ../NDAttribute.cpp:16:
../NDAttribute.h:17:20: warning: ellLib.h: No such file or directory
../NDAttribute.h:18:24: warning: epicsTypes.h: No such file or directory
In file included from ../NDAttribute.cpp:16:
../NDAttribute.h:66: error: ‘epicsInt8’ does not name a type
../NDAttribute.h:67: error: ‘epicsUInt8’ does not name a type
../NDAttribute.h:68: error: ‘epicsInt16’ does not name a type
../NDAttribute.h:69: error: ‘epicsUInt16’ does not name a type
../NDAttribute.h:70: error: ‘epicsInt32’ does not name a type
../NDAttribute.h:71: error: ‘epicsUInt32’ does not name a type
../NDAttribute.h:72: error: ‘epicsFloat32’ does not name a type
../NDAttribute.h:73: error: ‘epicsFloat64’ does not name a type
../NDAttribute.h:80: error: ‘ELLNODE’ does not name a type
../NDAttribute.h:87: error: variable ‘epicsShareClass NDAttribute’ has initializer but incomplete type
../NDAttribute.h:87: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../NDAttribute.h:88: error: expected primary-expression before ‘public’
../NDAttribute.h:88: error: expected ‘}’ before ‘public’
../NDAttribute.h:88: error: expected ‘,’ or ‘;’ before ‘public’
../NDAttribute.h:92: error: expected constructor, destructor, or type conversion before ‘(’ token
../NDAttribute.h:94: error: expected class-name before ‘(’ token
../NDAttribute.h:95: error: expected initializer before ‘*’ token
../NDAttribute.h:96: error: ‘virtual’ outside class declaration
../NDAttribute.h:97: error: ‘virtual’ outside class declaration
../NDAttribute.h:98: error: ‘virtual’ outside class declaration
../NDAttribute.h:99: error: ‘virtual’ outside class declaration
../NDAttribute.h:100: error: ‘virtual’ outside class declaration
../NDAttribute.h:101: error: ‘virtual’ outside class declaration
../NDAttribute.h:102: error: ‘virtual’ outside class declaration
../NDAttribute.h:103: error: ‘virtual’ outside class declaration
../NDAttribute.h:104: error: ‘virtual’ outside class declaration
../NDAttribute.h:105: error: ‘virtual’ outside class declaration
../NDAttribute.h:106: error: ‘virtual’ outside class declaration
../NDAttribute.h:107: error: ‘virtual’ outside class declaration
../NDAttribute.h:108: error: ‘virtual’ outside class declaration
../NDAttribute.h:109: error: ‘friend’ used outside of class
../NDAttribute.h:110: error: ‘friend’ used outside of class
../NDAttribute.h:113: error: expected unqualified-id before ‘private’
../NDAttribute.h:124: error: expected declaration before ‘}’ token
../NDAttribute.h:93: warning: ‘const char* attrSourceString(NDAttrSource_t)’ declared ‘static’ but never defined
make[4]: *** [NDAttribute.o] Error 1
make[4]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/ADSrc/O.linux-x86_64'
make[3]: *** [install.linux-x86_64] Error 2
make[3]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp/ADSrc'
make[2]: *** [ADSrc.install] Error 2
make[2]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6/ADApp'
make[1]: *** [ADApp.install] Error 2
make[1]: Leaving directory `/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6'
make: *** [/usr/epics/synApps_5_8/support/areaDetector-R2-6/ADCore-R2-6.install] Error 2
[root@dec1264 areaDetector-R2-6]#


References:
the newest areaDetector 梁雅翔

Navigate by Date:
Prev: the newest areaDetector 梁雅翔
Next: global variable asub type double Miguel Bordalo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: the newest areaDetector 梁雅翔
Next: global variable asub type double Miguel Bordalo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·