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  2016  2017  2018  2019  2020  2021  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: MATLAB and LabCA
From: Till Straumann via Tech-talk <tech-talk at aps.anl.gov>
To: "Larregui, Julian" <larregui1 at llnl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 21 Jun 2022 08:47:16 +0200
Hi Julian.

I just built labca for 2022a, albeit under linux-x86_64. No surprises, it all went well.

I suspect something with your MATLABDIR/MATLIB_SUBDIR is wrong. Note that MATLIB_SUBDIR is a relative
path. The build process attempts to find matlab's '.lib' files under

$(MATLABDIR)/extern/lib/$(MATLIB_SUBDIR)/

I.e., I would try

MATLIB_SUBDIR=win64\mingw64

HTH
- Till

On 6/21/22 00:11, Larregui, Julian via Tech-talk wrote:
Hello,

Currently trying to install LabCA 3.8 with MATLAB 2022a.

I've set my my paths in the Release file:

MATLABDIR=C:\EPICS_MATLAB\MATLAB\R2022a

and

MATLIB_SUBDIR=C:\EPICS_MATLAB\MATLAB\R2022a\extern\lib\win64\mingw64

When I run make I get the following error:

EPICS/epics-base/include/compiler/gcc -I/home/larregui1-linux/EPICS/epics-base/include/os/Linux -I/home/larregui1-linux/EPICS/epics-base/include              -I../../ezca -IC:\EPICS_MATLAB\MATLAB\R2022a/extern/include    -c gitstring.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE         -DMATLAB_APP    -D_X86_64_  -DUNIX  -Dlinux      -O3 -g   -Wall -Werror-implicit-function-declaration     -g  -mtune=generic      -m64 -fPIC  -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include    -I/home/larregui1-linux/EPICS/epics-base/include/compiler/gcc -I/home/larregui1-linux/EPICS/epics-base/include/os/Linux -I/home/larregui1-linux/EPICS/epics-base/include              -I../../ezca -IC:\EPICS_MATLAB\MATLAB\R2022a/extern/include    -c ../mglue.c
make[2]: *** No rule to make target '../../lib/linux-x86_64/libmx.a', needed by 'libmezcaglue.so.0'.  Stop.
make[2]: Leaving directory '/home/larregui1-linux/EPICS/support/epics-labca-master/glue/O.linux-x86_64'
/home/larregui1-linux/EPICS/epics-base/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/larregui1-linux/EPICS/support/epics-labca-master/glue'
/home/larregui1-linux/EPICS/epics-base/configure/RULES_DIRS:85: recipe for target 'glue.install' failed
make: *** [glue.install] Error 2

I wanted to know if anyone had this same issue. Is this from incorrectly configuring the Release file? Anything I can try to get around this?

I guess I can also try installing 2020b or 2020a versions of MATLAB and see if that works.

Thank you for your time,


References:
MATLAB and LabCA Larregui, Julian via Tech-talk

Navigate by Date:
Prev: Re: Re: Some Questions With RTEMS 5 in MVME2502 chengsn via Tech-talk
Next: phoebus table widget not updating its PV William Kirstaedter 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  <20222023  2024 
Navigate by Thread:
Prev: MATLAB and LabCA Larregui, Julian via Tech-talk
Next: phoebus table widget not updating its PV William Kirstaedter 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·