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  2023  2024  2025  <2026 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  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: Window build error - can find script. [SEC=OFFICIAL]
From: "Hu, Yong via Tech-talk" <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, Tech-Talk <tech-talk at aps.anl.gov>, "STARRITT, Andrew" <andrews at ansto.gov.au>
Date: Mon, 27 Jul 2026 13:59:25 +0000

This appears to be a classic Windows path separator issue, where backslashes (\) and forward slashes (/) get mixed up.

Using a native Windows version of GNU Make might be the cleanest solution. Alternatively, you can override the TOOLS variable by adding the following line to adSpectrum/CONFIG_SITE (or adSpectrum/CONFIG_SITE.local): TOOLS = $(EPICS_BASE_HOST_BIN)

Yong

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
Date: Monday, July 27, 2026 at 9:12 AM
To: Tech-Talk <tech-talk at aps.anl.gov>, STARRITT, Andrew <andrews at ansto.gov.au>
Subject: Re: Window build error - can find script. [SEC=OFFICIAL]

Hi Andrew,

Does this error happen only when building ADSpectrum, and not when building ADCore, etc.?

I don't know what ADSpectrum is.  Where is it located?

Mark


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of STARRITT, Andrew via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, July 27, 2026 12:22 AM
To: Tech-Talk <tech-talk at aps.anl.gov>
Subject: Window build error - can find script. [SEC=OFFICIAL]
 
Hi all,

One of my colleagues is having a windows build issue building areaDetector-R3-13/adSpectrum using base-7.0.8 on windows-x64 architecture.
He is getting same result with 7.0.10

The error:

C:\controls_sw\devel\areaDetector-R3-13\adSpectrum>make
make: Entering directory `C:/controls_sw/devel/areaDetector-R3-13/adSpectrum'
make -C ./configure install
make[1]: Entering directory `C:/controls_sw/devel/areaDetector-R3-13/adSpectrum/configure'
perl -CSD C:/controls_sw/devel/areaDetector-R3-13/adSpectrum/configure/c:/controls_sw/devel/epics-base-R7.0.8/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..
Can't open perl script "C:/controls_sw/devel/areaDetector-R3-13/adSpectrum/configure/c:/controls_sw/devel/epics-base-R7.0.8/bin/windows-x64/makeMakefile.pl": Invalid argument
make[1]: *** [O.windows-x64] Error 22

Changing TOOLS = $(abspath $(EPICS_BASE_HOST_BIN)) to TOOLS = $(EPICS_BASE_HOST_BIN) in
epics base CONFIG_BASE fixes the issue when compiling under windows.

Is there a better way to get this to work?

Thanks in advance

Andrew Starritt
Australian Synchrotron


 


Replies:
RE: Window build error - can find script. [SEC=OFFICIAL] Freddie Akeroyd - STFC UKRI via Tech-talk
References:
Window build error - can find script. [SEC=OFFICIAL] STARRITT, Andrew via Tech-talk
Re: Window build error - can find script. [SEC=OFFICIAL] Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Window build error - can find script. [SEC=OFFICIAL] Mark Rivers via Tech-talk
Next: RE: Window build error - can find script. [SEC=OFFICIAL] Freddie Akeroyd - STFC UKRI 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  2025  <2026
Navigate by Thread:
Prev: Re: Window build error - can find script. [SEC=OFFICIAL] Mark Rivers via Tech-talk
Next: RE: Window build error - can find script. [SEC=OFFICIAL] Freddie Akeroyd - STFC UKRI 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  2025  <2026
ANJ, 27 Jul 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·