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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: compile on Windows XP with MinGW
From: Mark Rivers <[email protected]>
To: Zunbeltz Izaola <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 23 Oct 2014 19:31:30 +0000

Sent from my iPhone

> On Oct 22, 2014, at 1:17 PM, Zunbeltz Izaola <[email protected]> wrote:
> 
> Hi,
> 
> I am trying to compile on windows.
> I downloaded the MinGW bundle and set the EPICS_HOST_ARCH to WIN32-X86-mingw.
> 
> When I first run make on base-3.14.12.4
> I get and error that direct.h could not be found.
> I fix this by setting C_INCLUDE_PATH to /c/MinGW/include where there is a
> direct.h file.
> But then I got the following error
> 
> 
> g++ -c             -D_MINGW     -O3   -Wall      -m32    -D_DLL   -MMD -I.
> -I../
> O.Common -I. -I../../../src/libCom/osi/os/WIN32
> -I../../../src/libCom/osi/os/pos
> ix -I../../../src/libCom/osi/os/default -I..
> -I../../../src/libCom/bucketLib -I.
> ./../../src/libCom/ring -I../../../src/libCom/calc
> -I../../../src/libCom/cvtFast
> -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates
> -I../../../src/
> libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env
> -I../../../sr
> c/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList
> -I../.
> ./../src/libCom/gpHash -I../../../src/libCom/iocsh
> -I../../../src/libCom/logClie
> nt -I../../../src/libCom/macLib -I../../../src/libCom/misc
> -I../../../src/libCom
> /osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer
> -I../../../src/lib
> Com/tsDefs -I../../../include/os/WIN32 -I../../../include       
> ../../../src/li
> bCom/fdmgr/fdmgr.cpp
> In file included from ../../../src/libCom/osi/epicsTime.h:19,
>                from ../../../src/libCom/fdmgr/fdManager.h:27,
>                from ../../../src/libCom/fdmgr/fdmgr.cpp:29:
> ../../../src/libCom/osi/os/WIN32/osdTime.h:21: error: redefinition of
> `struct ti
> mespec'
> /usr/include/sys/types.h:76: error: previous definition of `struct timespec'
> In file included from ../../../src/libCom/osi/os/WIN32/osdSock.h:23,
>                from ../../../src/libCom/osi/osiSock.h:21,
>                from ../../../src/libCom/fdmgr/fdManager.h:28,
>                from ../../../src/libCom/fdmgr/fdmgr.cpp:29:
> /usr/lib/gcc/i686-pc-msys/3.4.4/../../../../include/w32api/winsock2.h:103:2:
> war
> ning: #warning "fd_set and associated macros have been defined in sys/types.
> This may cause runtime problems with W32 sockets"
> make[3]: *** [fdmgr.o] Error 1
> make[3]: Leaving directory `/c/base-3.14.12.4/src/libCom/O.WIN32-x86-mingw'
> make[2]: *** [install.WIN32-x86-mingw] Error 2
> make[2]: Leaving directory `/c/base-3.14.12.4/src/libCom'
> make[1]: *** [libCom.install] Error 2
> make[1]: Leaving directory `/c/base-3.14.12.4/src'
> make: *** [src.install] Error 2
> 
> Any idea what is going wrong?
> 
> Is there other preferred way to compile EPICS on windows XP 32bit?
> 
> Thanks in advance for you help,
> 
> Zunbeltz

You can use the free version of Visual Studio. I don't know why mingw is not working.

Mark

Replies:
Re: compile on Windows XP with MinGW zunbeltz
Re: compile on Windows XP with MinGW Jani Hakala
References:
compile on Windows XP with MinGW Zunbeltz Izaola

Navigate by Date:
Prev: RE: Focus deadlock Mark Rivers
Next: Re: Discussion about licenses, copyrights, business, and source code J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: compile on Windows XP with MinGW Zunbeltz Izaola
Next: Re: compile on Windows XP with MinGW zunbeltz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·