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

Subject: Re: EPICS on windows
From: "Vishnu Patel" <vishnu.patel@rediffmail.com>
To: "Mark Rivers" <rivers@cars.uchicago.edu>
Cc: techtalk <tech-talk@aps.anl.gov>
Date: 21 Jan 2018 16:58:09 -0000
Hi Mark,
   Thanks.
I am using cygwin because i would like to test s7nodave on windows for Siemens S7 communication.
s7nodave using nodave library, which is coded for linux, I am not able to compile on Windows native compiler. 

I succeed to compile base3.14.12.7 with asyn3.24 in cygwin .
Thanks

Dear All

If any one using s7nodave on cygwin for siemens PLC please help me.
I could compile s7nodave on cygwin, 
With application for PLC it get compile without any error.  But while running application getting dll error,

$ ../../bin/cygwin-x86/firsPLC.exe  st.cmd
C:/cygwin/epics/Devlop/firstPLC/bin/cygwin-x86/firsPLC.exe: error while loading shared libraries: s7nodave.dll: cannot open shared object file: No such file or directory


Or someone have compiled s7nodave on native windows compiler>


Thanks
Vishnu





From: Mark Rivers <rivers@cars.uchicago.edu>
Sent: Thu, 04 Jan 2018 10:19:33
To: Vishnu Patel <vishnu.patel@rediffmail.com>, techtalk <tech-talk@aps.anl.gov>
Subject: Re: EPICS on windows

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: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Vishnu Patel <vishnu.patel@rediffmail.com>
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 Mark Rivers
References:
Re: EPICS on windows Mark Rivers

Navigate by Date:
Prev: Re: Seq-2.2.5 compilation on windows Vishnu Patel
Next: Re: Seq-2.2.5 compilation on windows Ralph Lange
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 
Navigate by Thread:
Prev: Re: EPICS on windows Mark Rivers
Next: RE: EPICS on windows Mark Rivers
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 
ANJ, 21 Jan 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·