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: labCA 3.7.2 building failed
From: Jong Woo Kim via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 8 Aug 2022 17:56:05 +0000
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

Replies:
Re: labCA 3.7.2 building failed Straumann Till via Tech-talk

Navigate by Date:
Prev: Re: Asynchronous record processing confusion Michael Davidsaver via Tech-talk
Next: Re: labCA 3.7.2 building failed Straumann Till 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: Re: Asynchronous record processing confusion Michael Davidsaver via Tech-talk
Next: Re: labCA 3.7.2 building failed Straumann Till 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 ·