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

Subject: Compile StreamDevice with PCRE on windows
From: "Neidherr, Dennis Dr. via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 29 Apr 2025 09:32:11 +0000
Dear all,

I just tried to compile StreamDevice on windows with the PCRE package active. Without this package everything works fine. But I don't get PCRE working.

So what did I do:
I downloaded PCRE (pre-compiled) at Sourceforge as described here (https://urldefense.us/v3/__https://paulscherrerinstitute.github.io/StreamDevice/setup.html__;!!G_uCfscf7eWS!ZfKA6yWdFPFiCYl7MTE8FME6NieocxQMXHjO3TZUaz5u4e8C3576MhzCkeSlf_dEIJFVlZg4VWcZ7YjAKclB-u7s$ ). Then I installed the executable next to my other modules. So it looks like:

...\EPICS\modules\asyn-R4-43
...\EPICS\modules\StreamDevice-2.8.26
....\EPICS\modules\PCRE

Then I modified my RELEASE.local file in StreamDevice and added the entry for PCRE (between ASYN and Base):
PCRE=...\EPICS\modules\PCRE (I just deleted the first part of the path here for this text)

But when I try to compile it now, I get the following error:
make[2]: *** No rule to make target '../../lib/windows-x64/pcre.lib', needed by 'stream.dll'.  Stop.
If I interpret it correctly then he searches for the file "pcre.lib" in "...\EPICS\modules\StreamDevice-2.8.26\lib\windows-x64".
But this is for sure wrong.

Do I have to add another path somewhere else before compiling?

I think I will soon switch to linux anyway, so this problem here will solve by itself, but nevertheless I would like to know what I am doing wrong.

Thanks and Greetings
Dennis

Replies:
RE: Compile StreamDevice with PCRE on windows Freddie Akeroyd - STFC UKRI via Tech-talk

Navigate by Date:
Prev: Re: EPICS build problem Federico Galdenzi via Tech-talk
Next: RE: Compile StreamDevice with PCRE on windows 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
Navigate by Thread:
Prev: RE: Unable to mind .lib files after successfully compiling EPICS using mingw64 Freddie Akeroyd - STFC UKRI via Tech-talk
Next: RE: Compile StreamDevice with PCRE on windows 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
ANJ, 29 Apr 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·