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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: MCA or LabCA on Linux-64bit |
From: | Giovanna Campogiani <[email protected]> |
To: | "Ebner Simon Gregor (PSI)" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Fri, 18 Nov 2016 11:55:55 +0100 |
Hi Giovanna
This is not directly related to your question, however it might solve your base issue to have Channel Access in Matlab.
At PSI we use and (only) support this Channel Access package for Matlab: https://github.com/channelaccess/ca_matlab
No compilation no installation … you only need a recent Matlab.
Best
Simon
> On 18 Nov 2016, at 09:48, Giovanna Campogiani <giovanna.campogiani@uniroma1.it > wrote:
>
> Dear colleagues,
> I am trying to make the configuration files for MCA or LabCA on a Scientific Linux 64bit machine and I am get the errors at the bottom of the email.
> While searching for an answer I learnt probably the problem is within the fact that both MCA and LabCA are for a 32 bit pc. How to make MCA and LabCA compatible for a 64 bit version of MATLAB?
> Is this the real issue or am I missing something else?
>
> Many thanks for your support,
> best regards,
> Giovanna
>
> -------------------------------------------------
> Errors reports
>
> when trying to make MCA
>
> /local/MATLAB/R2016b/bin/mex" -v -I/opt/codac-4.1/epics/base/include -I/opt/codac-4.1/epics/base/ include/os/Linux -DEPICS_DLL_NO -L/opt/codac-4.1/epics/base/ lib/linux-x86_64 -ldbStaticHost -lCom -lca mca.cpp MCAError.cpp Channel.cpp -O O.linux-x86_64/mca.mexglx
> Verbose mode is on.
>
> when trying to make LabCA
> make -C ./configure install
> make[1]: Entering directory `/home/codac-dev/MATLAB/labca_3_5_0/configure'
> make -C O.linux-x86_64 -f ../Makefile TOP=../.. T_A=linux-x86_64 install
> make[2]: Entering directory `/home/codac-dev/MATLAB/labca_3_5_0/configure/O.linux-x86_ 64'
> perl /opt/codac-4.1/epics/base/bin/linux-x86_64/convertRelease.pl checkRelease
> make[2]: Leaving directory `/home/codac-dev/MATLAB/labca_3_5_0/configure/O.linux-x86_ 64'
> make[1]: Leaving directory `/home/codac-dev/MATLAB/labca_3_5_0/configure'
> make -C ./ezca install
> make[1]: Entering directory `/home/codac-dev/MATLAB/labca_3_5_0/ezca'
> make -C O.linux-x86_64 -f ../Makefile TOP=../.. T_A=linux-x86_64 install
> make[2]: Entering directory `/home/codac-dev/MATLAB/labca_3_5_0/ezca/O.linux-x86_64'
>
> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -O3 -g -Wall -g -m64 -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../include/os/Linux -I../../include ../ezca.c
> make[2]: Leaving directory `/home/codac-dev/MATLAB/labca_3_5_0/ezca/O.linux-x86_64'
> make[1]: Leaving directory `/home/codac-dev/MATLAB/labca_3_5_0/ezca'
>
>
> --
> Giovanna Campogiani
>
> Accelerator Physics PhD Student
> Electronics Engineer
>
> Sapienza University of Rome
> INFN - National Institute of Nuclear Physics
>
> e-mail: giovanna.campogiani@uniroma1.it
Attachment:
mcaerr.log
Description: Binary data
Attachment:
mcamake.log
Description: Binary data