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  <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: compile on Windows XP with MinGW
From: "Zunbeltz Izaola" <[email protected]>
To: [email protected]
Date: Wed, 22 Oct 2014 13:17:34 +0200
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



Replies:
Re: compile on Windows XP with MinGW Mark Rivers

Navigate by Date:
Prev: Re: Problem with CSS archive engine 龙巍
Next: Re: Interface Labview and EPICS Carsten Winkler
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: Re: Interface Labview and EPICS Dale L. Brewe
Next: Re: compile on Windows XP with MinGW Mark Rivers
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