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

Subject: Windows: Problem building EPICS base, using MSYS2 & mingw
From: Luka Krmpotic via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Thu, 9 Sep 2021 14:54:27 +0200 (CEST)
Hello,

Following instructions here:
https://docs.epics-controls.org/projects/how-tos/en/latest/getting-started/installation-windows-msys2.html

in order to build EPICS base on Windows, using MSYS2 (x64) & mingw (x64).
Build failed looking for <direct.h>

The problem was that compiler being used was
/usr/bin/gcc.exe
instead of
/mingw64/bin/gcc.exe

I solved the problem by prepending /mingw64/bin: to $PATH in my ~/.bashrc,
which wasn't part of the $PATH in the default install.

```
[[ $PATH != *"/mingw64/bin"* ]] && PATH=/mingw64/bin:${PATH}
```

Best,
Luka


Replies:
Re: Windows: Problem building EPICS base, using MSYS2 & mingw Ralph Lange via Tech-talk
Re: Windows: Problem building EPICS base, using MSYS2 & mingw Luka Krmpotic via Tech-talk

Navigate by Date:
Prev: Re: Cannot build StreamDevice on Windows 64bit Ralph Lange via Tech-talk
Next: RE: Cannot build StreamDevice on Windows 64bit 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Cannot build StreamDevice on Windows 64bit Heinz Junkes via Tech-talk
Next: Re: Windows: Problem building EPICS base, using MSYS2 & mingw Ralph Lange 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  <20212022  2023  2024 
ANJ, 10 Sep 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·