EPICS Home

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  2023  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: RE: Install issues for labCA (channel access interface for matlab)
From: Freddie Akeroyd - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov>
To: Rajan Mistry - STFC UKRI <rajan.mistry at stfc.ac.uk>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 8 Aug 2024 22:11:59 +0000

Hi Raj,

 

I think the issue is caused by the build system being unable to find files. In

 

    process_begin: CreateProcess(NULL, C:/Program Files/MATLAB/R2023a /bin/mexext.bat, ...) failed.

    ../../configure/RULES:10: pipe: No such file or directory

 

It looks like there is an extra space character  in “R2023a ” so you should check    configure/RELEASE   and remove this trailing character, however make may be unable to handle the space character in “Program Files” so you might need to use the 8.3 DOS equivalent short name of   PROGRA~1  as part of this path name i.e.     

 

    MATLABDIR=C:/PROGRA~1/MATLAB/R2023a

 

 

Later on there is the error

 

    process_begin: CreateProcess(NULL, cl -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -GL -Oy- -W3 -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/msvc -I../../include/os/WIN32 -I../../include -IC:/Users/fhr83689/base-R7.0.4.1/include/compiler/msvc -IC:/Users/fhr83689/base-R7.0.4.1/include/os/WIN32 -IC:/Users/fhr83689/base-R7.0.4.1/include -c ../ezca.c, ...) failed.

    make (e=2): The system cannot find the file specified.

 

This looks to be due to make not finding the Microsoft compiler “cl”.    Before building  labca  was the epics base      startup/windows.bat    run for the command window? If not then try building labca again after running that bat file in the command window

 

Regards,

 

Freddie

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Rajan Mistry - STFC UKRI via Tech-talk
Sent: Friday, August 2, 2024 2:29 PM
To: tech-talk at aps.anl.gov
Subject: Install issues for labCA (channel access interface for matlab)

 

Hello,

 

I have a windows PC and am trying to install the channel access interface for MATLAB, known as labca:
LabCA - EPICS/Channel Access Interface for Scilab and Matlab | epics-labca (till-s.github.io)

GitHub - till-s/epics-labca: EPICS Channel-Access Interface/Wrapper for Matlab and Scilab.

 

I am relatively new to EPICs, but have successfully installed EPICS to the location:

 

C:\Users\fhr83689\base-R7.0.4.1\bin\windows-x64

 

Commands such as ‘softioc’ will start EPICS, so I am confident that I have installed EPICS correctly.

The following system and user variables paths are defined , and are saved in my PATH environment variables (both system and user):
EPICS_BASE=“C:\Users\fhr83689\base-R7.0.4.1\”

EPICS_HOST_ARCH=”windows-x64”

 

%EPICS_BASE%\bin\%EPICS_HOST_ARCH%\

%EPICS_BASE%

 

I have cloned the tag 3.8.1 from the labCA repo into my downloads folder and then ran the make command to install it. However, it is not successfully installed and I get the following error messages (pasted at the end of this post).

 

Please can someone help me figure out what the issue is and how I can successfully install labCA ?

 

Thanks,

 

Raj

 

 

 

C:\Users\fhr83689\Downloads\epics-labca>make

The system cannot find the path specified.

C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C ./configure install

make[1]: Entering directory 'C:/Users/fhr83689/Downloads/epics-labca/configure'

The system cannot find the path specified.

perl -CSD C:/Users/fhr83689/base-R7.0.4.1/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..

perl -CSD -MExtUtils::Command -e mkpath O.Common

C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C O.windows-x64 -f ../Makefile TOP=../.. \

    T_A=windows-x64 install

make[2]: Entering directory 'C:/Users/fhr83689/Downloads/epics-labca/configure/O.windows-x64'

The system cannot find the path specified.

perl -CSD C:/Users/fhr83689/base-R7.0.4.1/bin/windows-x64/convertRelease.pl checkRelease

