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  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: LabCA for MATLAB Installation error
From: Giovanni Franzini via Tech-talk <tech-talk at aps.anl.gov>
To: <tech-talk at aps.anl.gov>
Date: Wed, 14 Jun 2023 14:35:04 +0200

Hello,

 

I would like to have some help.

I am trying to install LabCA 3.8.1 with MATLAB 2023 in Windows10.

 

I have set my path in the RELEASE as

BASE_SUBDIR=/base/

EPICS_BASE=/c/msys64/home/Gio-Ufficio/base-7.0.7

 

MATLABDIR = /c/MATlink

(MATlink is a symbolic link to the installation directory: C:\Program Files\MATLAB\R2023a)

 

MATLIB_SUBDIR = win64/mingw64

(I also tried win64/microsoft)

 

When I run make (through MSYS2 MINGW64 ) I get the following error:

 

$ make

make: git: No such file or directory

make -C ./configure install

make[1]: Entering directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/configure'

make -C O.windows-x64-mingw -f ../Makefile TOP=../.. \

    T_A=windows-x64-mingw install

make[2]: Entering directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/configure/O.windows-x64-mingw'

perl -CSD /c/msys64/home/Gio-Ufficio/base-7.0.7/bin/windows-x64-mingw/convertRelease.pl checkRelease

echo MEXEXT=.mexw64 >>MATLAB_CONFIG_INCLUDE

make[2]: Leaving directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/configure/O.windows-x64-mingw'

make[1]: Leaving directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/configure'

make -C ./ezca install

make[1]: Entering directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/ezca'

make -C O.windows-x64-mingw -f ../Makefile TOP=../.. \

    T_A=windows-x64-mingw install

make[2]: Entering directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/ezca/O.windows-x64-mingw'

make[2]: Nothing to be done for 'install'.

make[2]: Leaving directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/ezca/O.windows-x64-mingw'

make[1]: Leaving directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/ezca'

make -C ./glue install

make[1]: Entering directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/glue'

make -C O.windows-x64-mingw -f ../Makefile TOP=../.. \

    T_A=windows-x64-mingw install

make[2]: Entering directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/glue/O.windows-x64-mingw'

g++          -DMATLAB_APP    -D_MINGW -D__USE_MINGW_ANSI_STDIO      -O3   -Wall      -m64    -DEPICS_BUILD_DLL -DEPICS_CALL_DLL    -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/WIN32 -I../../include    -I/c/msys64/home/Gio-Ufficio/base-7.0.7/include/compiler/gcc -I/c/msys64/home/Gio-Ufficio/base-7.0.7/include/os/WIN32 -I/c/msys64/home/Gio-Ufficio/base-7.0.7/include             -I../../ezca -I/c/MATlink/extern/include    -o ini.obj -c ../ini.cc

../ini.cc:22:13: error: conflicting declaration 'typedef int pid_t'

   22 | typedef int pid_t;

      |             ^~~~~

In file included from C:/msys64/mingw64/include/pthread.h:64,

                 from C:/msys64/mingw64/include/c++/13.1.0/x86_64-w64-mingw32/bits/gthr-default.h:35,

                 from C:/msys64/mingw64/include/c++/13.1.0/x86_64-w64-mingw32/bits/gthr.h:148,

                 from C:/msys64/mingw64/include/c++/13.1.0/ext/atomicity.h:35,

                 from C:/msys64/mingw64/include/c++/13.1.0/bits/ios_base.h:39,

                 from C:/msys64/mingw64/include/c++/13.1.0/ios:44,

                 from C:/msys64/mingw64/include/c++/13.1.0/ostream:40,

                 from C:/msys64/home/Gio-Ufficio/base-7.0.7/include/epicsTime.h:32,

                 from C:/msys64/home/Gio-Ufficio/base-7.0.7/include/db_access.h:21,

                 from C:/msys64/home/Gio-Ufficio/base-7.0.7/include/cadef.h:39,

                 from ../ini.cc:8:

C:/msys64/mingw64/include/sys/types.h:68:17: note: previous declaration as 'typedef _pid_t pid_t'

   68 | typedef _pid_t  pid_t;

      |                 ^~~~~

../ini.cc:24:16: warning: 'int _getpid()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]

   24 | extern "C" int _getpid();

      |                ^~~~~~~

make[2]: *** [/c/msys64/home/Gio-Ufficio/base-7.0.7/configure/RULES_BUILD:263: ini.obj] Error 1

make[2]: Leaving directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/glue/O.windows-x64-mingw'

make[1]: *** [/c/msys64/home/Gio-Ufficio/base-7.0.7/configure/RULES_ARCHS:58: install.windows-x64-mingw] Error 2

make[1]: Leaving directory '/home/Gio-Ufficio/epics-labca-labca_3_8_1/glue'

make: *** [/c/msys64/home/Gio-Ufficio/base-7.0.7/configure/RULES_DIRS:85: glue.install] Error 2

 

 

Any idea on what is the problem?

Thank you

Giovanni


Replies:
Re: LabCA for MATLAB Installation error Straumann Till Sascha via Tech-talk

Navigate by Date:
Prev: caget from win failed when xspress3 lynn via Tech-talk
Next: Re: C++ std problem Mark Rivers 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  <20232024 
Navigate by Thread:
Prev: Re: caget from win failed when xspress3 Yin, Zhijian via Tech-talk
Next: Re: LabCA for MATLAB Installation error Straumann Till Sascha 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  <20232024 
ANJ, 15 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·