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  2014  2015  2016  2017  <20182019  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  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS on windows
From: Mark Rivers <[email protected]>
To: Vishnu Patel <[email protected]>, techtalk <[email protected]>
Date: Thu, 4 Jan 2018 04:49:29 +0000
Hi Vishnu,


How did you define EPICS_BASE in seq-2.2.5/configure/RELEASE?  It looks like you may have used a relative path, because your gcc command has this:

-I../../../../../base-3.16.1/include/compiler/gcc


You should use an absolute path to EPICS_BASE.


Note that not much testing is done on cygwin any more.  I would suggest that you consider using the Visual Studio Community Edition which is free, and which is well tested.


Mark



________________________________
From: [email protected] <[email protected]> on behalf of Vishnu Patel <[email protected]>
Sent: Wednesday, January 3, 2018 10:24 PM
To: techtalk
Subject: EPICS on windows

Hi,
   I want to use EPICS on Windows 7 -64bit.
I installed Cygwin, the epics base-3.16.1 is compiled with Cygwin.

Next i tried to compile sequencer, seq2.2.5, but i am not able to compile it. It gives an error.

--------------------------------------------
user3@user3-PC /cygdrive/c/epics/modules/seq-2.2.5
$ make
make -C ./configure install
make[1]: Entering directory '/cygdrive/c/epics/modules/seq-2.2.5/configure'
make -C O.cygwin-x86_64 -f ../Makefile TOP=../.. \
    T_A=cygwin-x86_64 install
make[2]: Entering directory '/cygdrive/c/epics/modules/seq-2.2.5/configure/O.cygwin-x86_64'
perl -CSD /cygdrive/c/epics/base-3.16.1/bin/cygwin-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory '/cygdrive/c/epics/modules/seq-2.2.5/configure/O.cygwin-x86_64'
make[1]: Leaving directory '/cygdrive/c/epics/modules/seq-2.2.5/configure'
make -C ./src install
make[1]: Entering directory '/cygdrive/c/epics/modules/seq-2.2.5/src'
make -C ./pv install
make[2]: Entering directory '/cygdrive/c/epics/modules/seq-2.2.5/src/pv'
make -C O.cygwin-x86_64 -f ../Makefile TOP=../../.. \
    T_A=cygwin-x86_64 install
make[3]: Entering directory '/cygdrive/c/epics/modules/seq-2.2.5/src/pv/O.cygwin-x86_64'
gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3 -g   -Wall      -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/cygwin32 -I../../../include -I../../../../../base-3.16.1/include/compiler/gcc -I../../../../../base-3.16.1/include/os/cygwin32 -I../../../../../base-3.16.1/include         -MM -MF pv.d -MT pv.obj ../pv.c
../pv.c:5:10: fatal error: cadef.h: No such file or directory
 #include "cadef.h"
          ^~~~~~~~~
compilation terminated.
gcc  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32     -O3 -g   -Wall      -m64   -DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/cygwin32 -I../../../include -I../../../../../base-3.16.1/include/compiler/gcc -I../../../../../base-3.16.1/include/os/cygwin32 -I../../../../../base-3.16.1/include        -o pv.obj -c ../pv.c
../pv.c:5:10: fatal error: cadef.h: No such file or directory
 #include "cadef.h"
          ^~~~~~~~~
compilation terminated.
make[3]: *** [../../../../../base-3.16.1/configure/RULES_BUILD:231: pv.obj] Error 1
make[3]: Leaving directory '/cygdrive/c/epics/modules/seq-2.2.5/src/pv/O.cygwin-x86_64'
make[2]: *** [../../../../base-3.16.1/configure/RULES_ARCHS:58: install.cygwin-x86_64] Error 2
make[2]: Leaving directory '/cygdrive/c/epics/modules/seq-2.2.5/src/pv'
make[1]: *** [../../../base-3.16.1/configure/RULES_DIRS:84: pv.install] Error 2
make[1]: Leaving directory '/cygdrive/c/epics/modules/seq-2.2.5/src'
make: *** [../../base-3.16.1/configure/RULES_DIRS:84: src.install] Error 2

user3@user3-PC /cygdrive/c/epics/modules/seq-2.2.5
----------------------------



Thanks
Vishnu

Replies:
Re: EPICS on windows Vishnu Patel
References:
EPICS on windows Vishnu Patel

Navigate by Date:
Prev: EPICS on windows Vishnu Patel
Next: void return value in RPC renato sanhueza
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS on windows Vishnu Patel
Next: Re: EPICS on windows Vishnu Patel
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  <20182019  2020  2021  2022  2023  2024