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.p
l 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