Hi John,
> 1) what is the proper way to get a clean areaDetector distribution, e.g. R3-10 with the appropriate modules? The > areaDetector github repository has many modules and I don't know that I am using it correctly.
Have you looked at the areaDetector installation guide? https://areadetector.github.io/master/install_guide.html
There are 2 ways to do it.
This will clone all the detectors:
git clone --recursive https://github.com/areaDetector/areaDetector.git
This will clone just what you need for ADDexela
git clone https://github.com/areaDetector/areaDetector.git
<https://github.com/areaDetector/areaDetector.git>cd areaDetector
git clone https://github.com/areaDetector/ADSupport.git
git clone https://github.com/areaDetector/ADCore.git
git clone https://github.com/areaDetector/ADDexela.git
The first method will give you the version of each submodule at the time that a specific tag of areaDetector and ADCore were released. That will usually not correspond to a tag like ADDexela R2-10, because ADCore and each detector are released independently. So you need to go into each repository and either checkout a specific tag, or checkout the master branch.
For example
cd areaDetector
git checkout R3-10
cd ADCore
git checkout R3-10
cd ../ADSupport
git checkout R1-9
git ../ADDexela
git checkout master
or
git checkout R2-3
Mark
________________________________
From: John Dobbins <john.dobbins at cornell.edu>
Sent: Tuesday, November 3, 2020 7:20 AM
To: Mark Rivers; Akeroyd, Freddie (STFC,RAL,ISIS)
Cc: tech-talk at aps.anl.gov
Subject: Re: ADDexala build error
All,
At this point I have two questions.
1) what is the proper way to get a clean areaDetector distribution, e.g. R3-10 with the appropriate modules? The areaDetector github repository has many modules and I don't know that I am using it correctly.
2) After grabbing areaDetector R3-10 I get the error:
cl -EHsc -GR -DBUILDING_ADCore_API -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -GL -Oy- -W3 -w44355 -w44344 -w44251 -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL -TP -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IC:\EPICS\support/asyn-R4-41/include -IC:\EPICS\support/areaDetector-R3-10/ADSupport/include -IC:\EPICS\support/areaDetector-R3-10/ADCore/include -IC:\EPICS\base-3.15.8/include/compiler/msvc -IC:\EPICS\base-3.15.8/include/os/WIN32 -IC:\EPICS\base-3.15.8/include -c ../asynNDArrayDriver.cpp
asynNDArrayDriver.cpp
c:\epics\support\areadetector-r3-10\adcore\adapp\adsrc\asynndarraydriver.cpp(20): fatal error C1083: Cannot open include file: 'libxml/parser.h': No such file or directory
gmake[5]: *** [C:\EPICS\base-3.15.8/configure/RULES_BUILD:240: asynNDArrayDriver.obj] Error 2
gmake[5]: Leaving directory 'C:/EPICS/support/areaDetector-R3-10/ADCore/ADApp/ADSrc/O.windows-x64'
gmake[4]: *** [C:\EPICS\base-3.15.8/configure/RULES_ARCHS:58: install.windows-x64] Error 2
gmake[4]: Leaving directory 'C:/EPICS/support/areaDetector-R3-10/ADCore/ADApp/ADSrc'
gmake[3]: *** [C:\EPICS\base-3.15.8/configure/RULES_DIRS:85: ADSrc.install] Error 2
gmake[3]: Leaving directory 'C:/EPICS/support/areaDetector-R3-10/ADCore/ADApp'
gmake[2]: *** [C:\EPICS\base-3.15.8/configure/RULES_DIRS:85: ADApp.install] Error 2
gmake[2]: Leaving directory 'C:/EPICS/support/areaDetector-R3-10/ADCore'
gmake[1]: *** [C:\EPICS\base-3.15.8/configure/RULES_DIRS:85: C:\EPICS\support/areaDetector-R3-10/ADCore.install] Error 2
gmake[1]: Leaving directory 'C:/EPICS/support/areaDetector-R3-10'
gmake: *** [C:\EPICS\base-3.15.8/configure/RULES_DIRS:85: C:\EPICS\support/areaDetector-R3-10.install] Error 2
John
________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Tuesday, November 3, 2020 8:11 AM
To: John Dobbins <john.dobbins at cornell.edu>; Akeroyd, Freddie (STFC,RAL,ISIS) <freddie.akeroyd at stfc.ac.uk>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: ADDexala build error
Hi John,
Freddie is correct, you need at least ADCore R3-10 where deviceIsReachable was added to the ADDriver base class.
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Akeroyd, Freddie (STFC, RAL, ISIS) via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, November 2, 2020 5:55 PM
To: John Dobbins; tech-talk at aps.anl.gov
Subject: RE: ADDexala build error
Hi John,
‘deviceIsReachable’ should be inherited from the base class, so I think master branch of ADDexela just requires a more recent areaDetector version than the one you are currently using.
Regards,
Freddie
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of John Dobbins via Tech-talk
Sent: 02 November 2020 23:23
To: tech-talk at aps.anl.gov
Subject: ADDexala build error
Attempting to build ADDexala (master), areaDetector R3-9, EPICS Base 3.15.8, Windows 10, Visual Studio Community Edition 2017, I get this error.
cl -EHsc -GR -D__X64 -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -GL -Oy- -W3 -w44355 -w44344 -w44251 -DH5_BUILT_AS_DYNAMIC_LIB -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL -TP -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IC:\EPICS\support/asyn-R4-39/include -IC:\EPICS\support/areaDetector-R3-9/ADSupport/include/os/WIN32 -IC:\EPICS\support/areaDetector-R3-9/ADSupport/include -IC:\EPICS\support/areaDetector-R3-9/ADCore/include -IC:\EPICS\base-3.15.8/include/compiler/msvc -IC:\EPICS\base-3.15.8/include/os/WIN32 -IC:\EPICS\base-3.15.8/include -c ../Dexela.cpp
Dexela.cpp
c:\epics\support\areadetector-r3-9\addexela\include\dexelaexception.h(23): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'DexelaException'
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\vcruntime_exception.h(44): note: see declaration of 'std::exception'
c:\epics\support\areadetector-r3-9\addexela\include\dexelaexception.h(22): note: see declaration of 'DexelaException'
c:\epics\support\areadetector-r3-9\addexela\dexelaapp\src\dexela.cpp(227): error C2039: 'deviceIsReachable': is not a member of 'Dexela'
c:\epics\support\areadetector-r3-9\addexela\dexelaapp\src\dexela.h(53): note: see declaration of 'Dexela'
gmake[3]: *** [C:\EPICS\base-3.15.8/configure/RULES_BUILD:240: Dexela.obj] Error 2
I've exhausted myself getting this far today. Any help appreciated.
Thanks,
John Dobbins
Research Support Specialist
Cornell High Energy Synchrotron Source
Cornell University
www.chess.cornell.edu<http://www.chess.cornell.edu<http://www.chess.cornell.edu<http://www.chess.cornell.edu>>
This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.
- References:
- ADDexala build error John Dobbins via Tech-talk
- RE: ADDexala build error Akeroyd, Freddie (STFC, RAL, ISIS) via Tech-talk
- Re: ADDexala build error Mark Rivers via Tech-talk
- Re: ADDexala build error John Dobbins via Tech-talk
- Navigate by Date:
- Prev:
Re: ADDexala build error John Dobbins via Tech-talk
- Next:
Re: LabView-EPICS Integration using SoftIoc Dawood Awny Dawood Alnajjar 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
2023
2024
- Navigate by Thread:
- Prev:
Re: ADDexala build error John Dobbins via Tech-talk
- Next:
RE: ADDexala build error Mark Rivers 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
2023
2024
|