process_begin: CreateProcess(NULL, C:/Program Files/MATLAB/R2023a /bin/mexext.bat, ...) failed.

../../configure/RULES:10: pipe: No such file or directory

echo MEXEXT=.dll >>MATLAB_CONFIG_INCLUDE

make[2]: Leaving directory 'C:/Users/fhr83689/Downloads/epics-labca/configure/O.windows-x64'

make[1]: Leaving directory 'C:/Users/fhr83689/Downloads/epics-labca/configure'

C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C ./ezca install

make[1]: Entering directory 'C:/Users/fhr83689/Downloads/epics-labca/ezca'

The system cannot find the path specified.

perl -CSD C:/Users/fhr83689/base-R7.0.4.1/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..

perl -CSD -MExtUtils::Command -e mkpath O.Common

C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C O.windows-x64 -f ../Makefile TOP=../.. \

    T_A=windows-x64 install

make[2]: Entering directory 'C:/Users/fhr83689/Downloads/epics-labca/ezca/O.windows-x64'

The system cannot find the path specified.

perl -CSD C:/Users/fhr83689/base-R7.0.4.1/bin/windows-x64/mkmf.pl  -m ezca.d -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/msvc -I../../include/os/WIN32 -I../../include          -IC:/Users/fhr83689/base-R7.0.4.1/include/compiler/msvc -IC:/Users/fhr83689/base-R7.0.4.1/include/os/WIN32 -IC:/Users/fhr83689/base-R7.0.4.1/include                 ezca.obj ../ezca.c

The system cannot find the path specified.

cl               -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE    -Ox -GL -Oy-   -W3        -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/msvc -I../../include/os/WIN32 -I../../include          -IC:/Users/fhr83689/base-R7.0.4.1/include/compiler/msvc -IC:/Users/fhr83689/base-R7.0.4.1/include/os/WIN32 -IC:/Users/fhr83689/base-R7.0.4.1/include                 -c ../ezca.c

process_begin: CreateProcess(NULL, cl -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -GL -Oy- -W3 -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/msvc -I../../include/os/WIN32 -I../../include -IC:/Users/fhr83689/base-R7.0.4.1/include/compiler/msvc -IC:/Users/fhr83689/base-R7.0.4.1/include/os/WIN32 -IC:/Users/fhr83689/base-R7.0.4.1/include -c ../ezca.c, ...) failed.

make (e=2): The system cannot find the file specified.

make[2]: *** [C:/Users/fhr83689/base-R7.0.4.1/configure/RULES_BUILD:241: ezca.obj] Error 2

make[2]: Leaving directory 'C:/Users/fhr83689/Downloads/epics-labca/ezca/O.windows-x64'

make[1]: *** [C:/Users/fhr83689/base-R7.0.4.1/configure/RULES_ARCHS:58: install.windows-x64] Error 2

make[1]: Leaving directory 'C:/Users/fhr83689/Downloads/epics-labca/ezca'

make: *** [C:/Users/fhr83689/base-R7.0.4.1/configure/RULES_DIRS:85: ezca.install] Error 2

 

 

Rajan Mistry

Laser Scientist (CALTA)

Central Laser Facility

R109 1.26

STFC Rutherford Appleton Laboratory

Harwell Campus, Didcot, OX11 0QX, UK

 

rajan.mistry at stfc.ac.uk

Tel. +44 1235 394308

 

UKRI_STFC

 


References:
Install issues for labCA (channel access interface for matlab) Rajan Mistry - STFC UKRI via Tech-talk

Navigate by Date:
Prev: RE: Managing connections with asyn Mark Rivers via Tech-talk
Next: Re: Managing connections with asyn Marco Filho 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  <20242025 
Navigate by Thread:
Prev: Install issues for labCA (channel access interface for matlab) Rajan Mistry - STFC UKRI via Tech-talk
Next: Motor Drivers for Applied Motion Products (Ethernet/IP)? Feister, Scott 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  <20242025