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  <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: "Vishnu Patel" <[email protected]>
To: "Mark Rivers" <[email protected]>
Cc: techtalk <[email protected]>
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 <[email protected]>
Sent: Thu, 04 Jan 2018 10:19:33
To: Vishnu Patel <[email protected]>, techtalk <[email protected]>
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: [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 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  2020  2021  2022  2023  2024 
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  2020  2021  2022  2023  2024 
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 ·