s7nodave.dll is built as part of your EPICS build, right?
If so, then you should just need to set your PATH to include the directory where s2nodave.dll is located.
In your iocBoot/iocxxx/Makefile if you add this line then EPICS will build a command file to set your PATH.
TARGETS += dllPath.bat
Mark
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