It sounds like you need to just comment out these lines in ADAndor/andorSupport/Makefile as I have done below:
else ifeq (linux-x86_64, $(findstring linux-x86_64, $(T_A)))
#LIB_INSTALLS_Linux += ../os/linux-x86_64/libandor.so.2
#LIB_INSTALLS_Linux += ../os/linux-x86_64/libandor.so
Then these files will not be installed into ADAndor/lib/linux-x86_64
Mark
-----Original Message-----
From: Zenon Szalata [mailto:[email protected]]
Sent: Wednesday, December 03, 2014 12:59 PM
To: Mark Rivers; [email protected]
Subject: Re: Area Detector and Andor
Hi Mark,
I need to put a bit more effort into understanding what is going on when
I use AD 2.1.
This is the contents of:
zms@esaanal2 $ ll ADAndor/lib/linux-x86_64/
total 5537
drwxr-xr-x 2 mdunning ar 2048 Nov 22 10:33 ./
drwxr-xr-x 3 mdunning ar 2048 Nov 7 20:41 ../
-r--r--r-- 1 mdunning ar 2645945 Nov 7 20:41 libandor.so
-r--r--r-- 1 mdunning ar 2645945 Nov 7 20:41 libandor.so.2
-r--r--r-- 1 mdunning ar 213304 Nov 22 10:33 libandorCCD.a
-r-xr-xr-x 1 mdunning ar 159262 Nov 22 10:33 libandorCCD.so*
Before building the Andor IOC, I remove both libandor.so and
libandor.so.2. This works for the case of AD 1.8 and 1.9.1.
Anyway, I will dig a bit deeper into the code to see why the AD 2.1 is
not working for us.
BTW, AD 2.1 works fine with our Prosilica cameras.
Thanks,
Zen
On 12/03/14 10:40, Mark Rivers wrote:
> Hi Zen,
>
>> One more problem remains. This fix works with AD 1.8 and 1.9.1 but not
>> with 2.1.
>> The IOC built with AD 2.1, still exhibits the same problem, all seems to
>> work except for getting the image data. I wonder if there is another
>> level if mismatch between AD 2.1 and our SDK?
> I did not change the Andor linux-x86_64 libraries between 1.8 and 2.1. They are all 2.84.
>
> I did upgrade to 2.98 for the upcoming 2.2 release.
>
> Commenting out the install in the andorSupport directory is fine. Alternatively I think you can add a line to your Makefile that tells it where to find the libandor.so file, probably andor_DIR=/usr/local or something.
>
> I cannot explain why it would not work for you with 2.1 since I did not update the library, and in any event you should not be installing the library that comes with ADAndor anyway.
>
> What is the contents of ADAndor/lib/linux-x86_64?
>
> Mark
>
>
> -----Original Message-----
> From: Zenon Szalata [mailto:[email protected]]
> Sent: Wednesday, December 03, 2014 12:20 PM
> To: Mark Rivers; [email protected]
> Subject: Area Detector and Andor
>
> Hi Mark,
> I returned to our Andor problem and now I mostly understand what is
> going wrong.
> It turns out that the libandor.so library which comes with the Area
> Detector package does not work with our version of the Andor SDK, which
> is version 2.94. Building Area Detector package puts libandor.so in
> lib/linux-86_64, the IOC when built, links to the library in Area
> Detector, and when started, loads this library and the IOC almost works
> with the exception that no image data are received from the camera.
> If I remove the libandor.so library from the Area Detector, build my IOC
> it links to the libandor.so library in the locally installed SDK
> package. When I start the IOC it loads the SDK library and everything
> works; the image data are received from the camera.
>
> Presently we have AD version 1.8, 1.9.1, and 2.1 installed. I have
> modified a Makefile in the andorSupport directory not to install the
> andor libraries. I am not sure if this is the correct way to deal with
> our problem.
>
> One more problem remains. This fix works with AD 1.8 and 1.9.1 but not
> with 2.1.
> The IOC built with AD 2.1, still exhibits the same problem, all seems to
> work except for getting the image data. I wonder if there is another
> level if mismatch between AD 2.1 and our SDK?
> Thanks,
> Zen
- Replies:
- Re: Area Detector and Andor Zenon Szalata
- References:
- Area Detector and Andor Zenon Szalata
- RE: Area Detector and Andor Mark Rivers
- Re: Area Detector and Andor Zenon Szalata
- Navigate by Date:
- Prev:
RE: FW: EPICS 3.15.1 Mark Rivers
- Next:
Re: Area Detector and Andor Zenon Szalata
- 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: Area Detector and Andor Zenon Szalata
- Next:
Re: Area Detector and Andor Zenon Szalata
- 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
|