Experimental Physics and Industrial Control System
|
Dear Till,
Thank you. I found my mistake in a RELEASE file. MATLABDIR was wrong.
Best,
Jong
From: Straumann Till <till.straumann at psi.ch>
Sent: Monday, August 8, 2022 11:50 PM
To: Jong Woo Kim <Jong.Woo.Kim at asu.edu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: labCA 3.7.2 building failed
Hello Jong Woo.
Are you sure you have set MATLABDIR in your RELEASE file correctly?
I notice that besides the compiler not finding 'mex.h' the following
error is printed:
> make[2]: /usr/local/MATLAB/2020b//bin/mexext: Command not found
Here at PSI I define
MATLABDIR = /afs/psi.ch/sys/psi.x86_64_el7/Programming/matlab/2020b/
and experience no errors.
Also:
ls /afs/psi.ch/sys/psi.x86_64_el7/Programming/matlab/2020b/bin/mexext
/afs/psi.ch/sys/psi.x86_64_el7/Programming/matlab/2020b/bin/mexext
and
ls
/afs/psi.ch/sys/psi.x86_64_el7/Programming/matlab/2020b/extern/include/mex.h
/afs/psi.ch/sys/psi.x86_64_el7/Programming/matlab/2020b/extern/include/mex.h
you seem to have a problem either with your MATLABDIR definition or your
matlab installation (which includes the possibility that you lack
permission to read these files).
HTH
- Till
On 08.08.22 19:56, Jong Woo Kim via Tech-talk wrote:
> Hello,
>
> When I built labCA, I encountered an error as below.
>
> version
> labca: 3.7.2
> matlab: 2020b
>
> I found that mex.h file is in <matlab-top>/extern/include/
>
> Do you have any idea why it says 'No such a file or directory'?
>
> [jkim@localhost labca_3_7_2]$ make
> fatal: Not a git repository (or any of the parent directories): .git
> make -C ./configure install
> make[1]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/configure'
> make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
> T_A=linux-x86_64 install
> make[2]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/configure/O.linux-x86_64'
> perl -CSD /usr/local/EPICS_NEW/base-3.15.6/bin/linux-x86_64/convertRelease.pl checkRelease
> make[2]: /usr/local/MATLAB/2020b//bin/mexext: Command not found
> echo MEXEXT=.mexa64 >>MATLAB_CONFIG_INCLUDE
> make[2]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/configure/O.linux-x86_64'
> make[1]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/configure'
> make -C ./ezca install
> make[1]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca'
> make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
> T_A=linux-x86_64 install
> make[2]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca/O.linux-x86_64'
> make[2]: Nothing to be done for `install'.
> make[2]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca/O.linux-x86_64'
> make[1]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca'
> make -C ./glue install
> make[1]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/glue'
> make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
> T_A=linux-x86_64 install
> make[2]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/glue/O.linux-x86_64'
> /usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -DMATLAB_APP -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/usr/local/EPICS_NEW/base-3.15.6/include/compiler/gcc
-I/usr/local/EPICS_NEW/base-3.15.6/include/os/Linux -I/usr/local/EPICS_NEW/base-3.15.6/include -I../../ezca -I/usr/local/MATLAB/2020b//extern/include -c ../ini.cc
> ../ini.cc:7:17: fatal error: mex.h: No such file or directory
> #include <mex.h>
> ^
> compilation terminated.
> make[2]: *** [ini.o] Error 1
> make[2]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/glue/O.linux-x86_64'
> make[1]: *** [install.linux-x86_64] Error 2
> make[1]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/glue'
>
> Best,
> Jong Woo
>
|
- References:
- labCA 3.7.2 building failed Jong Woo Kim via Tech-talk
- Re: labCA 3.7.2 building failed Straumann Till via Tech-talk
- Navigate by Date:
- Prev:
Industry Pack support for TIP850 under RTEMS Sintschuk, Michael via Tech-talk
- Next:
Re: Industry Pack support for TIP850 under RTEMS Andrew Johnson 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
- Navigate by Thread:
- Prev:
Re: labCA 3.7.2 building failed Straumann Till via Tech-talk
- Next:
Industry Pack support for TIP850 under RTEMS Sintschuk, Michael 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
|
ANJ, 14 Sep 2022 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|