Experimental Physics and Industrial Control System
|
Hi William,
lightfield may load it dynamically at runtime then (like areadetector) and so it will not show up in dependencywalker. Loading ARC_Instrument_x64.dll itself into dependencywalker may be most useful
then, one possible cause of the problem you are seeing is that ARC_Instrument_x64.dll is loading an incompatible dependent library when activated by EPICS and dependencywalker will show the dependent libraries it uses and may give some clues to this.
One difference between running
LightfieldApp.exe directly and loading the library via areadetector is that the directory containing the LightfieldApp.exe program will automatically get added as the first place to look for any DLL dependencies of
ARC_Instrument_x64.dll. Is the lightfield directory already in PATH? If not, one thing to try first is to edit your start_epics.bat so after running dllPath.bat it then does
set “PATH=%LIGHTFIELD_ROOT%;%PATH%”
so the directory that contains lightfield.exe is searched first for any DLL dependencies
Regards,
Freddie
From: William Kirstaedter <kirstaedter at fhi-berlin.mpg.de>
Sent: 12 April 2023 16:23
To: Akeroyd, Freddie (STFC,RAL,ISIS) <freddie.akeroyd at stfc.ac.uk>; Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov
Subject: Re: areadetector on windows, xml2 done, now Lightfield
Hey Freddie, I think I might need some guidance on this.
I loaded my IOCs LightfieldApp.exe and also the Princeton.Lightfield.exe (this does not load anything ?!) in dependencywalker, but none of them seems to load the ARC_...dll.
is there a better way than loading and scrolling through the list to search for my ARC.dll?
it wasnt obvious :(
thanks,
Am 28.03.2023 um 01:02 schrieb Freddie Akeroyd - STFC UKRI:
Hi,
In other situations I have seen DLL load errors caused by a dependency of the DLL in question not being found i.e. ARC_Instrument_x64.dll may be present in the right place but one of
the DLLs it depends on (and is located via the PATH environment variable) might be either not found or an old/incorrect version of this required file was installed by another program which happens to be earlier in PATH and so is picked up instead. Programs
like dependency walker https://www.dependencywalker.com/ can help locate such clashes if that is the problem
Regards,
Freddie
Hi William,
I am trying to understand why you get that missing DLL error.
Can run the camera OK using LightField as a stand-alone application without EPICS?
Do you have more than one version of LightField installed?
ADLightField does not call that DLL explicitly, it just starts LightField in this line:
https://github.com/areaDetector/ADLightField/blob/3383118260b82d95255f303d673e04d4de0123c9/lightFieldApp/src/LightField.cpp#L410
The missing DLL is ARC_Instrument_x64.dll. I have attached a screen shot showing the size and location of that file on my system. What do you see on your system?
Mark
|
- Replies:
- RE: areadetector on windows, xml2 done, now Lightfield Mark Rivers via Tech-talk
- References:
- Re: areadetector on windows, xml2 done, now Lightfield Mark Rivers via Tech-talk
- RE: areadetector on windows, xml2 done, now Lightfield Mark Rivers via Tech-talk
- Re: areadetector on windows, xml2 done, now Lightfield William Kirstaedter via Tech-talk
- RE: areadetector on windows, xml2 done, now Lightfield Mark Rivers via Tech-talk
- RE: areadetector on windows, xml2 done, now Lightfield Freddie Akeroyd - STFC UKRI via Tech-talk
- Re: areadetector on windows, xml2 done, now Lightfield William Kirstaedter via Tech-talk
- Navigate by Date:
- Prev:
Re: areadetector on windows, xml2 done, now Lightfield William Kirstaedter via Tech-talk
- Next:
RE: areadetector on windows, xml2 done, now Lightfield 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
2025
- Navigate by Thread:
- Prev:
Re: areadetector on windows, xml2 done, now Lightfield William Kirstaedter via Tech-talk
- Next:
RE: areadetector on windows, xml2 done, now Lightfield 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
2025
|
ANJ, 12 Apr 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
·
Download
·
Search
·
IRMIS
·
Talk
·
Documents
·
Links
·
Licensing
·
|