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  <20162017  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  <20162017  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
Dear colleagues,
many thanks for the useful and fast input on my issue.

I realise now I forgot to paste the final line in the MCA error message: the full error message being

cc1plus: error: unrecognized command line option "-std=c++11"

make: *** [O.linux-x86_64/mca.mexa64] Error 255


I modified the Makefile to look for a mca.mexa64 instead of mca.mexglx file as that would be the correct extension for the file.

In attachment I put the stdout and stderr messages

I'll have a look at the PSI protocol, it's very interesting, would it be suitable for operation with Matlab Middle Layer as well?

Cheers,
Giovanna

2016-11-18 10:52 GMT+01:00 Ebner Simon Gregor (PSI) <[email protected]>:
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




--
Giovanna Campogiani

Accelerator Physics PhD Student
Electronics Engineer

Sapienza University of Rome
INFN - National Institute of Nuclear Physics

Mobile: +39 333 33 88 799
Office: +39 06 9403 2710
Tenocode: +39 06 9403 8091

Attachment: mcaerr.log
Description: Binary data

Attachment: mcamake.log
Description: Binary data


Replies:
Re: MCA or LabCA on Linux-64bit Hinxx
References:
MCA or LabCA on Linux-64bit Giovanna Campogiani
Re: MCA or LabCA on Linux-64bit Ebner Simon Gregor (PSI)

Navigate by Date:
Prev: Re: MCA or LabCA on Linux-64bit Ebner Simon Gregor (PSI)
Next: Re: Modbus Device Support for Advantech ADAM6017, 6018 Jeremy Wykes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MCA or LabCA on Linux-64bit Ebner Simon Gregor (PSI)
Next: Re: MCA or LabCA on Linux-64bit Hinxx
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·